Node.compareDocumentPosition()
Compares the relative position of two nodes to each other in the DOM tree.
View Transitions (cross-document)
Provides a mechanism for easily creating animated transitions between different DOM states, while also updating the DOM contents in a single step. This API is specific to cross-document transitions.
document.currentScript
`document.currentScript` returns the `<script>` element whose script is currently being processed.
document.evaluate & XPath
Allow nodes in an XML/HTML document to be traversed using XPath expressions.
Document.execCommand()
Allows running commands to manipulate the contents of an editable region in a document switched to designMode
Document Policy
A mechanism that allows developers to set certain rules and policies for a given site. The rules can change default browser behaviour, block certain features or set limits on resource usage. Document Policy is useful both for security and performance, and is similar to [Permissions Policy](/permissions-policy).
document.scrollingElement
`document.scrollingElement` refers to the element that scrolls the document.
document.head
Convenience property for accessing the `<head>` element
Document Object Model Range
A contiguous range of content in a Document, DocumentFragment or Attr
document.elementFromPoint()
Given coordinates for a point relative to the viewport, returns the element that a click event would be dispatched at if the user were to click the point (in other words, the element that hit-testing would find).
document api
documentfragment api
documenttimeline api
documenttype api
documenttype api: name
document api: all
document api: anchors
document api: append
document api: applets
document api: bgcolor
document api: body
document api: children
document api: clear
document api: close
document api: cookie
document api: dir
document api: doctype
document api: domain
document api: embeds
document api: evaluate
document api: fgcolor
document api: fonts
document api: forms
document api: hasfocus
document api: head
document api: hidden
document api: images
document api: links
document api: open
document api: plugins
document api: prepend
document api: scripts
document api: title
document api: url
document api: write
document api: writeln
50 results found.