Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add DOM - core, events, ranges, tree walker etc #2007

Merged
merged 29 commits into from
Nov 4, 2024
Merged
Show file tree
Hide file tree
Changes from 27 commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
27df0c7
add ranges
autonome Oct 14, 2024
bcffbc2
Merge branch 'main' into dom
autonome Oct 16, 2024
4c563f0
Merge branch 'main' into dom
autonome Oct 18, 2024
6e696bf
ranges
autonome Oct 19, 2024
c668832
Merge branch 'main' into dom
autonome Oct 21, 2024
ac0d3df
Merge branch 'main' into dom
autonome Oct 22, 2024
695b086
put ranges in the selection api feature, add draft dom
autonome Oct 22, 2024
4944be9
remove used key
autonome Oct 22, 2024
d0ddc06
Merge branch 'main' into dom
autonome Oct 23, 2024
0350799
break some bits out
autonome Oct 23, 2024
41ee733
Merge branch 'main' into dom
autonome Oct 24, 2024
ce9efe6
rm the other features
autonome Oct 25, 2024
40e8902
add back in document, node, etc
autonome Oct 25, 2024
272bcb4
Merge branch 'dom' of https://github.com/autonome/web-features into dom
autonome Oct 25, 2024
a98adeb
Update features/mutations.yml
autonome Oct 25, 2024
ff855a7
rename, update
autonome Oct 25, 2024
0712917
Merge branch 'main' into dom
autonome Oct 25, 2024
fee879a
update desc
autonome Oct 27, 2024
2e6b98e
update desc and spec
autonome Oct 28, 2024
90a6b9a
Revise name and description
ddbeck Oct 30, 2024
dbb1a44
Remove events for forms, points, and keyboards
ddbeck Oct 30, 2024
67b82e4
Merge branch 'main' into dom
ddbeck Oct 30, 2024
fbce05e
Refresh dist
ddbeck Oct 30, 2024
182efb9
Remove several keys that are likely to be in other features or deprec…
ddbeck Oct 30, 2024
c534af2
Revise MutationObserver description
ddbeck Oct 30, 2024
fba751f
Revise events description
ddbeck Oct 30, 2024
d1a477e
Remove a likely form feature key
ddbeck Oct 30, 2024
8aef695
Merge branch 'main' into dom
ddbeck Nov 4, 2024
d3228d5
Remove more Shadow DOM and custom elements keys
ddbeck Nov 4, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
279 changes: 279 additions & 0 deletions features/dom.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,279 @@
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:
autonome marked this conversation as resolved.
Show resolved Hide resolved
- 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.createElement.options_parameter
- api.Document.createElementNS
- api.Document.createElementNS.options_parameter
- 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.getHTML
- 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