Document.adoptNode()
-
Adopt node from an external document.
Document.append()
-
Inserts a set of Node objects or strings after the last child of the document.
Document.ariaNotify()
-
Specifies that a given string of text should be announced by a screen reader.
Document.browsingTopics()
-
Returns a promise that fulfills with an array of objects representing the top topics for the user, one from each of the last three epochs. By default, the method also causes the browser to record the current page visit as observed by the caller, so the page's hostname can later be used in topics calculation. See the Topics API for more details.
Document.captureEvents()
-
See Window.captureEvents.
Document.caretPositionFromPoint()
-
Returns a CaretPosition object containing the DOM node containing the caret, and caret's character offset within that node.
Document.caretRangeFromPoint()
-
Gets a Range object for the document fragment under the specified coordinates.
Document.createAttribute()
-
Creates a new Attr object and returns it.
Document.createAttributeNS()
-
Creates a new attribute node in a given namespace and returns it.
Document.createCDATASection()
-
Creates a new CDATA node and returns it.
Document.createComment()
-
Creates a new comment node and returns it.
Document.createDocumentFragment()
-
Creates a new document fragment.
Document.createElement()
-
Creates a new element with the given tag name.
Document.createElementNS()
-
Creates a new element with the given tag name and namespace URI.
Document.createEvent()
-
Creates an event object.
Document.createNodeIterator()
-
Creates a NodeIterator object.
Document.createProcessingInstruction()
-
Creates a new ProcessingInstruction object.
Document.createRange()
-
Creates a Range object.
Document.createTextNode()
-
Creates a text node.
Document.createTouch()
-
Creates a Touch object.
Document.createTouchList()
-
Creates a TouchList object.
Document.createTreeWalker()
-
Creates a TreeWalker object.
Document.elementFromPoint()
-
Returns the topmost element at the specified coordinates.
Document.elementsFromPoint()
-
Returns an array of all elements at the specified coordinates.
Document.enableStyleSheetsForSet()
-
Enables the style sheets for the specified style sheet set.
Document.exitFullscreen()
-
Stops document's fullscreen element from being displayed fullscreen.
Document.exitPictureInPicture()
-
Remove the video from the floating picture-in-picture window back to its original container.
Document.exitPointerLock()
-
Release the pointer lock.
Document.getAnimations()
-
Returns an array of all Animation objects currently in effect, whose target elements are descendants of the document.
Document.getBoxQuads()
-
Returns a list of DOMQuad objects representing the CSS fragments of the node.
Document.getElementById()
-
Returns an object reference to the identified element.
Document.getElementsByClassName()
-
Returns a list of elements with the given class name.
Document.getElementsByTagName()
-
Returns a list of elements with the given tag name.
Document.getElementsByTagNameNS()
-
Returns a list of elements with the given tag name and namespace.
Document.getSelection()
-
Returns a Selection object representing the range of text selected by the user, or the current position of the caret.
Document.hasPrivateToken()
-
Returns a promise that fulfills with a boolean indicating whether the browser has a private state token stored from a particular issuer.
Document.hasRedemptionRecord()
-
Returns a promise that fulfills with a boolean indicating whether the browser has a redemption record originating from a particular issuer.
Document.hasStorageAccess()
-
Returns a Promise that resolves with a boolean value indicating whether the document has access to unpartitioned cookies.
Document.hasUnpartitionedCookieAccess()
-
New name for Document.hasStorageAccess().
Document.importNode()
-
Returns a clone of a node from an external document.
Document.moveBefore()
-
Moves a given Node inside the Document DOM node as a direct child, before a given reference node, without removing and then inserting the node.
Document.mozSetImageElement()
-
Allows you to change the element being used as the background image for a specified element ID.
Document.prepend()
-
Inserts a set of Node objects or strings before the first child of the document.
Document.querySelector()
-
Returns the first Element node within the document, in document order, that matches the specified selectors.
Document.querySelectorAll()
-
Returns a list of all the Element nodes within the document that match the specified selectors.
Document.releaseCapture()
-
Releases the current mouse capture if it's on an element in this document.
Document.releaseEvents()
-
See Window.releaseEvents().
Document.replaceChildren()
-
Replaces the existing children of a document with a specified new set of children.
Document.requestStorageAccess()
-
Allows a document loaded in a third-party context (i.e., embedded in an <iframe>) to request access to unpartitioned cookies, in cases where user agents by default block access to unpartitioned cookies by sites loaded in a third-party context to improve privacy.
Document.requestStorageAccessFor()
-
Allows top-level sites to request third-party cookie access on behalf of embedded content originating from another site in the same related website set.
Document.startViewTransition()
-
Starts a new view transition and returns a ViewTransition object to represent it.