Skip to content

Commit

Permalink
Add DOM - core, events, ranges, tree walker etc (#2007)
Browse files Browse the repository at this point in the history
Co-authored-by: Daniel D. Beck <[email protected]>
  • Loading branch information
autonome and ddbeck authored Nov 4, 2024
1 parent 457b333 commit 5d1238e
Show file tree
Hide file tree
Showing 8 changed files with 1,946 additions and 0 deletions.
276 changes: 276 additions & 0 deletions features/dom.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,276 @@
name: DOM
description: The DOM (Document Object Model) API represents HTML and XML documents as trees of nodes. You can use the API to inspect and modify the structure and content of a document.
spec: https://dom.spec.whatwg.org/
status:
compute_from: api.Document
compat_features:
- api.Attr
- api.Attr.localName
- api.Attr.name
- api.Attr.namespaceURI
- api.Attr.ownerElement
- api.Attr.prefix
- api.Attr.value
- api.CDATASection
- api.CharacterData
- api.CharacterData.after
- api.CharacterData.appendData
- api.CharacterData.before
- api.CharacterData.data
- api.CharacterData.deleteData
- api.CharacterData.insertData
- api.CharacterData.length
- api.CharacterData.nextElementSibling
- api.CharacterData.previousElementSibling
- api.CharacterData.remove
- api.CharacterData.replaceData
- api.CharacterData.replaceWith
- api.CharacterData.substringData
- api.Comment
- api.Comment.Comment
- api.DOMImplementation
- api.DOMImplementation.createDocument
- api.DOMImplementation.createDocumentType
- api.DOMImplementation.createHTMLDocument
- api.DOMStringList
- api.DOMStringList.contains
- api.DOMStringList.item
- api.DOMStringList.length
- api.DOMTokenList
- api.DOMTokenList.@@iterator
- api.DOMTokenList.add
- api.DOMTokenList.add.multiple_parameters
- api.DOMTokenList.contains
- api.DOMTokenList.entries
- api.DOMTokenList.forEach
- api.DOMTokenList.item
- api.DOMTokenList.keys
- api.DOMTokenList.length
- api.DOMTokenList.remove
- api.DOMTokenList.remove.multiple_parameters
- api.DOMTokenList.remove_duplicates
- api.DOMTokenList.replace
- api.DOMTokenList.replace.boolean_value
- api.DOMTokenList.supports
- api.DOMTokenList.toString
- api.DOMTokenList.toggle
- api.DOMTokenList.toggle.force_parameter
- api.DOMTokenList.trim_whitespace
- api.DOMTokenList.value
- api.DOMTokenList.values
- api.Document
- api.Document.Document
- api.Document.DOMContentLoaded_event
- api.Document.URL
- api.Document.activeElement
- api.Document.adoptNode
- api.Document.append
- api.Document.body
- api.Document.characterSet
- api.Document.childElementCount
- api.Document.children
- api.Document.close
- api.Document.compatMode
- api.Document.contentType
- api.Document.createAttribute
- api.Document.createAttributeNS
- api.Document.createCDATASection
- api.Document.createComment
- api.Document.createDocumentFragment
- api.Document.createElement
- api.Document.createElementNS
- api.Document.createNodeIterator
- api.Document.createProcessingInstruction
- api.Document.createTextNode
- api.Document.createTreeWalker
- api.Document.createTreeWalker.whatToShow_filter_parameters_optional
- api.Document.currentScript
- api.Document.defaultView
- api.Document.dir
- api.Document.doctype
- api.Document.documentElement
- api.Document.documentURI
- api.Document.embeds
- api.Document.firstElementChild
- api.Document.forms
- api.Document.getElementsByName
- api.Document.getElementById
- api.Document.getElementsByClassName
- api.Document.getElementsByTagName
- api.Document.getElementsByTagNameNS
- api.Document.hasFocus
- api.Document.head
- api.Document.hidden
- api.Document.images
- api.Document.implementation
- api.Document.importNode
- api.Document.lastElementChild
- api.Document.lastModified
- api.Document.links
- api.Document.open
- api.Document.plugins
- api.Document.prepend
- api.Document.querySelector
- api.Document.querySelectorAll
- api.Document.readyState
- api.Document.readystatechange_event
- api.Document.referrer
- api.Document.replaceChildren
- api.Document.scripts
- api.Document.title
- api.Document.visibilityState
- api.Document.visibilitychange_event
- api.DocumentFragment
- api.DocumentFragment.DocumentFragment
- api.DocumentFragment.append
- api.DocumentFragment.childElementCount
- api.DocumentFragment.children
- api.DocumentFragment.firstElementChild
- api.DocumentFragment.getElementById
- api.DocumentFragment.lastElementChild
- api.DocumentFragment.prepend
- api.DocumentFragment.querySelector
- api.DocumentFragment.querySelectorAll
- api.DocumentFragment.replaceChildren
- api.DocumentType
- api.DocumentType.after
- api.DocumentType.before
- api.DocumentType.name
- api.DocumentType.publicId
- api.DocumentType.remove
- api.DocumentType.replaceWith
- api.DocumentType.systemId
- api.Element
- api.Element.after
- api.Element.append
- api.Element.attributes
- api.Element.outerHTML
- api.Element.before
- api.Element.childElementCount
- api.Element.children
- api.Element.classList
- api.Element.className
- api.Element.closest
- api.Element.firstElementChild
- api.Element.getAttribute
- api.Element.getAttributeNS
- api.Element.getAttributeNames
- api.Element.getAttributeNode
- api.Element.getAttributeNodeNS
- api.Element.getElementsByClassName
- api.Element.getElementsByTagName
- api.Element.getElementsByTagName.all_elements_selector
- api.Element.getElementsByTagNameNS
- api.Element.getElementsByTagNameNS.all_elements_selector
- api.Element.hasAttribute
- api.Element.hasAttributeNS
- api.Element.hasAttributes
- api.Element.id
- api.Element.innerHTML
- api.Element.insertAdjacentElement
- api.Element.insertAdjacentHTML
- api.Element.insertAdjacentText
- api.Element.lastElementChild
- api.Element.localName
- api.Element.matches
- api.Element.namespaceURI
- api.Element.nextElementSibling
- api.Element.prefix
- api.Element.prepend
- api.Element.previousElementSibling
- api.Element.querySelector
- api.Element.querySelectorAll
- api.Element.remove
- api.Element.removeAttribute
- api.Element.removeAttributeNS
- api.Element.removeAttributeNode
- api.Element.replaceChildren
- api.Element.replaceWith
- api.Element.setAttribute
- api.Element.setAttributeNS
- api.Element.setAttributeNode
- api.Element.setAttributeNodeNS
- api.Element.tagName
- api.Element.toggleAttribute
- api.HTMLCollection
- api.HTMLCollection.item
- api.HTMLCollection.length
- api.HTMLCollection.namedItem
- api.HTMLDocument
- api.HTMLElement
- api.HTMLElement.dir
- api.HTMLElement.hidden
- api.HTMLElement.innerText
- api.HTMLElement.outerText
- api.NamedNodeMap
- api.NamedNodeMap.getNamedItem
- api.NamedNodeMap.getNamedItemNS
- api.NamedNodeMap.item
- api.NamedNodeMap.length
- api.NamedNodeMap.removeNamedItem
- api.NamedNodeMap.removeNamedItemNS
- api.NamedNodeMap.setNamedItem
- api.NamedNodeMap.setNamedItemNS
- api.Node
- api.Node.appendChild
- api.Node.baseURI
- api.Node.childNodes
- api.Node.cloneNode
- api.Node.compareDocumentPosition
- api.Node.contains
- api.Node.firstChild
- api.Node.hasChildNodes
- api.Node.insertBefore
- api.Node.isDefaultNamespace
- api.Node.isEqualNode
- api.Node.isSameNode
- api.Node.lastChild
- api.Node.lookupNamespaceURI
- api.Node.lookupPrefix
- api.Node.nextSibling
- api.Node.nodeName
- api.Node.nodeType
- api.Node.nodeValue
- api.Node.normalize
- api.Node.ownerDocument
- api.Node.parentElement
- api.Node.parentNode
- api.Node.previousSibling
- api.Node.removeChild
- api.Node.replaceChild
- api.Node.textContent
- api.NodeIterator
- api.NodeIterator.filter
- api.NodeIterator.nextNode
- api.NodeIterator.pointerBeforeReferenceNode
- api.NodeIterator.previousNode
- api.NodeIterator.referenceNode
- api.NodeIterator.root
- api.NodeIterator.whatToShow
- api.NodeList
- api.NodeList.@@iterator
- api.NodeList.entries
- api.NodeList.forEach
- api.NodeList.item
- api.NodeList.keys
- api.NodeList.length
- api.NodeList.values
- api.ProcessingInstruction
- api.ProcessingInstruction.target
- api.Text
- api.Text.Text
- api.Text.splitText
- api.Text.wholeText
- api.TreeWalker
- api.TreeWalker.currentNode
- api.TreeWalker.filter
- api.TreeWalker.firstChild
- api.TreeWalker.lastChild
- api.TreeWalker.nextNode
- api.TreeWalker.nextSibling
- api.TreeWalker.parentNode
- api.TreeWalker.previousNode
- api.TreeWalker.previousSibling
- api.TreeWalker.root
- api.TreeWalker.whatToShow
- api.XMLDocument
Loading

0 comments on commit 5d1238e

Please sign in to comment.