-
Notifications
You must be signed in to change notification settings - Fork 200
Add DOM - core, events, ranges, tree walker etc #2007
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
Merged
Merged
Changes from all commits
Commits
Show all changes
29 commits
Select commit
Hold shift + click to select a range
27df0c7
add ranges
autonome bcffbc2
Merge branch 'main' into dom
autonome 4c563f0
Merge branch 'main' into dom
autonome 6e696bf
ranges
autonome c668832
Merge branch 'main' into dom
autonome ac0d3df
Merge branch 'main' into dom
autonome 695b086
put ranges in the selection api feature, add draft dom
autonome 4944be9
remove used key
autonome d0ddc06
Merge branch 'main' into dom
autonome 0350799
break some bits out
autonome 41ee733
Merge branch 'main' into dom
autonome ce9efe6
rm the other features
autonome 40e8902
add back in document, node, etc
autonome 272bcb4
Merge branch 'dom' of https://github.com/autonome/web-features into dom
autonome a98adeb
Update features/mutations.yml
autonome ff855a7
rename, update
autonome 0712917
Merge branch 'main' into dom
autonome fee879a
update desc
autonome 2e6b98e
update desc and spec
autonome 90a6b9a
Revise name and description
ddbeck dbb1a44
Remove events for forms, points, and keyboards
ddbeck 67b82e4
Merge branch 'main' into dom
ddbeck fbce05e
Refresh dist
ddbeck 182efb9
Remove several keys that are likely to be in other features or deprec…
ddbeck c534af2
Revise MutationObserver description
ddbeck fba751f
Revise events description
ddbeck d1a477e
Remove a likely form feature key
ddbeck 8aef695
Merge branch 'main' into dom
ddbeck d3228d5
Remove more Shadow DOM and custom elements keys
ddbeck File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 | ||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.