From 27df0c77a65d0dfedebf9a5f279d403bb4381e6b Mon Sep 17 00:00:00 2001 From: dietrich ayala Date: Mon, 14 Oct 2024 13:13:34 +0700 Subject: [PATCH 01/19] add ranges --- features/dom-ranges.yml | 47 +++++++++++ features/dom-ranges.yml.dist | 158 +++++++++++++++++++++++++++++++++++ 2 files changed, 205 insertions(+) create mode 100644 features/dom-ranges.yml create mode 100644 features/dom-ranges.yml.dist diff --git a/features/dom-ranges.yml b/features/dom-ranges.yml new file mode 100644 index 00000000000..e06ffdc71cd --- /dev/null +++ b/features/dom-ranges.yml @@ -0,0 +1,47 @@ +name: DOM Standard +description: TODO +spec: https://dom.spec.whatwg.org/ +compat_features: + - api.AbstractRange + - api.AbstractRange.collapsed + - api.AbstractRange.endContainer + - api.AbstractRange.endOffset + - api.AbstractRange.startContainer + - api.AbstractRange.startOffset + - api.Document.createRange + - api.Range + - api.Range.Range + - api.Range.cloneContents + - api.Range.cloneRange + - api.Range.collapse + - api.Range.collapsed + - api.Range.commonAncestorContainer + - api.Range.compareBoundaryPoints + - api.Range.comparePoint + - api.Range.deleteContents + - api.Range.detach + - api.Range.endContainer + - api.Range.endOffset + - api.Range.extractContents + - api.Range.insertNode + - api.Range.intersectsNode + - api.Range.isPointInRange + - api.Range.selectNode + - api.Range.selectNodeContents + - api.Range.setEnd + - api.Range.setEndAfter + - api.Range.setEndBefore + - api.Range.setStart + - api.Range.setStartAfter + - api.Range.setStartBefore + - api.Range.startContainer + - api.Range.startOffset + - api.Range.surroundContents + - api.Range.toString + - api.StaticRange + - api.StaticRange.StaticRange + - api.StaticRange.collapsed + - api.StaticRange.endContainer + - api.StaticRange.endOffset + - api.StaticRange.startContainer + - api.StaticRange.startOffset diff --git a/features/dom-ranges.yml.dist b/features/dom-ranges.yml.dist new file mode 100644 index 00000000000..0f7f99a0c3f --- /dev/null +++ b/features/dom-ranges.yml.dist @@ -0,0 +1,158 @@ +# Generated from: dom-ranges.yml +# Do not edit this file by hand. Edit the source file instead! + +status: + baseline: false + support: + chrome: "90" + chrome_android: "90" + edge: "90" + safari: "14.1" + safari_ios: "14.5" +compat_features: + # baseline: high + # baseline_low_date: 2015-07-29 + # baseline_high_date: 2018-01-29 + # support: + # chrome: "1" + # chrome_android: "18" + # edge: "12" + # firefox: "1" + # firefox_android: "4" + # safari: "1" + # safari_ios: "1" + - api.Document.createRange + - api.Range + - api.Range.cloneContents + - api.Range.cloneRange + - api.Range.collapse + - api.Range.collapsed + - api.Range.commonAncestorContainer + - api.Range.compareBoundaryPoints + - api.Range.deleteContents + - api.Range.endContainer + - api.Range.endOffset + - api.Range.extractContents + - api.Range.insertNode + - api.Range.selectNode + - api.Range.selectNodeContents + - api.Range.setEnd + - api.Range.setEndAfter + - api.Range.setEndBefore + - api.Range.setStart + - api.Range.setStartAfter + - api.Range.setStartBefore + - api.Range.startContainer + - api.Range.startOffset + - api.Range.surroundContents + - api.Range.toString + + # baseline: high + # baseline_low_date: 2017-04-05 + # baseline_high_date: 2019-10-05 + # support: + # chrome: "1" + # chrome_android: "18" + # edge: "15" + # firefox: "1" + # firefox_android: "4" + # safari: "3" + # safari_ios: "1" + - api.Range.isPointInRange + + # baseline: high + # baseline_low_date: 2017-04-05 + # baseline_high_date: 2019-10-05 + # support: + # chrome: "29" + # chrome_android: "29" + # edge: "15" + # firefox: "24" + # firefox_android: "24" + # safari: "8" + # safari_ios: "8" + - api.Range.Range + + # baseline: high + # baseline_low_date: 2018-04-30 + # baseline_high_date: 2020-10-30 + # support: + # chrome: "1" + # chrome_android: "18" + # edge: "17" + # firefox: "1" + # firefox_android: "4" + # safari: "3" + # safari_ios: "1" + - api.Range.comparePoint + + # baseline: high + # baseline_low_date: 2018-04-30 + # baseline_high_date: 2020-10-30 + # support: + # chrome: "1" + # chrome_android: "18" + # edge: "17" + # firefox: "17" + # firefox_android: "19" + # safari: "3" + # safari_ios: "1" + - api.Range.intersectsNode + + # baseline: high + # baseline_low_date: 2020-07-28 + # baseline_high_date: 2023-01-28 + # support: + # chrome: "60" + # chrome_android: "60" + # edge: "18" + # firefox: "69" + # firefox_android: "79" + # safari: "10.1" + # safari_ios: "10.3" + - api.StaticRange + - api.StaticRange.collapsed + - api.StaticRange.endContainer + - api.StaticRange.endOffset + - api.StaticRange.startContainer + - api.StaticRange.startOffset + + # baseline: high + # baseline_low_date: 2021-04-15 + # baseline_high_date: 2023-10-15 + # support: + # chrome: "90" + # chrome_android: "90" + # edge: "90" + # firefox: "71" + # firefox_android: "79" + # safari: "13.1" + # safari_ios: "13.4" + - api.StaticRange.StaticRange + + # baseline: high + # baseline_low_date: 2021-04-26 + # baseline_high_date: 2023-10-26 + # support: + # chrome: "90" + # chrome_android: "90" + # edge: "90" + # firefox: "69" + # firefox_android: "79" + # safari: "14.1" + # safari_ios: "14.5" + - api.AbstractRange + - api.AbstractRange.collapsed + - api.AbstractRange.endContainer + - api.AbstractRange.endOffset + - api.AbstractRange.startContainer + - api.AbstractRange.startOffset + + # baseline: false + # support: + # chrome: "1" + # chrome_android: "18" + # edge: "12" + # safari: "1" + # safari_ios: "1" + - api.Range.detach From 6e696bf16e1141951f40c3259466d1d85126bd29 Mon Sep 17 00:00:00 2001 From: dietrich ayala Date: Sat, 19 Oct 2024 13:47:12 +0700 Subject: [PATCH 02/19] ranges --- features/dom-ranges.yml | 8 +++++--- features/dom-ranges.yml.dist | 17 +++++++++++------ 2 files changed, 16 insertions(+), 9 deletions(-) diff --git a/features/dom-ranges.yml b/features/dom-ranges.yml index e06ffdc71cd..7172be0b181 100644 --- a/features/dom-ranges.yml +++ b/features/dom-ranges.yml @@ -1,6 +1,8 @@ -name: DOM Standard -description: TODO -spec: https://dom.spec.whatwg.org/ +name: DOM Ranges +description: "The Range interface represents a fragment of a document that can contain nodes and parts of text nodes." +spec: https://dom.spec.whatwg.org/#ranges +status: + compute_from: api.Document.createRange compat_features: - api.AbstractRange - api.AbstractRange.collapsed diff --git a/features/dom-ranges.yml.dist b/features/dom-ranges.yml.dist index 0f7f99a0c3f..13d6e0a8014 100644 --- a/features/dom-ranges.yml.dist +++ b/features/dom-ranges.yml.dist @@ -2,14 +2,19 @@ # Do not edit this file by hand. Edit the source file instead! status: - baseline: false + baseline: high + baseline_low_date: 2015-07-29 + baseline_high_date: 2018-01-29 support: - chrome: "90" - chrome_android: "90" - edge: "90" - safari: "14.1" - safari_ios: "14.5" + chrome: "1" + chrome_android: "18" + edge: "12" + firefox: "1" + firefox_android: "4" + safari: "1" + safari_ios: "1" compat_features: + # ⬇️ Same status as overall feature ⬇️ # baseline: high # baseline_low_date: 2015-07-29 # baseline_high_date: 2018-01-29 From 695b08676015672e2d438fcdc8579d89e562c68b Mon Sep 17 00:00:00 2001 From: dietrich ayala Date: Tue, 22 Oct 2024 12:59:21 +0700 Subject: [PATCH 03/19] put ranges in the selection api feature, add draft dom --- features/dom-ranges.yml | 49 -- features/dom-ranges.yml.dist | 163 ----- features/dom.yml | 269 ++++++++ features/dom.yml.dist | 1082 +++++++++++++++++++++++++++++++ features/selection-api.yml | 44 ++ features/selection-api.yml.dist | 135 ++++ 6 files changed, 1530 insertions(+), 212 deletions(-) delete mode 100644 features/dom-ranges.yml delete mode 100644 features/dom-ranges.yml.dist create mode 100644 features/dom.yml create mode 100644 features/dom.yml.dist diff --git a/features/dom-ranges.yml b/features/dom-ranges.yml deleted file mode 100644 index 7172be0b181..00000000000 --- a/features/dom-ranges.yml +++ /dev/null @@ -1,49 +0,0 @@ -name: DOM Ranges -description: "The Range interface represents a fragment of a document that can contain nodes and parts of text nodes." -spec: https://dom.spec.whatwg.org/#ranges -status: - compute_from: api.Document.createRange -compat_features: - - api.AbstractRange - - api.AbstractRange.collapsed - - api.AbstractRange.endContainer - - api.AbstractRange.endOffset - - api.AbstractRange.startContainer - - api.AbstractRange.startOffset - - api.Document.createRange - - api.Range - - api.Range.Range - - api.Range.cloneContents - - api.Range.cloneRange - - api.Range.collapse - - api.Range.collapsed - - api.Range.commonAncestorContainer - - api.Range.compareBoundaryPoints - - api.Range.comparePoint - - api.Range.deleteContents - - api.Range.detach - - api.Range.endContainer - - api.Range.endOffset - - api.Range.extractContents - - api.Range.insertNode - - api.Range.intersectsNode - - api.Range.isPointInRange - - api.Range.selectNode - - api.Range.selectNodeContents - - api.Range.setEnd - - api.Range.setEndAfter - - api.Range.setEndBefore - - api.Range.setStart - - api.Range.setStartAfter - - api.Range.setStartBefore - - api.Range.startContainer - - api.Range.startOffset - - api.Range.surroundContents - - api.Range.toString - - api.StaticRange - - api.StaticRange.StaticRange - - api.StaticRange.collapsed - - api.StaticRange.endContainer - - api.StaticRange.endOffset - - api.StaticRange.startContainer - - api.StaticRange.startOffset diff --git a/features/dom-ranges.yml.dist b/features/dom-ranges.yml.dist deleted file mode 100644 index 13d6e0a8014..00000000000 --- a/features/dom-ranges.yml.dist +++ /dev/null @@ -1,163 +0,0 @@ -# Generated from: dom-ranges.yml -# Do not edit this file by hand. Edit the source file instead! - -status: - baseline: high - baseline_low_date: 2015-07-29 - baseline_high_date: 2018-01-29 - support: - chrome: "1" - chrome_android: "18" - edge: "12" - firefox: "1" - firefox_android: "4" - safari: "1" - safari_ios: "1" -compat_features: - # ⬇️ Same status as overall feature ⬇️ - # baseline: high - # baseline_low_date: 2015-07-29 - # baseline_high_date: 2018-01-29 - # support: - # chrome: "1" - # chrome_android: "18" - # edge: "12" - # firefox: "1" - # firefox_android: "4" - # safari: "1" - # safari_ios: "1" - - api.Document.createRange - - api.Range - - api.Range.cloneContents - - api.Range.cloneRange - - api.Range.collapse - - api.Range.collapsed - - api.Range.commonAncestorContainer - - api.Range.compareBoundaryPoints - - api.Range.deleteContents - - api.Range.endContainer - - api.Range.endOffset - - api.Range.extractContents - - api.Range.insertNode - - api.Range.selectNode - - api.Range.selectNodeContents - - api.Range.setEnd - - api.Range.setEndAfter - - api.Range.setEndBefore - - api.Range.setStart - - api.Range.setStartAfter - - api.Range.setStartBefore - - api.Range.startContainer - - api.Range.startOffset - - api.Range.surroundContents - - api.Range.toString - - # baseline: high - # baseline_low_date: 2017-04-05 - # baseline_high_date: 2019-10-05 - # support: - # chrome: "1" - # chrome_android: "18" - # edge: "15" - # firefox: "1" - # firefox_android: "4" - # safari: "3" - # safari_ios: "1" - - api.Range.isPointInRange - - # baseline: high - # baseline_low_date: 2017-04-05 - # baseline_high_date: 2019-10-05 - # support: - # chrome: "29" - # chrome_android: "29" - # edge: "15" - # firefox: "24" - # firefox_android: "24" - # safari: "8" - # safari_ios: "8" - - api.Range.Range - - # baseline: high - # baseline_low_date: 2018-04-30 - # baseline_high_date: 2020-10-30 - # support: - # chrome: "1" - # chrome_android: "18" - # edge: "17" - # firefox: "1" - # firefox_android: "4" - # safari: "3" - # safari_ios: "1" - - api.Range.comparePoint - - # baseline: high - # baseline_low_date: 2018-04-30 - # baseline_high_date: 2020-10-30 - # support: - # chrome: "1" - # chrome_android: "18" - # edge: "17" - # firefox: "17" - # firefox_android: "19" - # safari: "3" - # safari_ios: "1" - - api.Range.intersectsNode - - # baseline: high - # baseline_low_date: 2020-07-28 - # baseline_high_date: 2023-01-28 - # support: - # chrome: "60" - # chrome_android: "60" - # edge: "18" - # firefox: "69" - # firefox_android: "79" - # safari: "10.1" - # safari_ios: "10.3" - - api.StaticRange - - api.StaticRange.collapsed - - api.StaticRange.endContainer - - api.StaticRange.endOffset - - api.StaticRange.startContainer - - api.StaticRange.startOffset - - # baseline: high - # baseline_low_date: 2021-04-15 - # baseline_high_date: 2023-10-15 - # support: - # chrome: "90" - # chrome_android: "90" - # edge: "90" - # firefox: "71" - # firefox_android: "79" - # safari: "13.1" - # safari_ios: "13.4" - - api.StaticRange.StaticRange - - # baseline: high - # baseline_low_date: 2021-04-26 - # baseline_high_date: 2023-10-26 - # support: - # chrome: "90" - # chrome_android: "90" - # edge: "90" - # firefox: "69" - # firefox_android: "79" - # safari: "14.1" - # safari_ios: "14.5" - - api.AbstractRange - - api.AbstractRange.collapsed - - api.AbstractRange.endContainer - - api.AbstractRange.endOffset - - api.AbstractRange.startContainer - - api.AbstractRange.startOffset - - # baseline: false - # support: - # chrome: "1" - # chrome_android: "18" - # edge: "12" - # safari: "1" - # safari_ios: "1" - - api.Range.detach diff --git a/features/dom.yml b/features/dom.yml new file mode 100644 index 00000000000..d0a76f3c7d5 --- /dev/null +++ b/features/dom.yml @@ -0,0 +1,269 @@ +draft_date: 2024-09-30 +name: DOM Standard +description: TODO +spec: https://dom.spec.whatwg.org/ +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.CustomEvent + - api.CustomEvent.CustomEvent + - api.CustomEvent.detail + - api.DOMImplementation + - api.DOMImplementation.createDocument + - api.DOMImplementation.createDocumentType + - api.DOMImplementation.createHTMLDocument + - api.DOMTokenList + - api.DOMTokenList.add + - api.DOMTokenList.contains + - api.DOMTokenList.item + - api.DOMTokenList.length + - api.DOMTokenList.remove + - api.DOMTokenList.replace + - api.DOMTokenList.supports + - api.DOMTokenList.toString + - api.DOMTokenList.toggle + - api.DOMTokenList.value + - api.Document + - api.Document.Document + - api.Document.URL + - api.Document.adoptNode + - api.Document.append + - api.Document.characterSet + - api.Document.childElementCount + - api.Document.children + - 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.createEvent + - api.Document.createExpression + - api.Document.createNodeIterator + - api.Document.createProcessingInstruction + - api.Document.createTextNode + - api.Document.createTreeWalker + - api.Document.doctype + - api.Document.documentElement + - api.Document.documentURI + - api.Document.evaluate + - api.Document.firstElementChild + - api.Document.getElementById + - api.Document.getElementsByClassName + - api.Document.getElementsByTagName + - api.Document.getElementsByTagNameNS + - api.Document.implementation + - api.Document.importNode + - api.Document.lastElementChild + - api.Document.prepend + - api.Document.querySelector + - api.Document.querySelectorAll + - api.Document.replaceChildren + - 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.attachShadow.options_clonable_parameter + - api.Element.attachShadow.options_delegatesFocus_parameter + - api.Element.attachShadow.options_serializable_parameter + - api.Element.attributes + - 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.getElementsByTagNameNS + - api.Element.hasAttribute + - api.Element.hasAttributeNS + - api.Element.hasAttributes + - api.Element.id + - api.Element.insertAdjacentElement + - 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.Event + - api.Event.Event + - api.Event.bubbles + - api.Event.cancelable + - api.Event.currentTarget + - api.Event.defaultPrevented + - api.Event.eventPhase + - api.Event.isTrusted + - api.Event.preventDefault + - api.Event.stopImmediatePropagation + - api.Event.stopPropagation + - api.Event.target + - api.Event.timeStamp + - api.Event.type + - api.EventTarget + - api.EventTarget.EventTarget + - api.EventTarget.addEventListener + - api.EventTarget.addEventListener.options_parameter.options_capture_parameter + - api.EventTarget.addEventListener.options_parameter.options_once_parameter + - api.EventTarget.addEventListener.options_parameter.options_passive_parameter + - api.EventTarget.addEventListener.options_parameter.options_signal_parameter + - api.EventTarget.dispatchEvent + - api.EventTarget.removeEventListener + - api.HTMLCollection + - api.HTMLCollection.item + - api.HTMLCollection.length + - api.HTMLCollection.namedItem + - api.MutationObserver + - api.MutationObserver.MutationObserver + - api.MutationObserver.disconnect + - api.MutationObserver.observe + - api.MutationObserver.takeRecords + - api.MutationRecord + - api.MutationRecord.addedNodes + - api.MutationRecord.attributeName + - api.MutationRecord.attributeNamespace + - api.MutationRecord.nextSibling + - api.MutationRecord.oldValue + - api.MutationRecord.previousSibling + - api.MutationRecord.removedNodes + - api.MutationRecord.target + - api.MutationRecord.type + - 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.forEach + - api.NodeList.item + - api.NodeList.length + - api.ProcessingInstruction + - api.ProcessingInstruction.target + - api.ShadowRoot.delegatesFocus + - api.ShadowRoot.serializable + - 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 diff --git a/features/dom.yml.dist b/features/dom.yml.dist new file mode 100644 index 00000000000..c701b958438 --- /dev/null +++ b/features/dom.yml.dist @@ -0,0 +1,1082 @@ +# Generated from: dom.yml +# Do not edit this file by hand. Edit the source file instead! + +status: + baseline: false + support: + chrome: "125" + chrome_android: "125" + edge: "125" +compat_features: + # baseline: high + # baseline_low_date: 2015-07-29 + # baseline_high_date: 2018-01-29 + # support: + # chrome: "1" + # chrome_android: "18" + # edge: "12" + # firefox: "1" + # firefox_android: "4" + # safari: "1" + # safari_ios: "1" + - api.Attr + - api.Attr.localName + - api.Attr.name + - api.Attr.namespaceURI + - api.Attr.ownerElement + - api.Attr.prefix + - api.Attr.value + - api.CharacterData + - api.CharacterData.appendData + - api.CharacterData.data + - api.CharacterData.deleteData + - api.CharacterData.insertData + - api.CharacterData.length + - api.CharacterData.replaceData + - api.CharacterData.substringData + - api.DOMImplementation + - api.DOMImplementation.createDocument + - api.DOMImplementation.createDocumentType + - api.Document + - api.Document.URL + - api.Document.createAttribute + - api.Document.createAttributeNS + - api.Document.createCDATASection + - api.Document.createComment + - api.Document.createDocumentFragment + - api.Document.createElement + - api.Document.createElementNS + - api.Document.createEvent + - api.Document.createProcessingInstruction + - api.Document.createTextNode + - api.Document.doctype + - api.Document.documentElement + - api.Document.getElementById + - api.Document.getElementsByTagName + - api.Document.getElementsByTagNameNS + - api.Document.implementation + - api.Document.importNode + - api.Element + - api.Element.attributes + - api.Element.getAttribute + - api.Element.getAttributeNS + - api.Element.getAttributeNode + - api.Element.getAttributeNodeNS + - api.Element.getElementsByTagName + - api.Element.getElementsByTagNameNS + - api.Element.hasAttribute + - api.Element.hasAttributeNS + - api.Element.hasAttributes + - api.Element.localName + - api.Element.namespaceURI + - api.Element.prefix + - api.Element.removeAttribute + - api.Element.removeAttributeNS + - api.Element.removeAttributeNode + - api.Element.setAttribute + - api.Element.setAttributeNS + - api.Element.setAttributeNode + - api.Element.setAttributeNodeNS + - api.Element.tagName + - api.Event + - api.Event.currentTarget + - api.Event.preventDefault + - api.Event.stopPropagation + - api.Event.target + - api.EventTarget + - api.EventTarget.addEventListener + - api.EventTarget.removeEventListener + - api.HTMLCollection + - api.HTMLCollection.item + - api.HTMLCollection.length + - api.HTMLCollection.namedItem + - api.Node + - api.Node.firstChild + - api.Node.hasChildNodes + - api.Node.nodeName + - api.Node.nodeValue + - api.Node.normalize + - api.Node.ownerDocument + - api.Node.previousSibling + - api.NodeList + - api.NodeList.item + - api.NodeList.length + - api.ProcessingInstruction + - api.ProcessingInstruction.target + - api.Text + - api.Text.splitText + + # baseline: high + # baseline_low_date: 2015-07-29 + # baseline_high_date: 2018-01-29 + # support: + # chrome: "1" + # chrome_android: "18" + # edge: "12" + # firefox: "1" + # firefox_android: "4" + # safari: "1.1" + # safari_ios: "1" + - api.Node.appendChild + - api.Node.cloneNode + - api.Node.insertBefore + - api.Node.nextSibling + - api.Node.nodeType + - api.Node.parentNode + - api.Node.removeChild + - api.Node.replaceChild + + # baseline: high + # baseline_low_date: 2015-07-29 + # baseline_high_date: 2018-01-29 + # support: + # chrome: "1" + # chrome_android: "18" + # edge: "12" + # firefox: "1" + # firefox_android: "4" + # safari: "1.2" + # safari_ios: "1" + - api.Node.childNodes + + # baseline: high + # baseline_low_date: 2015-07-29 + # baseline_high_date: 2018-01-29 + # support: + # chrome: "1" + # chrome_android: "18" + # edge: "12" + # firefox: "1" + # firefox_android: "4" + # safari: "3" + # safari_ios: "1" + - api.CDATASection + - api.Comment + - api.Document.adoptNode + - api.Document.characterSet + - api.Document.createExpression + - api.Document.createNodeIterator + - api.Document.evaluate + - api.DocumentFragment + - api.DocumentType + - api.DocumentType.name + - api.DocumentType.publicId + - api.DocumentType.systemId + - api.Node.isDefaultNamespace + - api.Node.isEqualNode + - api.Node.lookupNamespaceURI + - api.Node.lookupPrefix + - api.Node.textContent + + # baseline: high + # baseline_low_date: 2015-07-29 + # baseline_high_date: 2018-01-29 + # support: + # chrome: "1" + # chrome_android: "18" + # edge: "12" + # firefox: "1" + # firefox_android: "4" + # safari: "3" + # safari_ios: "3" + - api.Document.createTreeWalker + + # baseline: high + # baseline_low_date: 2015-07-29 + # baseline_high_date: 2018-01-29 + # support: + # chrome: "1" + # chrome_android: "18" + # edge: "12" + # firefox: "1" + # firefox_android: "4" + # safari: "3.1" + # safari_ios: "2" + - api.Document.compatMode + + # baseline: high + # baseline_low_date: 2015-07-29 + # baseline_high_date: 2018-01-29 + # support: + # chrome: "1" + # chrome_android: "18" + # edge: "12" + # firefox: "1" + # firefox_android: "4" + # safari: ≤4 + # safari_ios: "1" + - api.Node.baseURI + + # baseline: high + # baseline_low_date: 2015-07-29 + # baseline_high_date: 2018-01-29 + # support: + # chrome: "1" + # chrome_android: "18" + # edge: "12" + # firefox: "1.5" + # firefox_android: "4" + # safari: "1" + # safari_ios: "1" + - api.Event.bubbles + - api.Event.cancelable + - api.Event.eventPhase + - api.Event.timeStamp + - api.Event.type + + # baseline: high + # baseline_low_date: 2015-07-29 + # baseline_high_date: 2018-01-29 + # support: + # chrome: "1" + # chrome_android: "18" + # edge: "12" + # firefox: "3" + # firefox_android: "4" + # safari: "3.1" + # safari_ios: "2" + - api.Document.getElementsByClassName + + # baseline: high + # baseline_low_date: 2015-07-29 + # baseline_high_date: 2018-01-29 + # support: + # chrome: "1" + # chrome_android: "18" + # edge: "12" + # firefox: "3.5" + # firefox_android: "4" + # safari: "3" + # safari_ios: "3" + - api.NodeIterator + - api.NodeIterator.filter + - api.NodeIterator.nextNode + - api.NodeIterator.previousNode + - api.NodeIterator.root + - api.NodeIterator.whatToShow + + # baseline: high + # baseline_low_date: 2015-07-29 + # baseline_high_date: 2018-01-29 + # support: + # chrome: "1" + # chrome_android: "18" + # edge: "12" + # firefox: "3.5" + # firefox_android: "4" + # safari: "3.1" + # safari_ios: "2" + - api.Document.querySelector + - api.Document.querySelectorAll + - api.Element.querySelector + - api.Element.querySelectorAll + + # baseline: high + # baseline_low_date: 2015-07-29 + # baseline_high_date: 2018-01-29 + # support: + # chrome: "1" + # chrome_android: "18" + # edge: "12" + # firefox: "3.5" + # firefox_android: "4" + # safari: "4" + # safari_ios: "3" + - api.Element.children + + # baseline: high + # baseline_low_date: 2015-07-29 + # baseline_high_date: 2018-01-29 + # support: + # chrome: "1" + # chrome_android: "18" + # edge: "12" + # firefox: "4" + # firefox_android: "4" + # safari: "1" + # safari_ios: "1" + - api.DOMImplementation.createHTMLDocument + + # baseline: high + # baseline_low_date: 2015-07-29 + # baseline_high_date: 2018-01-29 + # support: + # chrome: "1" + # chrome_android: "18" + # edge: "12" + # firefox: "4" + # firefox_android: "4" + # safari: "3" + # safari_ios: "3" + - 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 + + # baseline: high + # baseline_low_date: 2015-07-29 + # baseline_high_date: 2018-01-29 + # support: + # chrome: "1" + # chrome_android: "18" + # edge: "12" + # firefox: "9" + # firefox_android: "9" + # safari: "1.1" + # safari_ios: "1" + - api.Node.parentElement + + # baseline: high + # baseline_low_date: 2015-07-29 + # baseline_high_date: 2018-01-29 + # support: + # chrome: "1" + # chrome_android: "18" + # edge: "12" + # firefox: "34" + # firefox_android: "34" + # safari: "1" + # safari_ios: "1" + - 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 + + # baseline: high + # baseline_low_date: 2015-07-29 + # baseline_high_date: 2018-01-29 + # support: + # chrome: "2" + # chrome_android: "18" + # edge: "12" + # firefox: "1" + # firefox_android: "4" + # safari: "4" + # safari_ios: "3.2" + - api.Node.compareDocumentPosition + + # baseline: high + # baseline_low_date: 2015-07-29 + # baseline_high_date: 2018-01-29 + # support: + # chrome: "2" + # chrome_android: "18" + # edge: "12" + # firefox: "3.5" + # firefox_android: "4" + # safari: "4" + # safari_ios: "3" + - api.DocumentFragment.querySelector + - api.DocumentFragment.querySelectorAll + - api.Element.childElementCount + - api.Element.firstElementChild + - api.Element.lastElementChild + - api.Element.nextElementSibling + - api.Element.previousElementSibling + + # baseline: high + # baseline_low_date: 2015-07-29 + # baseline_high_date: 2018-01-29 + # support: + # chrome: "2" + # chrome_android: "18" + # edge: "12" + # firefox: "3.5" + # firefox_android: "4" + # safari: "4" + # safari_ios: "3.2" + - api.Text.wholeText + + # baseline: high + # baseline_low_date: 2015-07-29 + # baseline_high_date: 2018-01-29 + # support: + # chrome: "4" + # chrome_android: "18" + # edge: "12" + # firefox: "2" + # firefox_android: "4" + # safari: "3.1" + # safari_ios: "3" + - api.EventTarget.dispatchEvent + + # baseline: high + # baseline_low_date: 2015-07-29 + # baseline_high_date: 2018-01-29 + # support: + # chrome: "5" + # chrome_android: "18" + # edge: "12" + # firefox: "6" + # firefox_android: "6" + # safari: "5" + # safari_ios: "5" + - api.CustomEvent + - api.CustomEvent.detail + - api.Event.defaultPrevented + + # baseline: high + # baseline_low_date: 2015-07-29 + # baseline_high_date: 2018-01-29 + # support: + # chrome: "5" + # chrome_android: "18" + # edge: "12" + # firefox: "10" + # firefox_android: "10" + # safari: "5" + # safari_ios: "5" + - api.Event.stopImmediatePropagation + + # baseline: high + # baseline_low_date: 2015-07-29 + # baseline_high_date: 2018-01-29 + # support: + # chrome: "8" + # chrome_android: "18" + # edge: "12" + # firefox: "3.6" + # firefox_android: "4" + # safari: "5.1" + # safari_ios: "5" + - api.DOMTokenList + - api.DOMTokenList.add + - api.DOMTokenList.contains + - api.DOMTokenList.item + - api.DOMTokenList.length + - api.DOMTokenList.remove + - api.DOMTokenList.toString + - api.DOMTokenList.toggle + + # baseline: high + # baseline_low_date: 2015-07-29 + # baseline_high_date: 2018-01-29 + # support: + # chrome: "15" + # chrome_android: "18" + # edge: "12" + # firefox: "11" + # firefox_android: "14" + # safari: "6" + # safari_ios: "6" + - api.CustomEvent.CustomEvent + - api.Event.Event + + # baseline: high + # baseline_low_date: 2015-07-29 + # baseline_high_date: 2018-01-29 + # support: + # chrome: "16" + # chrome_android: "18" + # edge: "12" + # firefox: "9" + # firefox_android: "9" + # safari: "1.1" + # safari_ios: "1" + - api.Node.contains + + # baseline: high + # baseline_low_date: 2015-07-29 + # baseline_high_date: 2018-01-29 + # support: + # chrome: "16" + # chrome_android: "18" + # edge: "12" + # firefox: "14" + # firefox_android: "14" + # safari: "7" + # safari_ios: "7" + - api.MutationRecord + - api.MutationRecord.addedNodes + - api.MutationRecord.attributeName + - api.MutationRecord.attributeNamespace + - api.MutationRecord.nextSibling + - api.MutationRecord.oldValue + - api.MutationRecord.previousSibling + - api.MutationRecord.removedNodes + - api.MutationRecord.target + - api.MutationRecord.type + + # baseline: high + # baseline_low_date: 2015-07-29 + # baseline_high_date: 2018-01-29 + # support: + # chrome: "22" + # chrome_android: "25" + # edge: "12" + # firefox: "1" + # firefox_android: "4" + # safari: "1" + # safari_ios: "1" + - api.Element.className + + # baseline: high + # baseline_low_date: 2015-07-29 + # baseline_high_date: 2018-01-29 + # support: + # chrome: "23" + # chrome_android: "25" + # edge: "12" + # firefox: "1" + # firefox_android: "4" + # safari: "1" + # safari_ios: "1" + - api.Element.id + + # baseline: high + # baseline_low_date: 2015-07-29 + # baseline_high_date: 2018-01-29 + # support: + # chrome: "24" + # chrome_android: "25" + # edge: "12" + # firefox: "23" + # firefox_android: "23" + # safari: "7" + # safari_ios: "7" + - api.CharacterData.remove + - api.DocumentType.remove + - api.Element.remove + + # baseline: high + # baseline_low_date: 2015-07-29 + # baseline_high_date: 2018-01-29 + # support: + # chrome: "26" + # chrome_android: "26" + # edge: "12" + # firefox: "14" + # firefox_android: "14" + # safari: "7" + # safari_ios: "7" + - api.MutationObserver + - api.MutationObserver.MutationObserver + - api.MutationObserver.disconnect + - api.MutationObserver.observe + - api.MutationObserver.takeRecords + + # baseline: high + # baseline_low_date: 2016-03-08 + # baseline_high_date: 2018-09-08 + # support: + # chrome: "1" + # chrome_android: "18" + # edge: "12" + # firefox: "1" + # firefox_android: "45" + # safari: "1" + # safari_ios: "1" + - api.Node.lastChild + + # baseline: high + # baseline_low_date: 2016-08-02 + # baseline_high_date: 2019-02-02 + # support: + # chrome: "1" + # chrome_android: "18" + # edge: "12" + # firefox: "48" + # firefox_android: "48" + # safari: "3" + # safari_ios: "1" + - api.Node.isSameNode + + # baseline: high + # baseline_low_date: 2016-09-20 + # baseline_high_date: 2019-03-20 + # support: + # chrome: "34" + # chrome_android: "34" + # edge: "12" + # firefox: "1" + # firefox_android: "4" + # safari: "10" + # safari_ios: "10" + - api.XMLDocument + + # baseline: high + # baseline_low_date: 2016-09-20 + # baseline_high_date: 2019-03-20 + # support: + # chrome: "46" + # chrome_android: "46" + # edge: "12" + # firefox: "1.5" + # firefox_android: "4" + # safari: "10" + # safari_ios: "10" + - api.Event.isTrusted + + # baseline: high + # baseline_low_date: 2017-04-05 + # baseline_high_date: 2019-10-05 + # support: + # chrome: "33" + # chrome_android: "33" + # edge: "15" + # firefox: "34" + # firefox_android: "34" + # safari: "8" + # safari_ios: "8" + - api.Element.matches + + # baseline: high + # baseline_low_date: 2017-04-05 + # baseline_high_date: 2019-10-05 + # support: + # chrome: "41" + # chrome_android: "41" + # edge: "15" + # firefox: "35" + # firefox_android: "35" + # safari: "6" + # safari_ios: "9" + - api.Element.closest + + # baseline: high + # baseline_low_date: 2017-10-17 + # baseline_high_date: 2020-04-17 + # support: + # chrome: "1" + # chrome_android: "18" + # edge: "16" + # firefox: "3" + # firefox_android: "4" + # safari: "3.1" + # safari_ios: "2" + - api.Element.getElementsByClassName + + # baseline: high + # baseline_low_date: 2017-10-17 + # baseline_high_date: 2020-04-17 + # support: + # chrome: "22" + # chrome_android: "25" + # edge: "16" + # firefox: "3.6" + # firefox_android: "4" + # safari: "7" + # safari_ios: "7" + - api.Element.classList + + # baseline: high + # baseline_low_date: 2017-10-17 + # baseline_high_date: 2020-04-17 + # support: + # chrome: "29" + # chrome_android: "29" + # edge: "16" + # firefox: "24" + # firefox_android: "24" + # safari: "8" + # safari_ios: "8" + - api.Comment.Comment + - api.Text.Text + + # baseline: high + # baseline_low_date: 2017-10-17 + # baseline_high_date: 2020-04-17 + # support: + # chrome: "29" + # chrome_android: "29" + # edge: "16" + # firefox: "25" + # firefox_android: "25" + # safari: "9" + # safari_ios: "9" + - api.Document.children + - api.DocumentFragment.children + + # baseline: high + # baseline_low_date: 2017-10-17 + # baseline_high_date: 2020-04-17 + # support: + # chrome: "51" + # chrome_android: "51" + # edge: "16" + # firefox: "50" + # firefox_android: "50" + # safari: "10" + # safari_ios: "10" + - api.NodeList.forEach + + # baseline: high + # baseline_low_date: 2018-04-30 + # baseline_high_date: 2020-10-30 + # support: + # chrome: "1" + # chrome_android: "18" + # edge: "17" + # firefox: "1" + # firefox_android: "4" + # safari: "3" + # safari_ios: "1" + - api.Document.documentURI + + # baseline: high + # baseline_low_date: 2018-04-30 + # baseline_high_date: 2020-10-30 + # support: + # chrome: "1" + # chrome_android: "18" + # edge: "17" + # firefox: "3.5" + # firefox_android: "4" + # safari: "3" + # safari_ios: "3" + - api.NodeIterator.pointerBeforeReferenceNode + - api.NodeIterator.referenceNode + + # baseline: high + # baseline_low_date: 2018-04-30 + # baseline_high_date: 2020-10-30 + # support: + # chrome: "1" + # chrome_android: "18" + # edge: "17" + # firefox: "48" + # firefox_android: "48" + # safari: "3" + # safari_ios: "1" + - api.Element.insertAdjacentElement + + # baseline: high + # baseline_low_date: 2018-04-30 + # baseline_high_date: 2020-10-30 + # support: + # chrome: "1" + # chrome_android: "18" + # edge: "17" + # firefox: "48" + # firefox_android: "48" + # safari: "4" + # safari_ios: "4" + - api.Element.insertAdjacentText + + # baseline: high + # baseline_low_date: 2018-04-30 + # baseline_high_date: 2020-10-30 + # support: + # chrome: "29" + # chrome_android: "29" + # edge: "17" + # firefox: "24" + # firefox_android: "24" + # safari: "8" + # safari_ios: "8" + - api.DocumentFragment.DocumentFragment + + # baseline: high + # baseline_low_date: 2018-04-30 + # baseline_high_date: 2020-10-30 + # support: + # chrome: "29" + # chrome_android: "29" + # edge: "17" + # firefox: "25" + # firefox_android: "25" + # safari: "9" + # safari_ios: "9" + - api.CharacterData.nextElementSibling + - api.CharacterData.previousElementSibling + - api.Document.childElementCount + - api.Document.firstElementChild + - api.Document.lastElementChild + - api.DocumentFragment.childElementCount + - api.DocumentFragment.firstElementChild + - api.DocumentFragment.lastElementChild + + # baseline: high + # baseline_low_date: 2018-04-30 + # baseline_high_date: 2020-10-30 + # support: + # chrome: "36" + # chrome_android: "36" + # edge: "17" + # firefox: "1" + # firefox_android: "4" + # safari: "9" + # safari_ios: "9" + - api.Document.contentType + + # baseline: high + # baseline_low_date: 2018-04-30 + # baseline_high_date: 2020-10-30 + # support: + # chrome: "36" + # chrome_android: "36" + # edge: "17" + # firefox: "28" + # firefox_android: "28" + # safari: "9" + # safari_ios: "9" + - api.DocumentFragment.getElementById + + # baseline: high + # baseline_low_date: 2018-04-30 + # baseline_high_date: 2020-10-30 + # support: + # chrome: "49" + # chrome_android: "49" + # edge: "17" + # firefox: "49" + # firefox_android: "49" + # safari: "10.1" + # safari_ios: "10.3" + - api.DOMTokenList.supports + + # baseline: high + # baseline_low_date: 2018-04-30 + # baseline_high_date: 2020-10-30 + # support: + # chrome: "50" + # chrome_android: "50" + # edge: "17" + # firefox: "47" + # firefox_android: "47" + # safari: "10" + # safari_ios: "10" + - api.DOMTokenList.value + + # baseline: high + # baseline_low_date: 2018-04-30 + # baseline_high_date: 2020-10-30 + # support: + # chrome: "54" + # chrome_android: "54" + # edge: "17" + # firefox: "49" + # firefox_android: "49" + # safari: "10" + # safari_ios: "10" + - api.CharacterData.after + - api.CharacterData.before + - api.CharacterData.replaceWith + - api.Document.append + - api.Document.prepend + - api.DocumentFragment.append + - api.DocumentFragment.prepend + - api.DocumentType.after + - api.DocumentType.before + - api.DocumentType.replaceWith + - api.Element.after + - api.Element.append + - api.Element.before + - api.Element.prepend + - api.Element.replaceWith + + # baseline: high + # baseline_low_date: 2018-04-30 + # baseline_high_date: 2020-10-30 + # support: + # chrome: "60" + # chrome_android: "60" + # edge: "17" + # firefox: "20" + # firefox_android: "20" + # safari: "8" + # safari_ios: "8" + - api.Document.Document + + # baseline: high + # baseline_low_date: 2018-04-30 + # baseline_high_date: 2020-10-30 + # support: + # chrome: "61" + # chrome_android: "61" + # edge: "17" + # firefox: "49" + # firefox_android: "49" + # safari: "10.1" + # safari_ios: "10.3" + - api.DOMTokenList.replace + + # baseline: high + # baseline_low_date: 2018-10-02 + # baseline_high_date: 2021-04-02 + # support: + # chrome: "61" + # chrome_android: "61" + # edge: "18" + # firefox: "45" + # firefox_android: "45" + # safari: "10.1" + # safari_ios: "10.3" + - api.Element.getAttributeNames + + # baseline: high + # baseline_low_date: ≤2018-10-02 + # baseline_high_date: ≤2021-04-02 + # support: + # chrome: "51" + # chrome_android: "51" + # edge: ≤18 + # firefox: "49" + # firefox_android: "49" + # safari: "10" + # safari_ios: "10" + - api.EventTarget.addEventListener.options_parameter.options_passive_parameter + + # baseline: high + # baseline_low_date: ≤2018-10-02 + # baseline_high_date: ≤2021-04-02 + # support: + # chrome: "52" + # chrome_android: "52" + # edge: ≤18 + # firefox: "49" + # firefox_android: "49" + # safari: "10" + # safari_ios: "10" + - api.EventTarget.addEventListener.options_parameter.options_capture_parameter + + # baseline: high + # baseline_low_date: ≤2018-10-02 + # baseline_high_date: ≤2021-04-02 + # support: + # chrome: "55" + # chrome_android: "55" + # edge: ≤18 + # firefox: "50" + # firefox_android: "50" + # safari: "10" + # safari_ios: "10" + - api.EventTarget.addEventListener.options_parameter.options_once_parameter + + # baseline: high + # baseline_low_date: 2018-10-23 + # baseline_high_date: 2021-04-23 + # support: + # chrome: "69" + # chrome_android: "69" + # edge: "18" + # firefox: "63" + # firefox_android: "63" + # safari: "12" + # safari_ios: "12" + - api.Element.toggleAttribute + + # baseline: high + # baseline_low_date: 2020-01-15 + # baseline_high_date: 2022-07-15 + # support: + # chrome: "51" + # chrome_android: "51" + # edge: "79" + # firefox: "36" + # firefox_android: "36" + # safari: "10" + # safari_ios: "10" + - api.NodeList.@@iterator + + # baseline: high + # baseline_low_date: 2020-09-16 + # baseline_high_date: 2023-03-16 + # support: + # chrome: "64" + # chrome_android: "64" + # edge: "79" + # firefox: "59" + # firefox_android: "59" + # safari: "14" + # safari_ios: "14" + - api.EventTarget.EventTarget + + # baseline: high + # baseline_low_date: 2020-10-20 + # baseline_high_date: 2023-04-20 + # support: + # chrome: "86" + # chrome_android: "86" + # edge: "86" + # firefox: "78" + # firefox_android: "79" + # safari: "14" + # safari_ios: "14" + - api.Document.replaceChildren + - api.DocumentFragment.replaceChildren + - api.Element.replaceChildren + + # baseline: high + # baseline_low_date: 2021-09-20 + # baseline_high_date: 2024-03-20 + # support: + # chrome: "90" + # chrome_android: "90" + # edge: "90" + # firefox: "86" + # firefox_android: "86" + # safari: "15" + # safari_ios: "15" + - api.EventTarget.addEventListener.options_parameter.options_signal_parameter + + # baseline: high + # baseline_low_date: 2021-11-02 + # baseline_high_date: 2024-05-02 + # support: + # chrome: "53" + # chrome_android: "53" + # edge: "79" + # firefox: "94" + # firefox_android: "94" + # safari: "13.1" + # safari_ios: "13.4" + - api.Element.attachShadow.options_delegatesFocus_parameter + + # baseline: high + # baseline_low_date: 2021-11-02 + # baseline_high_date: 2024-05-02 + # support: + # chrome: "53" + # chrome_android: "53" + # edge: "79" + # firefox: "94" + # firefox_android: "94" + # safari: "15" + # safari_ios: "15" + - api.ShadowRoot.delegatesFocus + + # baseline: low + # baseline_low_date: 2024-04-18 + # support: + # chrome: "124" + # chrome_android: "124" + # edge: "124" + # firefox: "123" + # firefox_android: "123" + # safari: "17.4" + # safari_ios: "17.4" + - api.Element.attachShadow.options_clonable_parameter + + # baseline: low + # baseline_low_date: 2024-09-16 + # support: + # chrome: "125" + # chrome_android: "125" + # edge: "125" + # firefox: "128" + # firefox_android: "128" + # safari: "18" + # safari_ios: "18" + - api.ShadowRoot.serializable + + # ⬇️ Same status as overall feature ⬇️ + # baseline: false + # support: + # chrome: "125" + # chrome_android: "125" + # edge: "125" + - api.Element.attachShadow.options_serializable_parameter diff --git a/features/selection-api.yml b/features/selection-api.yml index 851119714ad..2461cada8fa 100644 --- a/features/selection-api.yml +++ b/features/selection-api.yml @@ -9,8 +9,44 @@ status: - api.Window.getSelection - api.Document.selectionchange_event compat_features: + - api.AbstractRange + - api.AbstractRange.collapsed + - api.AbstractRange.endContainer + - api.AbstractRange.endOffset + - api.AbstractRange.startContainer + - api.AbstractRange.startOffset + - api.Document.createRange - api.Document.getSelection - api.Document.selectionchange_event + - api.Range + - api.Range.Range + - api.Range.cloneContents + - api.Range.cloneRange + - api.Range.collapse + - api.Range.collapsed + - api.Range.commonAncestorContainer + - api.Range.compareBoundaryPoints + - api.Range.comparePoint + - api.Range.deleteContents + - api.Range.detach + - api.Range.endContainer + - api.Range.endOffset + - api.Range.extractContents + - api.Range.insertNode + - api.Range.intersectsNode + - api.Range.isPointInRange + - api.Range.selectNode + - api.Range.selectNodeContents + - api.Range.setEnd + - api.Range.setEndAfter + - api.Range.setEndBefore + - api.Range.setStart + - api.Range.setStartAfter + - api.Range.setStartBefore + - api.Range.startContainer + - api.Range.startOffset + - api.Range.surroundContents + - api.Range.toString - api.Selection - api.Selection.addRange - api.Selection.anchorNode @@ -56,3 +92,11 @@ compat_features: # removeRange is baseline low because it was only added in Safari 17. # Maybe split into a separate feature. - api.Selection.removeRange + + - api.StaticRange + - api.StaticRange.StaticRange + - api.StaticRange.collapsed + - api.StaticRange.endContainer + - api.StaticRange.endOffset + - api.StaticRange.startContainer + - api.StaticRange.startOffset diff --git a/features/selection-api.yml.dist b/features/selection-api.yml.dist index 6b67dd5b6f9..36569b32bd0 100644 --- a/features/selection-api.yml.dist +++ b/features/selection-api.yml.dist @@ -25,6 +25,31 @@ compat_features: # firefox_android: "4" # safari: "1" # safari_ios: "1" + - api.Document.createRange + - api.Range + - api.Range.cloneContents + - api.Range.cloneRange + - api.Range.collapse + - api.Range.collapsed + - api.Range.commonAncestorContainer + - api.Range.compareBoundaryPoints + - api.Range.deleteContents + - api.Range.endContainer + - api.Range.endOffset + - api.Range.extractContents + - api.Range.insertNode + - api.Range.selectNode + - api.Range.selectNodeContents + - api.Range.setEnd + - api.Range.setEndAfter + - api.Range.setEndBefore + - api.Range.setStart + - api.Range.setStartAfter + - api.Range.setStartBefore + - api.Range.startContainer + - api.Range.startOffset + - api.Range.surroundContents + - api.Range.toString - api.Window.getSelection # baseline: high @@ -108,6 +133,32 @@ compat_features: # safari_ios: "5" - api.Document.selectionchange_event + # baseline: high + # baseline_low_date: 2017-04-05 + # baseline_high_date: 2019-10-05 + # support: + # chrome: "1" + # chrome_android: "18" + # edge: "15" + # firefox: "1" + # firefox_android: "4" + # safari: "3" + # safari_ios: "1" + - api.Range.isPointInRange + + # baseline: high + # baseline_low_date: 2017-04-05 + # baseline_high_date: 2019-10-05 + # support: + # chrome: "29" + # chrome_android: "29" + # edge: "15" + # firefox: "24" + # firefox_android: "24" + # safari: "8" + # safari_ios: "8" + - api.Range.Range + # baseline: high # baseline_low_date: 2017-04-19 # baseline_high_date: 2019-10-19 @@ -160,6 +211,32 @@ compat_features: # safari_ios: "1" - api.Selection.type + # baseline: high + # baseline_low_date: 2018-04-30 + # baseline_high_date: 2020-10-30 + # support: + # chrome: "1" + # chrome_android: "18" + # edge: "17" + # firefox: "1" + # firefox_android: "4" + # safari: "3" + # safari_ios: "1" + - api.Range.comparePoint + + # baseline: high + # baseline_low_date: 2018-04-30 + # baseline_high_date: 2020-10-30 + # support: + # chrome: "1" + # chrome_android: "18" + # edge: "17" + # firefox: "17" + # firefox_android: "19" + # safari: "3" + # safari_ios: "1" + - api.Range.intersectsNode + # baseline: high # baseline_low_date: 2020-01-15 # baseline_high_date: 2022-07-15 @@ -173,6 +250,55 @@ compat_features: # safari_ios: "1" - api.Selection.modify + # baseline: high + # baseline_low_date: 2020-07-28 + # baseline_high_date: 2023-01-28 + # support: + # chrome: "60" + # chrome_android: "60" + # edge: "18" + # firefox: "69" + # firefox_android: "79" + # safari: "10.1" + # safari_ios: "10.3" + - api.StaticRange + - api.StaticRange.collapsed + - api.StaticRange.endContainer + - api.StaticRange.endOffset + - api.StaticRange.startContainer + - api.StaticRange.startOffset + + # baseline: high + # baseline_low_date: 2021-04-15 + # baseline_high_date: 2023-10-15 + # support: + # chrome: "90" + # chrome_android: "90" + # edge: "90" + # firefox: "71" + # firefox_android: "79" + # safari: "13.1" + # safari_ios: "13.4" + - api.StaticRange.StaticRange + + # baseline: high + # baseline_low_date: 2021-04-26 + # baseline_high_date: 2023-10-26 + # support: + # chrome: "90" + # chrome_android: "90" + # edge: "90" + # firefox: "69" + # firefox_android: "79" + # safari: "14.1" + # safari_ios: "14.5" + - api.AbstractRange + - api.AbstractRange.collapsed + - api.AbstractRange.endContainer + - api.AbstractRange.endOffset + - api.AbstractRange.startContainer + - api.AbstractRange.startOffset + # baseline: low # baseline_low_date: 2023-09-18 # support: @@ -195,6 +321,15 @@ compat_features: # safari: "1.3" - api.Node.selectstart_event + # baseline: false + # support: + # chrome: "1" + # chrome_android: "18" + # edge: "12" + # safari: "1" + # safari_ios: "1" + - api.Range.detach + # baseline: false # support: # firefox: "126" From 4944be9c77b5042e1621a41bd2e93962d127807e Mon Sep 17 00:00:00 2001 From: dietrich ayala Date: Tue, 22 Oct 2024 13:19:53 +0700 Subject: [PATCH 04/19] remove used key --- features/dom.yml | 1 - features/dom.yml.dist | 1 - 2 files changed, 2 deletions(-) diff --git a/features/dom.yml b/features/dom.yml index d0a76f3c7d5..8e733741823 100644 --- a/features/dom.yml +++ b/features/dom.yml @@ -71,7 +71,6 @@ compat_features: - api.Document.doctype - api.Document.documentElement - api.Document.documentURI - - api.Document.evaluate - api.Document.firstElementChild - api.Document.getElementById - api.Document.getElementsByClassName diff --git a/features/dom.yml.dist b/features/dom.yml.dist index c701b958438..7274ef6af2d 100644 --- a/features/dom.yml.dist +++ b/features/dom.yml.dist @@ -156,7 +156,6 @@ compat_features: - api.Document.characterSet - api.Document.createExpression - api.Document.createNodeIterator - - api.Document.evaluate - api.DocumentFragment - api.DocumentType - api.DocumentType.name From 03507991966b885541dc347478eabdbf7b8073b8 Mon Sep 17 00:00:00 2001 From: dietrich ayala Date: Wed, 23 Oct 2024 13:21:18 +0700 Subject: [PATCH 05/19] break some bits out --- features/dom.yml | 180 +------- features/dom.yml.dist | 743 +------------------------------- features/events.yml | 30 ++ features/events.yml.dist | 186 ++++++++ features/mutations.yml | 19 + features/mutations.yml.dist | 55 +++ features/node.yml | 82 ++++ features/node.yml.dist | 429 ++++++++++++++++++ features/queryselector.yml | 6 + features/queryselector.yml.dist | 18 + 10 files changed, 833 insertions(+), 915 deletions(-) create mode 100644 features/events.yml create mode 100644 features/events.yml.dist create mode 100644 features/mutations.yml create mode 100644 features/mutations.yml.dist create mode 100644 features/node.yml create mode 100644 features/node.yml.dist create mode 100644 features/queryselector.yml create mode 100644 features/queryselector.yml.dist diff --git a/features/dom.yml b/features/dom.yml index 8e733741823..f13bc826e22 100644 --- a/features/dom.yml +++ b/features/dom.yml @@ -1,5 +1,4 @@ -draft_date: 2024-09-30 -name: DOM Standard +name: DOM description: TODO spec: https://dom.spec.whatwg.org/ compat_features: @@ -27,9 +26,6 @@ compat_features: - api.CharacterData.substringData - api.Comment - api.Comment.Comment - - api.CustomEvent - - api.CustomEvent.CustomEvent - - api.CustomEvent.detail - api.DOMImplementation - api.DOMImplementation.createDocument - api.DOMImplementation.createDocumentType @@ -45,156 +41,10 @@ compat_features: - api.DOMTokenList.toString - api.DOMTokenList.toggle - api.DOMTokenList.value - - api.Document - - api.Document.Document - - api.Document.URL - - api.Document.adoptNode - - api.Document.append - - api.Document.characterSet - - api.Document.childElementCount - - api.Document.children - - 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.createEvent - - api.Document.createExpression - - api.Document.createNodeIterator - - api.Document.createProcessingInstruction - - api.Document.createTextNode - - api.Document.createTreeWalker - - api.Document.doctype - - api.Document.documentElement - - api.Document.documentURI - - api.Document.firstElementChild - - api.Document.getElementById - - api.Document.getElementsByClassName - - api.Document.getElementsByTagName - - api.Document.getElementsByTagNameNS - - api.Document.implementation - - api.Document.importNode - - api.Document.lastElementChild - - api.Document.prepend - - api.Document.querySelector - - api.Document.querySelectorAll - - api.Document.replaceChildren - - 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.attachShadow.options_clonable_parameter - - api.Element.attachShadow.options_delegatesFocus_parameter - - api.Element.attachShadow.options_serializable_parameter - - api.Element.attributes - - 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.getElementsByTagNameNS - - api.Element.hasAttribute - - api.Element.hasAttributeNS - - api.Element.hasAttributes - - api.Element.id - - api.Element.insertAdjacentElement - - 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.Event - - api.Event.Event - - api.Event.bubbles - - api.Event.cancelable - - api.Event.currentTarget - - api.Event.defaultPrevented - - api.Event.eventPhase - - api.Event.isTrusted - - api.Event.preventDefault - - api.Event.stopImmediatePropagation - - api.Event.stopPropagation - - api.Event.target - - api.Event.timeStamp - - api.Event.type - - api.EventTarget - - api.EventTarget.EventTarget - - api.EventTarget.addEventListener - - api.EventTarget.addEventListener.options_parameter.options_capture_parameter - - api.EventTarget.addEventListener.options_parameter.options_once_parameter - - api.EventTarget.addEventListener.options_parameter.options_passive_parameter - - api.EventTarget.addEventListener.options_parameter.options_signal_parameter - - api.EventTarget.dispatchEvent - - api.EventTarget.removeEventListener - api.HTMLCollection - api.HTMLCollection.item - api.HTMLCollection.length - api.HTMLCollection.namedItem - - api.MutationObserver - - api.MutationObserver.MutationObserver - - api.MutationObserver.disconnect - - api.MutationObserver.observe - - api.MutationObserver.takeRecords - - api.MutationRecord - - api.MutationRecord.addedNodes - - api.MutationRecord.attributeName - - api.MutationRecord.attributeNamespace - - api.MutationRecord.nextSibling - - api.MutationRecord.oldValue - - api.MutationRecord.previousSibling - - api.MutationRecord.removedNodes - - api.MutationRecord.target - - api.MutationRecord.type - api.NamedNodeMap - api.NamedNodeMap.getNamedItem - api.NamedNodeMap.getNamedItemNS @@ -204,34 +54,6 @@ compat_features: - 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 diff --git a/features/dom.yml.dist b/features/dom.yml.dist index 7274ef6af2d..b8e46ca3e65 100644 --- a/features/dom.yml.dist +++ b/features/dom.yml.dist @@ -2,11 +2,16 @@ # Do not edit this file by hand. Edit the source file instead! status: - baseline: false + baseline: low + baseline_low_date: 2024-09-16 support: chrome: "125" chrome_android: "125" edge: "125" + firefox: "128" + firefox_android: "128" + safari: "18" + safari_ios: "18" compat_features: # baseline: high # baseline_low_date: 2015-07-29 @@ -37,67 +42,10 @@ compat_features: - api.DOMImplementation - api.DOMImplementation.createDocument - api.DOMImplementation.createDocumentType - - api.Document - - api.Document.URL - - api.Document.createAttribute - - api.Document.createAttributeNS - - api.Document.createCDATASection - - api.Document.createComment - - api.Document.createDocumentFragment - - api.Document.createElement - - api.Document.createElementNS - - api.Document.createEvent - - api.Document.createProcessingInstruction - - api.Document.createTextNode - - api.Document.doctype - - api.Document.documentElement - - api.Document.getElementById - - api.Document.getElementsByTagName - - api.Document.getElementsByTagNameNS - - api.Document.implementation - - api.Document.importNode - - api.Element - - api.Element.attributes - - api.Element.getAttribute - - api.Element.getAttributeNS - - api.Element.getAttributeNode - - api.Element.getAttributeNodeNS - - api.Element.getElementsByTagName - - api.Element.getElementsByTagNameNS - - api.Element.hasAttribute - - api.Element.hasAttributeNS - - api.Element.hasAttributes - - api.Element.localName - - api.Element.namespaceURI - - api.Element.prefix - - api.Element.removeAttribute - - api.Element.removeAttributeNS - - api.Element.removeAttributeNode - - api.Element.setAttribute - - api.Element.setAttributeNS - - api.Element.setAttributeNode - - api.Element.setAttributeNodeNS - - api.Element.tagName - - api.Event - - api.Event.currentTarget - - api.Event.preventDefault - - api.Event.stopPropagation - - api.Event.target - - api.EventTarget - - api.EventTarget.addEventListener - - api.EventTarget.removeEventListener - api.HTMLCollection - api.HTMLCollection.item - api.HTMLCollection.length - api.HTMLCollection.namedItem - - api.Node - - api.Node.firstChild - - api.Node.hasChildNodes - - api.Node.nodeName - - api.Node.nodeValue - - api.Node.normalize - - api.Node.ownerDocument - - api.Node.previousSibling - api.NodeList - api.NodeList.item - api.NodeList.length @@ -106,39 +54,6 @@ compat_features: - api.Text - api.Text.splitText - # baseline: high - # baseline_low_date: 2015-07-29 - # baseline_high_date: 2018-01-29 - # support: - # chrome: "1" - # chrome_android: "18" - # edge: "12" - # firefox: "1" - # firefox_android: "4" - # safari: "1.1" - # safari_ios: "1" - - api.Node.appendChild - - api.Node.cloneNode - - api.Node.insertBefore - - api.Node.nextSibling - - api.Node.nodeType - - api.Node.parentNode - - api.Node.removeChild - - api.Node.replaceChild - - # baseline: high - # baseline_low_date: 2015-07-29 - # baseline_high_date: 2018-01-29 - # support: - # chrome: "1" - # chrome_android: "18" - # edge: "12" - # firefox: "1" - # firefox_android: "4" - # safari: "1.2" - # safari_ios: "1" - - api.Node.childNodes - # baseline: high # baseline_low_date: 2015-07-29 # baseline_high_date: 2018-01-29 @@ -152,89 +67,6 @@ compat_features: # safari_ios: "1" - api.CDATASection - api.Comment - - api.Document.adoptNode - - api.Document.characterSet - - api.Document.createExpression - - api.Document.createNodeIterator - - api.DocumentFragment - - api.DocumentType - - api.DocumentType.name - - api.DocumentType.publicId - - api.DocumentType.systemId - - api.Node.isDefaultNamespace - - api.Node.isEqualNode - - api.Node.lookupNamespaceURI - - api.Node.lookupPrefix - - api.Node.textContent - - # baseline: high - # baseline_low_date: 2015-07-29 - # baseline_high_date: 2018-01-29 - # support: - # chrome: "1" - # chrome_android: "18" - # edge: "12" - # firefox: "1" - # firefox_android: "4" - # safari: "3" - # safari_ios: "3" - - api.Document.createTreeWalker - - # baseline: high - # baseline_low_date: 2015-07-29 - # baseline_high_date: 2018-01-29 - # support: - # chrome: "1" - # chrome_android: "18" - # edge: "12" - # firefox: "1" - # firefox_android: "4" - # safari: "3.1" - # safari_ios: "2" - - api.Document.compatMode - - # baseline: high - # baseline_low_date: 2015-07-29 - # baseline_high_date: 2018-01-29 - # support: - # chrome: "1" - # chrome_android: "18" - # edge: "12" - # firefox: "1" - # firefox_android: "4" - # safari: ≤4 - # safari_ios: "1" - - api.Node.baseURI - - # baseline: high - # baseline_low_date: 2015-07-29 - # baseline_high_date: 2018-01-29 - # support: - # chrome: "1" - # chrome_android: "18" - # edge: "12" - # firefox: "1.5" - # firefox_android: "4" - # safari: "1" - # safari_ios: "1" - - api.Event.bubbles - - api.Event.cancelable - - api.Event.eventPhase - - api.Event.timeStamp - - api.Event.type - - # baseline: high - # baseline_low_date: 2015-07-29 - # baseline_high_date: 2018-01-29 - # support: - # chrome: "1" - # chrome_android: "18" - # edge: "12" - # firefox: "3" - # firefox_android: "4" - # safari: "3.1" - # safari_ios: "2" - - api.Document.getElementsByClassName # baseline: high # baseline_low_date: 2015-07-29 @@ -254,35 +86,6 @@ compat_features: - api.NodeIterator.root - api.NodeIterator.whatToShow - # baseline: high - # baseline_low_date: 2015-07-29 - # baseline_high_date: 2018-01-29 - # support: - # chrome: "1" - # chrome_android: "18" - # edge: "12" - # firefox: "3.5" - # firefox_android: "4" - # safari: "3.1" - # safari_ios: "2" - - api.Document.querySelector - - api.Document.querySelectorAll - - api.Element.querySelector - - api.Element.querySelectorAll - - # baseline: high - # baseline_low_date: 2015-07-29 - # baseline_high_date: 2018-01-29 - # support: - # chrome: "1" - # chrome_android: "18" - # edge: "12" - # firefox: "3.5" - # firefox_android: "4" - # safari: "4" - # safari_ios: "3" - - api.Element.children - # baseline: high # baseline_low_date: 2015-07-29 # baseline_high_date: 2018-01-29 @@ -320,19 +123,6 @@ compat_features: - api.TreeWalker.root - api.TreeWalker.whatToShow - # baseline: high - # baseline_low_date: 2015-07-29 - # baseline_high_date: 2018-01-29 - # support: - # chrome: "1" - # chrome_android: "18" - # edge: "12" - # firefox: "9" - # firefox_android: "9" - # safari: "1.1" - # safari_ios: "1" - - api.Node.parentElement - # baseline: high # baseline_low_date: 2015-07-29 # baseline_high_date: 2018-01-29 @@ -354,38 +144,6 @@ compat_features: - api.NamedNodeMap.setNamedItem - api.NamedNodeMap.setNamedItemNS - # baseline: high - # baseline_low_date: 2015-07-29 - # baseline_high_date: 2018-01-29 - # support: - # chrome: "2" - # chrome_android: "18" - # edge: "12" - # firefox: "1" - # firefox_android: "4" - # safari: "4" - # safari_ios: "3.2" - - api.Node.compareDocumentPosition - - # baseline: high - # baseline_low_date: 2015-07-29 - # baseline_high_date: 2018-01-29 - # support: - # chrome: "2" - # chrome_android: "18" - # edge: "12" - # firefox: "3.5" - # firefox_android: "4" - # safari: "4" - # safari_ios: "3" - - api.DocumentFragment.querySelector - - api.DocumentFragment.querySelectorAll - - api.Element.childElementCount - - api.Element.firstElementChild - - api.Element.lastElementChild - - api.Element.nextElementSibling - - api.Element.previousElementSibling - # baseline: high # baseline_low_date: 2015-07-29 # baseline_high_date: 2018-01-29 @@ -399,47 +157,6 @@ compat_features: # safari_ios: "3.2" - api.Text.wholeText - # baseline: high - # baseline_low_date: 2015-07-29 - # baseline_high_date: 2018-01-29 - # support: - # chrome: "4" - # chrome_android: "18" - # edge: "12" - # firefox: "2" - # firefox_android: "4" - # safari: "3.1" - # safari_ios: "3" - - api.EventTarget.dispatchEvent - - # baseline: high - # baseline_low_date: 2015-07-29 - # baseline_high_date: 2018-01-29 - # support: - # chrome: "5" - # chrome_android: "18" - # edge: "12" - # firefox: "6" - # firefox_android: "6" - # safari: "5" - # safari_ios: "5" - - api.CustomEvent - - api.CustomEvent.detail - - api.Event.defaultPrevented - - # baseline: high - # baseline_low_date: 2015-07-29 - # baseline_high_date: 2018-01-29 - # support: - # chrome: "5" - # chrome_android: "18" - # edge: "12" - # firefox: "10" - # firefox_android: "10" - # safari: "5" - # safari_ios: "5" - - api.Event.stopImmediatePropagation - # baseline: high # baseline_low_date: 2015-07-29 # baseline_high_date: 2018-01-29 @@ -460,81 +177,6 @@ compat_features: - api.DOMTokenList.toString - api.DOMTokenList.toggle - # baseline: high - # baseline_low_date: 2015-07-29 - # baseline_high_date: 2018-01-29 - # support: - # chrome: "15" - # chrome_android: "18" - # edge: "12" - # firefox: "11" - # firefox_android: "14" - # safari: "6" - # safari_ios: "6" - - api.CustomEvent.CustomEvent - - api.Event.Event - - # baseline: high - # baseline_low_date: 2015-07-29 - # baseline_high_date: 2018-01-29 - # support: - # chrome: "16" - # chrome_android: "18" - # edge: "12" - # firefox: "9" - # firefox_android: "9" - # safari: "1.1" - # safari_ios: "1" - - api.Node.contains - - # baseline: high - # baseline_low_date: 2015-07-29 - # baseline_high_date: 2018-01-29 - # support: - # chrome: "16" - # chrome_android: "18" - # edge: "12" - # firefox: "14" - # firefox_android: "14" - # safari: "7" - # safari_ios: "7" - - api.MutationRecord - - api.MutationRecord.addedNodes - - api.MutationRecord.attributeName - - api.MutationRecord.attributeNamespace - - api.MutationRecord.nextSibling - - api.MutationRecord.oldValue - - api.MutationRecord.previousSibling - - api.MutationRecord.removedNodes - - api.MutationRecord.target - - api.MutationRecord.type - - # baseline: high - # baseline_low_date: 2015-07-29 - # baseline_high_date: 2018-01-29 - # support: - # chrome: "22" - # chrome_android: "25" - # edge: "12" - # firefox: "1" - # firefox_android: "4" - # safari: "1" - # safari_ios: "1" - - api.Element.className - - # baseline: high - # baseline_low_date: 2015-07-29 - # baseline_high_date: 2018-01-29 - # support: - # chrome: "23" - # chrome_android: "25" - # edge: "12" - # firefox: "1" - # firefox_android: "4" - # safari: "1" - # safari_ios: "1" - - api.Element.id - # baseline: high # baseline_low_date: 2015-07-29 # baseline_high_date: 2018-01-29 @@ -547,51 +189,6 @@ compat_features: # safari: "7" # safari_ios: "7" - api.CharacterData.remove - - api.DocumentType.remove - - api.Element.remove - - # baseline: high - # baseline_low_date: 2015-07-29 - # baseline_high_date: 2018-01-29 - # support: - # chrome: "26" - # chrome_android: "26" - # edge: "12" - # firefox: "14" - # firefox_android: "14" - # safari: "7" - # safari_ios: "7" - - api.MutationObserver - - api.MutationObserver.MutationObserver - - api.MutationObserver.disconnect - - api.MutationObserver.observe - - api.MutationObserver.takeRecords - - # baseline: high - # baseline_low_date: 2016-03-08 - # baseline_high_date: 2018-09-08 - # support: - # chrome: "1" - # chrome_android: "18" - # edge: "12" - # firefox: "1" - # firefox_android: "45" - # safari: "1" - # safari_ios: "1" - - api.Node.lastChild - - # baseline: high - # baseline_low_date: 2016-08-02 - # baseline_high_date: 2019-02-02 - # support: - # chrome: "1" - # chrome_android: "18" - # edge: "12" - # firefox: "48" - # firefox_android: "48" - # safari: "3" - # safari_ios: "1" - - api.Node.isSameNode # baseline: high # baseline_low_date: 2016-09-20 @@ -606,71 +203,6 @@ compat_features: # safari_ios: "10" - api.XMLDocument - # baseline: high - # baseline_low_date: 2016-09-20 - # baseline_high_date: 2019-03-20 - # support: - # chrome: "46" - # chrome_android: "46" - # edge: "12" - # firefox: "1.5" - # firefox_android: "4" - # safari: "10" - # safari_ios: "10" - - api.Event.isTrusted - - # baseline: high - # baseline_low_date: 2017-04-05 - # baseline_high_date: 2019-10-05 - # support: - # chrome: "33" - # chrome_android: "33" - # edge: "15" - # firefox: "34" - # firefox_android: "34" - # safari: "8" - # safari_ios: "8" - - api.Element.matches - - # baseline: high - # baseline_low_date: 2017-04-05 - # baseline_high_date: 2019-10-05 - # support: - # chrome: "41" - # chrome_android: "41" - # edge: "15" - # firefox: "35" - # firefox_android: "35" - # safari: "6" - # safari_ios: "9" - - api.Element.closest - - # baseline: high - # baseline_low_date: 2017-10-17 - # baseline_high_date: 2020-04-17 - # support: - # chrome: "1" - # chrome_android: "18" - # edge: "16" - # firefox: "3" - # firefox_android: "4" - # safari: "3.1" - # safari_ios: "2" - - api.Element.getElementsByClassName - - # baseline: high - # baseline_low_date: 2017-10-17 - # baseline_high_date: 2020-04-17 - # support: - # chrome: "22" - # chrome_android: "25" - # edge: "16" - # firefox: "3.6" - # firefox_android: "4" - # safari: "7" - # safari_ios: "7" - - api.Element.classList - # baseline: high # baseline_low_date: 2017-10-17 # baseline_high_date: 2020-04-17 @@ -685,20 +217,6 @@ compat_features: - api.Comment.Comment - api.Text.Text - # baseline: high - # baseline_low_date: 2017-10-17 - # baseline_high_date: 2020-04-17 - # support: - # chrome: "29" - # chrome_android: "29" - # edge: "16" - # firefox: "25" - # firefox_android: "25" - # safari: "9" - # safari_ios: "9" - - api.Document.children - - api.DocumentFragment.children - # baseline: high # baseline_low_date: 2017-10-17 # baseline_high_date: 2020-04-17 @@ -712,19 +230,6 @@ compat_features: # safari_ios: "10" - api.NodeList.forEach - # baseline: high - # baseline_low_date: 2018-04-30 - # baseline_high_date: 2020-10-30 - # support: - # chrome: "1" - # chrome_android: "18" - # edge: "17" - # firefox: "1" - # firefox_android: "4" - # safari: "3" - # safari_ios: "1" - - api.Document.documentURI - # baseline: high # baseline_low_date: 2018-04-30 # baseline_high_date: 2020-10-30 @@ -739,45 +244,6 @@ compat_features: - api.NodeIterator.pointerBeforeReferenceNode - api.NodeIterator.referenceNode - # baseline: high - # baseline_low_date: 2018-04-30 - # baseline_high_date: 2020-10-30 - # support: - # chrome: "1" - # chrome_android: "18" - # edge: "17" - # firefox: "48" - # firefox_android: "48" - # safari: "3" - # safari_ios: "1" - - api.Element.insertAdjacentElement - - # baseline: high - # baseline_low_date: 2018-04-30 - # baseline_high_date: 2020-10-30 - # support: - # chrome: "1" - # chrome_android: "18" - # edge: "17" - # firefox: "48" - # firefox_android: "48" - # safari: "4" - # safari_ios: "4" - - api.Element.insertAdjacentText - - # baseline: high - # baseline_low_date: 2018-04-30 - # baseline_high_date: 2020-10-30 - # support: - # chrome: "29" - # chrome_android: "29" - # edge: "17" - # firefox: "24" - # firefox_android: "24" - # safari: "8" - # safari_ios: "8" - - api.DocumentFragment.DocumentFragment - # baseline: high # baseline_low_date: 2018-04-30 # baseline_high_date: 2020-10-30 @@ -791,38 +257,6 @@ compat_features: # safari_ios: "9" - api.CharacterData.nextElementSibling - api.CharacterData.previousElementSibling - - api.Document.childElementCount - - api.Document.firstElementChild - - api.Document.lastElementChild - - api.DocumentFragment.childElementCount - - api.DocumentFragment.firstElementChild - - api.DocumentFragment.lastElementChild - - # baseline: high - # baseline_low_date: 2018-04-30 - # baseline_high_date: 2020-10-30 - # support: - # chrome: "36" - # chrome_android: "36" - # edge: "17" - # firefox: "1" - # firefox_android: "4" - # safari: "9" - # safari_ios: "9" - - api.Document.contentType - - # baseline: high - # baseline_low_date: 2018-04-30 - # baseline_high_date: 2020-10-30 - # support: - # chrome: "36" - # chrome_android: "36" - # edge: "17" - # firefox: "28" - # firefox_android: "28" - # safari: "9" - # safari_ios: "9" - - api.DocumentFragment.getElementById # baseline: high # baseline_low_date: 2018-04-30 @@ -864,31 +298,6 @@ compat_features: - api.CharacterData.after - api.CharacterData.before - api.CharacterData.replaceWith - - api.Document.append - - api.Document.prepend - - api.DocumentFragment.append - - api.DocumentFragment.prepend - - api.DocumentType.after - - api.DocumentType.before - - api.DocumentType.replaceWith - - api.Element.after - - api.Element.append - - api.Element.before - - api.Element.prepend - - api.Element.replaceWith - - # baseline: high - # baseline_low_date: 2018-04-30 - # baseline_high_date: 2020-10-30 - # support: - # chrome: "60" - # chrome_android: "60" - # edge: "17" - # firefox: "20" - # firefox_android: "20" - # safari: "8" - # safari_ios: "8" - - api.Document.Document # baseline: high # baseline_low_date: 2018-04-30 @@ -903,71 +312,6 @@ compat_features: # safari_ios: "10.3" - api.DOMTokenList.replace - # baseline: high - # baseline_low_date: 2018-10-02 - # baseline_high_date: 2021-04-02 - # support: - # chrome: "61" - # chrome_android: "61" - # edge: "18" - # firefox: "45" - # firefox_android: "45" - # safari: "10.1" - # safari_ios: "10.3" - - api.Element.getAttributeNames - - # baseline: high - # baseline_low_date: ≤2018-10-02 - # baseline_high_date: ≤2021-04-02 - # support: - # chrome: "51" - # chrome_android: "51" - # edge: ≤18 - # firefox: "49" - # firefox_android: "49" - # safari: "10" - # safari_ios: "10" - - api.EventTarget.addEventListener.options_parameter.options_passive_parameter - - # baseline: high - # baseline_low_date: ≤2018-10-02 - # baseline_high_date: ≤2021-04-02 - # support: - # chrome: "52" - # chrome_android: "52" - # edge: ≤18 - # firefox: "49" - # firefox_android: "49" - # safari: "10" - # safari_ios: "10" - - api.EventTarget.addEventListener.options_parameter.options_capture_parameter - - # baseline: high - # baseline_low_date: ≤2018-10-02 - # baseline_high_date: ≤2021-04-02 - # support: - # chrome: "55" - # chrome_android: "55" - # edge: ≤18 - # firefox: "50" - # firefox_android: "50" - # safari: "10" - # safari_ios: "10" - - api.EventTarget.addEventListener.options_parameter.options_once_parameter - - # baseline: high - # baseline_low_date: 2018-10-23 - # baseline_high_date: 2021-04-23 - # support: - # chrome: "69" - # chrome_android: "69" - # edge: "18" - # firefox: "63" - # firefox_android: "63" - # safari: "12" - # safari_ios: "12" - - api.Element.toggleAttribute - # baseline: high # baseline_low_date: 2020-01-15 # baseline_high_date: 2022-07-15 @@ -981,60 +325,6 @@ compat_features: # safari_ios: "10" - api.NodeList.@@iterator - # baseline: high - # baseline_low_date: 2020-09-16 - # baseline_high_date: 2023-03-16 - # support: - # chrome: "64" - # chrome_android: "64" - # edge: "79" - # firefox: "59" - # firefox_android: "59" - # safari: "14" - # safari_ios: "14" - - api.EventTarget.EventTarget - - # baseline: high - # baseline_low_date: 2020-10-20 - # baseline_high_date: 2023-04-20 - # support: - # chrome: "86" - # chrome_android: "86" - # edge: "86" - # firefox: "78" - # firefox_android: "79" - # safari: "14" - # safari_ios: "14" - - api.Document.replaceChildren - - api.DocumentFragment.replaceChildren - - api.Element.replaceChildren - - # baseline: high - # baseline_low_date: 2021-09-20 - # baseline_high_date: 2024-03-20 - # support: - # chrome: "90" - # chrome_android: "90" - # edge: "90" - # firefox: "86" - # firefox_android: "86" - # safari: "15" - # safari_ios: "15" - - api.EventTarget.addEventListener.options_parameter.options_signal_parameter - - # baseline: high - # baseline_low_date: 2021-11-02 - # baseline_high_date: 2024-05-02 - # support: - # chrome: "53" - # chrome_android: "53" - # edge: "79" - # firefox: "94" - # firefox_android: "94" - # safari: "13.1" - # safari_ios: "13.4" - - api.Element.attachShadow.options_delegatesFocus_parameter - # baseline: high # baseline_low_date: 2021-11-02 # baseline_high_date: 2024-05-02 @@ -1048,18 +338,7 @@ compat_features: # safari_ios: "15" - api.ShadowRoot.delegatesFocus - # baseline: low - # baseline_low_date: 2024-04-18 - # support: - # chrome: "124" - # chrome_android: "124" - # edge: "124" - # firefox: "123" - # firefox_android: "123" - # safari: "17.4" - # safari_ios: "17.4" - - api.Element.attachShadow.options_clonable_parameter - + # ⬇️ Same status as overall feature ⬇️ # baseline: low # baseline_low_date: 2024-09-16 # support: @@ -1071,11 +350,3 @@ compat_features: # safari: "18" # safari_ios: "18" - api.ShadowRoot.serializable - - # ⬇️ Same status as overall feature ⬇️ - # baseline: false - # support: - # chrome: "125" - # chrome_android: "125" - # edge: "125" - - api.Element.attachShadow.options_serializable_parameter diff --git a/features/events.yml b/features/events.yml new file mode 100644 index 00000000000..153e9b6c9d2 --- /dev/null +++ b/features/events.yml @@ -0,0 +1,30 @@ +name: Events +description: TODO +spec: https://dom.spec.whatwg.org/ +compat_features: + - api.CustomEvent + - api.CustomEvent.CustomEvent + - api.CustomEvent.detail + - api.Event + - api.Event.Event + - api.Event.bubbles + - api.Event.cancelable + - api.Event.currentTarget + - api.Event.defaultPrevented + - api.Event.eventPhase + - api.Event.isTrusted + - api.Event.preventDefault + - api.Event.stopImmediatePropagation + - api.Event.stopPropagation + - api.Event.target + - api.Event.timeStamp + - api.Event.type + - api.EventTarget + - api.EventTarget.EventTarget + - api.EventTarget.addEventListener + - api.EventTarget.addEventListener.options_parameter.options_capture_parameter + - api.EventTarget.addEventListener.options_parameter.options_once_parameter + - api.EventTarget.addEventListener.options_parameter.options_passive_parameter + - api.EventTarget.addEventListener.options_parameter.options_signal_parameter + - api.EventTarget.dispatchEvent + - api.EventTarget.removeEventListener diff --git a/features/events.yml.dist b/features/events.yml.dist new file mode 100644 index 00000000000..b297e530ee4 --- /dev/null +++ b/features/events.yml.dist @@ -0,0 +1,186 @@ +# Generated from: events.yml +# Do not edit this file by hand. Edit the source file instead! + +status: + baseline: high + baseline_low_date: 2021-09-20 + baseline_high_date: 2024-03-20 + support: + chrome: "90" + chrome_android: "90" + edge: "90" + firefox: "86" + firefox_android: "86" + safari: "15" + safari_ios: "15" +compat_features: + # baseline: high + # baseline_low_date: 2015-07-29 + # baseline_high_date: 2018-01-29 + # support: + # chrome: "1" + # chrome_android: "18" + # edge: "12" + # firefox: "1" + # firefox_android: "4" + # safari: "1" + # safari_ios: "1" + - api.Event + - api.Event.currentTarget + - api.Event.preventDefault + - api.Event.stopPropagation + - api.Event.target + - api.EventTarget + - api.EventTarget.addEventListener + - api.EventTarget.removeEventListener + + # baseline: high + # baseline_low_date: 2015-07-29 + # baseline_high_date: 2018-01-29 + # support: + # chrome: "1" + # chrome_android: "18" + # edge: "12" + # firefox: "1.5" + # firefox_android: "4" + # safari: "1" + # safari_ios: "1" + - api.Event.bubbles + - api.Event.cancelable + - api.Event.eventPhase + - api.Event.timeStamp + - api.Event.type + + # baseline: high + # baseline_low_date: 2015-07-29 + # baseline_high_date: 2018-01-29 + # support: + # chrome: "4" + # chrome_android: "18" + # edge: "12" + # firefox: "2" + # firefox_android: "4" + # safari: "3.1" + # safari_ios: "3" + - api.EventTarget.dispatchEvent + + # baseline: high + # baseline_low_date: 2015-07-29 + # baseline_high_date: 2018-01-29 + # support: + # chrome: "5" + # chrome_android: "18" + # edge: "12" + # firefox: "6" + # firefox_android: "6" + # safari: "5" + # safari_ios: "5" + - api.CustomEvent + - api.CustomEvent.detail + - api.Event.defaultPrevented + + # baseline: high + # baseline_low_date: 2015-07-29 + # baseline_high_date: 2018-01-29 + # support: + # chrome: "5" + # chrome_android: "18" + # edge: "12" + # firefox: "10" + # firefox_android: "10" + # safari: "5" + # safari_ios: "5" + - api.Event.stopImmediatePropagation + + # baseline: high + # baseline_low_date: 2015-07-29 + # baseline_high_date: 2018-01-29 + # support: + # chrome: "15" + # chrome_android: "18" + # edge: "12" + # firefox: "11" + # firefox_android: "14" + # safari: "6" + # safari_ios: "6" + - api.CustomEvent.CustomEvent + - api.Event.Event + + # baseline: high + # baseline_low_date: 2016-09-20 + # baseline_high_date: 2019-03-20 + # support: + # chrome: "46" + # chrome_android: "46" + # edge: "12" + # firefox: "1.5" + # firefox_android: "4" + # safari: "10" + # safari_ios: "10" + - api.Event.isTrusted + + # baseline: high + # baseline_low_date: ≤2018-10-02 + # baseline_high_date: ≤2021-04-02 + # support: + # chrome: "51" + # chrome_android: "51" + # edge: ≤18 + # firefox: "49" + # firefox_android: "49" + # safari: "10" + # safari_ios: "10" + - api.EventTarget.addEventListener.options_parameter.options_passive_parameter + + # baseline: high + # baseline_low_date: ≤2018-10-02 + # baseline_high_date: ≤2021-04-02 + # support: + # chrome: "52" + # chrome_android: "52" + # edge: ≤18 + # firefox: "49" + # firefox_android: "49" + # safari: "10" + # safari_ios: "10" + - api.EventTarget.addEventListener.options_parameter.options_capture_parameter + + # baseline: high + # baseline_low_date: ≤2018-10-02 + # baseline_high_date: ≤2021-04-02 + # support: + # chrome: "55" + # chrome_android: "55" + # edge: ≤18 + # firefox: "50" + # firefox_android: "50" + # safari: "10" + # safari_ios: "10" + - api.EventTarget.addEventListener.options_parameter.options_once_parameter + + # baseline: high + # baseline_low_date: 2020-09-16 + # baseline_high_date: 2023-03-16 + # support: + # chrome: "64" + # chrome_android: "64" + # edge: "79" + # firefox: "59" + # firefox_android: "59" + # safari: "14" + # safari_ios: "14" + - api.EventTarget.EventTarget + + # ⬇️ Same status as overall feature ⬇️ + # baseline: high + # baseline_low_date: 2021-09-20 + # baseline_high_date: 2024-03-20 + # support: + # chrome: "90" + # chrome_android: "90" + # edge: "90" + # firefox: "86" + # firefox_android: "86" + # safari: "15" + # safari_ios: "15" + - api.EventTarget.addEventListener.options_parameter.options_signal_parameter diff --git a/features/mutations.yml b/features/mutations.yml new file mode 100644 index 00000000000..d62e5fba725 --- /dev/null +++ b/features/mutations.yml @@ -0,0 +1,19 @@ +name: Mutations +description: TODO +spec: https://dom.spec.whatwg.org/ +compat_features: + - api.MutationObserver + - api.MutationObserver.MutationObserver + - api.MutationObserver.disconnect + - api.MutationObserver.observe + - api.MutationObserver.takeRecords + - api.MutationRecord + - api.MutationRecord.addedNodes + - api.MutationRecord.attributeName + - api.MutationRecord.attributeNamespace + - api.MutationRecord.nextSibling + - api.MutationRecord.oldValue + - api.MutationRecord.previousSibling + - api.MutationRecord.removedNodes + - api.MutationRecord.target + - api.MutationRecord.type diff --git a/features/mutations.yml.dist b/features/mutations.yml.dist new file mode 100644 index 00000000000..d7644d8f9b0 --- /dev/null +++ b/features/mutations.yml.dist @@ -0,0 +1,55 @@ +# Generated from: mutations.yml +# Do not edit this file by hand. Edit the source file instead! + +status: + baseline: high + baseline_low_date: 2015-07-29 + baseline_high_date: 2018-01-29 + support: + chrome: "26" + chrome_android: "26" + edge: "12" + firefox: "14" + firefox_android: "14" + safari: "7" + safari_ios: "7" +compat_features: + # baseline: high + # baseline_low_date: 2015-07-29 + # baseline_high_date: 2018-01-29 + # support: + # chrome: "16" + # chrome_android: "18" + # edge: "12" + # firefox: "14" + # firefox_android: "14" + # safari: "7" + # safari_ios: "7" + - api.MutationRecord + - api.MutationRecord.addedNodes + - api.MutationRecord.attributeName + - api.MutationRecord.attributeNamespace + - api.MutationRecord.nextSibling + - api.MutationRecord.oldValue + - api.MutationRecord.previousSibling + - api.MutationRecord.removedNodes + - api.MutationRecord.target + - api.MutationRecord.type + + # ⬇️ Same status as overall feature ⬇️ + # baseline: high + # baseline_low_date: 2015-07-29 + # baseline_high_date: 2018-01-29 + # support: + # chrome: "26" + # chrome_android: "26" + # edge: "12" + # firefox: "14" + # firefox_android: "14" + # safari: "7" + # safari_ios: "7" + - api.MutationObserver + - api.MutationObserver.MutationObserver + - api.MutationObserver.disconnect + - api.MutationObserver.observe + - api.MutationObserver.takeRecords diff --git a/features/node.yml b/features/node.yml new file mode 100644 index 00000000000..b27df2346fd --- /dev/null +++ b/features/node.yml @@ -0,0 +1,82 @@ +name: Element / Node +description: TODO +spec: https://dom.spec.whatwg.org/ +compat_features: + - api.Element + - api.Element.after + - api.Element.append + - api.Element.attachShadow.options_clonable_parameter + - api.Element.attachShadow.options_delegatesFocus_parameter + - api.Element.attachShadow.options_serializable_parameter + - api.Element.attributes + - 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.getElementsByTagNameNS + - api.Element.hasAttribute + - api.Element.hasAttributeNS + - api.Element.hasAttributes + - api.Element.id + - api.Element.insertAdjacentElement + - 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.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 diff --git a/features/node.yml.dist b/features/node.yml.dist new file mode 100644 index 00000000000..e732896cd29 --- /dev/null +++ b/features/node.yml.dist @@ -0,0 +1,429 @@ +# Generated from: node.yml +# Do not edit this file by hand. Edit the source file instead! + +status: + baseline: false + support: + chrome: "125" + chrome_android: "125" + edge: "125" +compat_features: + # baseline: high + # baseline_low_date: 2015-07-29 + # baseline_high_date: 2018-01-29 + # support: + # chrome: "1" + # chrome_android: "18" + # edge: "12" + # firefox: "1" + # firefox_android: "4" + # safari: "1" + # safari_ios: "1" + - api.Element + - api.Element.attributes + - api.Element.getAttribute + - api.Element.getAttributeNS + - api.Element.getAttributeNode + - api.Element.getAttributeNodeNS + - api.Element.getElementsByTagName + - api.Element.getElementsByTagNameNS + - api.Element.hasAttribute + - api.Element.hasAttributeNS + - api.Element.hasAttributes + - api.Element.localName + - api.Element.namespaceURI + - api.Element.prefix + - api.Element.removeAttribute + - api.Element.removeAttributeNS + - api.Element.removeAttributeNode + - api.Element.setAttribute + - api.Element.setAttributeNS + - api.Element.setAttributeNode + - api.Element.setAttributeNodeNS + - api.Element.tagName + - api.Node + - api.Node.firstChild + - api.Node.hasChildNodes + - api.Node.nodeName + - api.Node.nodeValue + - api.Node.normalize + - api.Node.ownerDocument + - api.Node.previousSibling + + # baseline: high + # baseline_low_date: 2015-07-29 + # baseline_high_date: 2018-01-29 + # support: + # chrome: "1" + # chrome_android: "18" + # edge: "12" + # firefox: "1" + # firefox_android: "4" + # safari: "1.1" + # safari_ios: "1" + - api.Node.appendChild + - api.Node.cloneNode + - api.Node.insertBefore + - api.Node.nextSibling + - api.Node.nodeType + - api.Node.parentNode + - api.Node.removeChild + - api.Node.replaceChild + + # baseline: high + # baseline_low_date: 2015-07-29 + # baseline_high_date: 2018-01-29 + # support: + # chrome: "1" + # chrome_android: "18" + # edge: "12" + # firefox: "1" + # firefox_android: "4" + # safari: "1.2" + # safari_ios: "1" + - api.Node.childNodes + + # baseline: high + # baseline_low_date: 2015-07-29 + # baseline_high_date: 2018-01-29 + # support: + # chrome: "1" + # chrome_android: "18" + # edge: "12" + # firefox: "1" + # firefox_android: "4" + # safari: "3" + # safari_ios: "1" + - api.Node.isDefaultNamespace + - api.Node.isEqualNode + - api.Node.lookupNamespaceURI + - api.Node.lookupPrefix + - api.Node.textContent + + # baseline: high + # baseline_low_date: 2015-07-29 + # baseline_high_date: 2018-01-29 + # support: + # chrome: "1" + # chrome_android: "18" + # edge: "12" + # firefox: "1" + # firefox_android: "4" + # safari: ≤4 + # safari_ios: "1" + - api.Node.baseURI + + # baseline: high + # baseline_low_date: 2015-07-29 + # baseline_high_date: 2018-01-29 + # support: + # chrome: "1" + # chrome_android: "18" + # edge: "12" + # firefox: "3.5" + # firefox_android: "4" + # safari: "3.1" + # safari_ios: "2" + - api.Element.querySelector + - api.Element.querySelectorAll + + # baseline: high + # baseline_low_date: 2015-07-29 + # baseline_high_date: 2018-01-29 + # support: + # chrome: "1" + # chrome_android: "18" + # edge: "12" + # firefox: "3.5" + # firefox_android: "4" + # safari: "4" + # safari_ios: "3" + - api.Element.children + + # baseline: high + # baseline_low_date: 2015-07-29 + # baseline_high_date: 2018-01-29 + # support: + # chrome: "1" + # chrome_android: "18" + # edge: "12" + # firefox: "9" + # firefox_android: "9" + # safari: "1.1" + # safari_ios: "1" + - api.Node.parentElement + + # baseline: high + # baseline_low_date: 2015-07-29 + # baseline_high_date: 2018-01-29 + # support: + # chrome: "2" + # chrome_android: "18" + # edge: "12" + # firefox: "1" + # firefox_android: "4" + # safari: "4" + # safari_ios: "3.2" + - api.Node.compareDocumentPosition + + # baseline: high + # baseline_low_date: 2015-07-29 + # baseline_high_date: 2018-01-29 + # support: + # chrome: "2" + # chrome_android: "18" + # edge: "12" + # firefox: "3.5" + # firefox_android: "4" + # safari: "4" + # safari_ios: "3" + - api.Element.childElementCount + - api.Element.firstElementChild + - api.Element.lastElementChild + - api.Element.nextElementSibling + - api.Element.previousElementSibling + + # baseline: high + # baseline_low_date: 2015-07-29 + # baseline_high_date: 2018-01-29 + # support: + # chrome: "16" + # chrome_android: "18" + # edge: "12" + # firefox: "9" + # firefox_android: "9" + # safari: "1.1" + # safari_ios: "1" + - api.Node.contains + + # baseline: high + # baseline_low_date: 2015-07-29 + # baseline_high_date: 2018-01-29 + # support: + # chrome: "22" + # chrome_android: "25" + # edge: "12" + # firefox: "1" + # firefox_android: "4" + # safari: "1" + # safari_ios: "1" + - api.Element.className + + # baseline: high + # baseline_low_date: 2015-07-29 + # baseline_high_date: 2018-01-29 + # support: + # chrome: "23" + # chrome_android: "25" + # edge: "12" + # firefox: "1" + # firefox_android: "4" + # safari: "1" + # safari_ios: "1" + - api.Element.id + + # baseline: high + # baseline_low_date: 2015-07-29 + # baseline_high_date: 2018-01-29 + # support: + # chrome: "24" + # chrome_android: "25" + # edge: "12" + # firefox: "23" + # firefox_android: "23" + # safari: "7" + # safari_ios: "7" + - api.Element.remove + + # baseline: high + # baseline_low_date: 2016-03-08 + # baseline_high_date: 2018-09-08 + # support: + # chrome: "1" + # chrome_android: "18" + # edge: "12" + # firefox: "1" + # firefox_android: "45" + # safari: "1" + # safari_ios: "1" + - api.Node.lastChild + + # baseline: high + # baseline_low_date: 2016-08-02 + # baseline_high_date: 2019-02-02 + # support: + # chrome: "1" + # chrome_android: "18" + # edge: "12" + # firefox: "48" + # firefox_android: "48" + # safari: "3" + # safari_ios: "1" + - api.Node.isSameNode + + # baseline: high + # baseline_low_date: 2017-04-05 + # baseline_high_date: 2019-10-05 + # support: + # chrome: "33" + # chrome_android: "33" + # edge: "15" + # firefox: "34" + # firefox_android: "34" + # safari: "8" + # safari_ios: "8" + - api.Element.matches + + # baseline: high + # baseline_low_date: 2017-04-05 + # baseline_high_date: 2019-10-05 + # support: + # chrome: "41" + # chrome_android: "41" + # edge: "15" + # firefox: "35" + # firefox_android: "35" + # safari: "6" + # safari_ios: "9" + - api.Element.closest + + # baseline: high + # baseline_low_date: 2017-10-17 + # baseline_high_date: 2020-04-17 + # support: + # chrome: "1" + # chrome_android: "18" + # edge: "16" + # firefox: "3" + # firefox_android: "4" + # safari: "3.1" + # safari_ios: "2" + - api.Element.getElementsByClassName + + # baseline: high + # baseline_low_date: 2017-10-17 + # baseline_high_date: 2020-04-17 + # support: + # chrome: "22" + # chrome_android: "25" + # edge: "16" + # firefox: "3.6" + # firefox_android: "4" + # safari: "7" + # safari_ios: "7" + - api.Element.classList + + # baseline: high + # baseline_low_date: 2018-04-30 + # baseline_high_date: 2020-10-30 + # support: + # chrome: "1" + # chrome_android: "18" + # edge: "17" + # firefox: "48" + # firefox_android: "48" + # safari: "3" + # safari_ios: "1" + - api.Element.insertAdjacentElement + + # baseline: high + # baseline_low_date: 2018-04-30 + # baseline_high_date: 2020-10-30 + # support: + # chrome: "1" + # chrome_android: "18" + # edge: "17" + # firefox: "48" + # firefox_android: "48" + # safari: "4" + # safari_ios: "4" + - api.Element.insertAdjacentText + + # baseline: high + # baseline_low_date: 2018-04-30 + # baseline_high_date: 2020-10-30 + # support: + # chrome: "54" + # chrome_android: "54" + # edge: "17" + # firefox: "49" + # firefox_android: "49" + # safari: "10" + # safari_ios: "10" + - api.Element.after + - api.Element.append + - api.Element.before + - api.Element.prepend + - api.Element.replaceWith + + # baseline: high + # baseline_low_date: 2018-10-02 + # baseline_high_date: 2021-04-02 + # support: + # chrome: "61" + # chrome_android: "61" + # edge: "18" + # firefox: "45" + # firefox_android: "45" + # safari: "10.1" + # safari_ios: "10.3" + - api.Element.getAttributeNames + + # baseline: high + # baseline_low_date: 2018-10-23 + # baseline_high_date: 2021-04-23 + # support: + # chrome: "69" + # chrome_android: "69" + # edge: "18" + # firefox: "63" + # firefox_android: "63" + # safari: "12" + # safari_ios: "12" + - api.Element.toggleAttribute + + # baseline: high + # baseline_low_date: 2020-10-20 + # baseline_high_date: 2023-04-20 + # support: + # chrome: "86" + # chrome_android: "86" + # edge: "86" + # firefox: "78" + # firefox_android: "79" + # safari: "14" + # safari_ios: "14" + - api.Element.replaceChildren + + # baseline: high + # baseline_low_date: 2021-11-02 + # baseline_high_date: 2024-05-02 + # support: + # chrome: "53" + # chrome_android: "53" + # edge: "79" + # firefox: "94" + # firefox_android: "94" + # safari: "13.1" + # safari_ios: "13.4" + - api.Element.attachShadow.options_delegatesFocus_parameter + + # baseline: low + # baseline_low_date: 2024-04-18 + # support: + # chrome: "124" + # chrome_android: "124" + # edge: "124" + # firefox: "123" + # firefox_android: "123" + # safari: "17.4" + # safari_ios: "17.4" + - api.Element.attachShadow.options_clonable_parameter + + # ⬇️ Same status as overall feature ⬇️ + # baseline: false + # support: + # chrome: "125" + # chrome_android: "125" + # edge: "125" + - api.Element.attachShadow.options_serializable_parameter diff --git a/features/queryselector.yml b/features/queryselector.yml new file mode 100644 index 00000000000..39d64527b3c --- /dev/null +++ b/features/queryselector.yml @@ -0,0 +1,6 @@ +name: querySelector +description: TODO +spec: https://dom.spec.whatwg.org/ +compat_features: + - api.Document.querySelector + - api.Document.querySelectorAll diff --git a/features/queryselector.yml.dist b/features/queryselector.yml.dist new file mode 100644 index 00000000000..a3e6f6868df --- /dev/null +++ b/features/queryselector.yml.dist @@ -0,0 +1,18 @@ +# Generated from: queryselector.yml +# Do not edit this file by hand. Edit the source file instead! + +status: + baseline: high + baseline_low_date: 2015-07-29 + baseline_high_date: 2018-01-29 + support: + chrome: "1" + chrome_android: "18" + edge: "12" + firefox: "3.5" + firefox_android: "4" + safari: "3.1" + safari_ios: "2" +compat_features: + - api.Document.querySelector + - api.Document.querySelectorAll From ce9efe6a6c99898fcd83e91659b927278d117433 Mon Sep 17 00:00:00 2001 From: dietrich ayala Date: Fri, 25 Oct 2024 13:18:40 +0700 Subject: [PATCH 06/19] rm the other features --- features/dom.yml | 3 ++ features/node.yml | 82 -------------------------------------- features/queryselector.yml | 6 --- 3 files changed, 3 insertions(+), 88 deletions(-) delete mode 100644 features/node.yml delete mode 100644 features/queryselector.yml diff --git a/features/dom.yml b/features/dom.yml index f13bc826e22..281924a81a9 100644 --- a/features/dom.yml +++ b/features/dom.yml @@ -69,6 +69,7 @@ compat_features: - api.NodeList.length - api.ProcessingInstruction - api.ProcessingInstruction.target + - api.Range - api.ShadowRoot.delegatesFocus - api.ShadowRoot.serializable - api.Text @@ -88,3 +89,5 @@ compat_features: - api.TreeWalker.root - api.TreeWalker.whatToShow - api.XMLDocument + + - api.Element diff --git a/features/node.yml b/features/node.yml deleted file mode 100644 index b27df2346fd..00000000000 --- a/features/node.yml +++ /dev/null @@ -1,82 +0,0 @@ -name: Element / Node -description: TODO -spec: https://dom.spec.whatwg.org/ -compat_features: - - api.Element - - api.Element.after - - api.Element.append - - api.Element.attachShadow.options_clonable_parameter - - api.Element.attachShadow.options_delegatesFocus_parameter - - api.Element.attachShadow.options_serializable_parameter - - api.Element.attributes - - 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.getElementsByTagNameNS - - api.Element.hasAttribute - - api.Element.hasAttributeNS - - api.Element.hasAttributes - - api.Element.id - - api.Element.insertAdjacentElement - - 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.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 diff --git a/features/queryselector.yml b/features/queryselector.yml deleted file mode 100644 index 39d64527b3c..00000000000 --- a/features/queryselector.yml +++ /dev/null @@ -1,6 +0,0 @@ -name: querySelector -description: TODO -spec: https://dom.spec.whatwg.org/ -compat_features: - - api.Document.querySelector - - api.Document.querySelectorAll From 40e890217b5b88d9f4bae73ac83cf92db1a1c9cb Mon Sep 17 00:00:00 2001 From: dietrich ayala Date: Fri, 25 Oct 2024 13:51:20 +0700 Subject: [PATCH 07/19] add back in document, node, etc --- features/dom.yml | 244 ++++- features/dom.yml.dist | 1561 +++++++++++++++++++++++++++---- features/node.yml.dist | 429 --------- features/queryselector.yml.dist | 18 - 4 files changed, 1633 insertions(+), 619 deletions(-) delete mode 100644 features/node.yml.dist delete mode 100644 features/queryselector.yml.dist diff --git a/features/dom.yml b/features/dom.yml index 281924a81a9..beafe62bd8c 100644 --- a/features/dom.yml +++ b/features/dom.yml @@ -1,6 +1,8 @@ -name: DOM -description: TODO +name: DOM Standard +description: "The DOM (Document Object Model) is an API for working with documents by modeling them as a tree of nodes. TODO: add some of the parts" spec: https://dom.spec.whatwg.org/ +status: + compute_from: api.Document compat_features: - api.Attr - api.Attr.localName @@ -30,21 +32,223 @@ compat_features: - 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.cookie + - 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.createEvent + - api.Document.createExpression + - 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.designMode + - api.Document.dir + - api.Document.doctype + - api.Document.documentElement + - api.Document.documentURI + - api.Document.embeds + - api.Document.featurePolicy + - 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.scroll_event + - api.Document.securitypolicyviolation_event + - api.Document.title + - api.Document.visibilityState + - api.Document.visibilitychange_event + - api.Document.write + - api.Document.writeln + - 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.attachShadow.options_clonable_parameter + - api.Element.attachShadow.options_delegatesFocus_parameter + - api.Element.attachShadow.options_serializable_parameter + - api.Element.attributes + - api.Element.auxclick_event + - api.Element.auxclick_event.type_pointerevent + - api.Element.focus_event + - api.Element.outerHTML + - api.Element.scroll_event + - api.Element.securitypolicyviolation_event + - api.Element.wheel_event + - api.Element.before + - api.Element.beforematch_event + - api.Element.blur_event + - api.Element.childElementCount + - api.Element.children + - api.Element.classList + - api.Element.className + - api.Element.click_event.type_pointerevent + - 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.keydown_event + - api.Element.keyup_event + - 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.accessKey + - api.HTMLElement.accessKeyLabel + - api.HTMLElement.autocapitalize + - api.HTMLElement.autocorrect + - api.HTMLElement.blur + - api.HTMLElement.change_event + - api.HTMLElement.click + - api.HTMLElement.command_event + - api.HTMLElement.contentEditable + - api.HTMLElement.contentEditable.plaintext-only + - api.HTMLElement.dir + - api.HTMLElement.enterKeyHint + - api.HTMLElement.focus + - api.HTMLElement.focus.options_focusVisible_parameter + - api.HTMLElement.focus.options_preventScroll_parameter + - api.HTMLElement.hidden + - api.HTMLElement.innerText + - api.HTMLElement.inputMode + - api.HTMLElement.isContentEditable + - api.HTMLElement.lang + - api.HTMLElement.nonce + - api.HTMLElement.outerText + - api.HTMLElement.spellcheck + - api.HTMLElement.title + - api.HTMLElement.togglePopover.returns_boolean - api.NamedNodeMap - api.NamedNodeMap.getNamedItem - api.NamedNodeMap.getNamedItemNS @@ -54,6 +258,34 @@ compat_features: - 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 @@ -64,14 +296,14 @@ compat_features: - 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.Range - - api.ShadowRoot.delegatesFocus - - api.ShadowRoot.serializable - api.Text - api.Text.Text - api.Text.splitText @@ -89,5 +321,3 @@ compat_features: - api.TreeWalker.root - api.TreeWalker.whatToShow - api.XMLDocument - - - api.Element diff --git a/features/dom.yml.dist b/features/dom.yml.dist index b8e46ca3e65..3faeba406a4 100644 --- a/features/dom.yml.dist +++ b/features/dom.yml.dist @@ -2,17 +2,19 @@ # Do not edit this file by hand. Edit the source file instead! status: - baseline: low - baseline_low_date: 2024-09-16 + baseline: high + baseline_low_date: 2015-07-29 + baseline_high_date: 2018-01-29 support: - chrome: "125" - chrome_android: "125" - edge: "125" - firefox: "128" - firefox_android: "128" - safari: "18" - safari_ios: "18" + chrome: "1" + chrome_android: "18" + edge: "12" + firefox: "1" + firefox_android: "4" + safari: "1" + safari_ios: "1" compat_features: + # ⬇️ Same status as overall feature ⬇️ # baseline: high # baseline_low_date: 2015-07-29 # baseline_high_date: 2018-01-29 @@ -42,10 +44,74 @@ compat_features: - api.DOMImplementation - api.DOMImplementation.createDocument - api.DOMImplementation.createDocumentType + - api.Document + - api.Document.URL + - api.Document.cookie + - api.Document.createAttribute + - api.Document.createAttributeNS + - api.Document.createCDATASection + - api.Document.createComment + - api.Document.createDocumentFragment + - api.Document.createElement + - api.Document.createElementNS + - api.Document.createEvent + - api.Document.createProcessingInstruction + - api.Document.createTextNode + - api.Document.defaultView + - api.Document.doctype + - api.Document.documentElement + - api.Document.forms + - api.Document.getElementById + - api.Document.getElementsByName + - api.Document.getElementsByTagName + - api.Document.getElementsByTagNameNS + - api.Document.images + - api.Document.implementation + - api.Document.importNode + - api.Document.lastModified + - api.Document.links + - api.Document.referrer + - api.Document.title + - api.Document.write + - api.Element + - api.Element.attributes + - api.Element.getAttribute + - api.Element.getAttributeNS + - api.Element.getAttributeNode + - api.Element.getAttributeNodeNS + - 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.innerHTML + - api.Element.localName + - api.Element.namespaceURI + - api.Element.prefix + - api.Element.removeAttribute + - api.Element.removeAttributeNS + - api.Element.removeAttributeNode + - api.Element.setAttribute + - api.Element.setAttributeNS + - api.Element.setAttributeNode + - api.Element.setAttributeNodeNS + - api.Element.tagName - api.HTMLCollection - api.HTMLCollection.item - api.HTMLCollection.length - api.HTMLCollection.namedItem + - api.HTMLDocument + - api.HTMLElement + - api.Node + - api.Node.firstChild + - api.Node.hasChildNodes + - api.Node.nodeName + - api.Node.nodeValue + - api.Node.normalize + - api.Node.ownerDocument + - api.Node.previousSibling - api.NodeList - api.NodeList.item - api.NodeList.length @@ -63,10 +129,16 @@ compat_features: # edge: "12" # firefox: "1" # firefox_android: "4" - # safari: "3" + # safari: "1.1" # safari_ios: "1" - - api.CDATASection - - api.Comment + - api.Node.appendChild + - api.Node.cloneNode + - api.Node.insertBefore + - api.Node.nextSibling + - api.Node.nodeType + - api.Node.parentNode + - api.Node.removeChild + - api.Node.replaceChild # baseline: high # baseline_low_date: 2015-07-29 @@ -75,16 +147,12 @@ compat_features: # chrome: "1" # chrome_android: "18" # edge: "12" - # firefox: "3.5" + # firefox: "1" # firefox_android: "4" - # safari: "3" - # safari_ios: "3" - - api.NodeIterator - - api.NodeIterator.filter - - api.NodeIterator.nextNode - - api.NodeIterator.previousNode - - api.NodeIterator.root - - api.NodeIterator.whatToShow + # safari: "1.2" + # safari_ios: "1" + - api.Document.designMode + - api.Node.childNodes # baseline: high # baseline_low_date: 2015-07-29 @@ -93,11 +161,29 @@ compat_features: # chrome: "1" # chrome_android: "18" # edge: "12" - # firefox: "4" + # firefox: "1" # firefox_android: "4" - # safari: "1" + # safari: "3" # safari_ios: "1" - - api.DOMImplementation.createHTMLDocument + - api.CDATASection + - api.Comment + - api.Document.adoptNode + - api.Document.characterSet + - api.Document.createExpression + - api.Document.createNodeIterator + - api.DocumentFragment + - api.DocumentType + - api.DocumentType.name + - api.DocumentType.publicId + - api.DocumentType.systemId + - api.HTMLElement.dir + - api.HTMLElement.lang + - api.HTMLElement.title + - api.Node.isDefaultNamespace + - api.Node.isEqualNode + - api.Node.lookupNamespaceURI + - api.Node.lookupPrefix + - api.Node.textContent # baseline: high # baseline_low_date: 2015-07-29 @@ -106,22 +192,11 @@ compat_features: # chrome: "1" # chrome_android: "18" # edge: "12" - # firefox: "4" + # firefox: "1" # firefox_android: "4" # safari: "3" - # safari_ios: "3" - - 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 + # safari_ios: "2" + - api.HTMLElement.change_event # baseline: high # baseline_low_date: 2015-07-29 @@ -130,187 +205,1122 @@ compat_features: # chrome: "1" # chrome_android: "18" # edge: "12" - # firefox: "34" - # firefox_android: "34" - # safari: "1" - # safari_ios: "1" - - 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 + # firefox: "1" + # firefox_android: "4" + # safari: "3" + # safari_ios: "3" + - api.Document.createTreeWalker # baseline: high # baseline_low_date: 2015-07-29 # baseline_high_date: 2018-01-29 # support: - # chrome: "2" + # chrome: "1" # chrome_android: "18" # edge: "12" - # firefox: "3.5" + # firefox: "1" # firefox_android: "4" - # safari: "4" - # safari_ios: "3.2" - - api.Text.wholeText + # safari: "3.1" + # safari_ios: "2" + - api.Document.DOMContentLoaded_event + - api.Document.compatMode # baseline: high # baseline_low_date: 2015-07-29 # baseline_high_date: 2018-01-29 # support: - # chrome: "8" + # chrome: "1" # chrome_android: "18" # edge: "12" - # firefox: "3.6" + # firefox: "1" # firefox_android: "4" # safari: "5.1" # safari_ios: "5" - - api.DOMTokenList - - api.DOMTokenList.add - - api.DOMTokenList.contains - - api.DOMTokenList.item - - api.DOMTokenList.length - - api.DOMTokenList.remove - - api.DOMTokenList.toString - - api.DOMTokenList.toggle + - api.DOMStringList + - api.DOMStringList.item + - api.DOMStringList.length # baseline: high # baseline_low_date: 2015-07-29 # baseline_high_date: 2018-01-29 # support: - # chrome: "24" - # chrome_android: "25" + # chrome: "1" + # chrome_android: "18" # edge: "12" - # firefox: "23" - # firefox_android: "23" - # safari: "7" - # safari_ios: "7" - - api.CharacterData.remove + # firefox: "1" + # firefox_android: "4" + # safari: ≤4 + # safari_ios: "1" + - api.Node.baseURI # baseline: high - # baseline_low_date: 2016-09-20 - # baseline_high_date: 2019-03-20 + # baseline_low_date: 2015-07-29 + # baseline_high_date: 2018-01-29 # support: - # chrome: "34" - # chrome_android: "34" + # chrome: "1" + # chrome_android: "18" # edge: "12" - # firefox: "1" + # firefox: "1.5" # firefox_android: "4" - # safari: "10" - # safari_ios: "10" - - api.XMLDocument + # safari: "3" + # safari_ios: "1" + - api.HTMLElement.blur + - api.HTMLElement.focus # baseline: high - # baseline_low_date: 2017-10-17 - # baseline_high_date: 2020-04-17 + # baseline_low_date: 2015-07-29 + # baseline_high_date: 2018-01-29 # support: - # chrome: "29" - # chrome_android: "29" - # edge: "16" - # firefox: "24" - # firefox_android: "24" - # safari: "8" - # safari_ios: "8" - - api.Comment.Comment - - api.Text.Text + # chrome: "1" + # chrome_android: "18" + # edge: "12" + # firefox: "1.5" + # firefox_android: "4" + # safari: "5.1" + # safari_ios: "5" + - api.DOMStringList.contains # baseline: high - # baseline_low_date: 2017-10-17 - # baseline_high_date: 2020-04-17 + # baseline_low_date: 2015-07-29 + # baseline_high_date: 2018-01-29 # support: - # chrome: "51" - # chrome_android: "51" - # edge: "16" - # firefox: "50" - # firefox_android: "50" - # safari: "10" - # safari_ios: "10" - - api.NodeList.forEach + # chrome: "1" + # chrome_android: "18" + # edge: "12" + # firefox: "3" + # firefox_android: "4" + # safari: "3" + # safari_ios: "1" + - api.HTMLElement.contentEditable # baseline: high - # baseline_low_date: 2018-04-30 - # baseline_high_date: 2020-10-30 + # baseline_low_date: 2015-07-29 + # baseline_high_date: 2018-01-29 # support: # chrome: "1" # chrome_android: "18" - # edge: "17" + # edge: "12" + # firefox: "3" + # firefox_android: "4" + # safari: "3.1" + # safari_ios: "2" + - api.Document.getElementsByClassName + + # baseline: high + # baseline_low_date: 2015-07-29 + # baseline_high_date: 2018-01-29 + # support: + # chrome: "1" + # chrome_android: "18" + # edge: "12" # firefox: "3.5" # firefox_android: "4" # safari: "3" # safari_ios: "3" - - api.NodeIterator.pointerBeforeReferenceNode - - api.NodeIterator.referenceNode + - api.NodeIterator + - api.NodeIterator.filter + - api.NodeIterator.nextNode + - api.NodeIterator.previousNode + - api.NodeIterator.root + - api.NodeIterator.whatToShow # baseline: high - # baseline_low_date: 2018-04-30 - # baseline_high_date: 2020-10-30 + # baseline_low_date: 2015-07-29 + # baseline_high_date: 2018-01-29 # support: - # chrome: "29" - # chrome_android: "29" - # edge: "17" - # firefox: "25" - # firefox_android: "25" - # safari: "9" - # safari_ios: "9" - - api.CharacterData.nextElementSibling - - api.CharacterData.previousElementSibling + # chrome: "1" + # chrome_android: "18" + # edge: "12" + # firefox: "3.5" + # firefox_android: "4" + # safari: "3.1" + # safari_ios: "2" + - api.Document.querySelector + - api.Document.querySelectorAll + - api.Element.querySelector + - api.Element.querySelectorAll # baseline: high - # baseline_low_date: 2018-04-30 - # baseline_high_date: 2020-10-30 + # baseline_low_date: 2015-07-29 + # baseline_high_date: 2018-01-29 # support: - # chrome: "49" - # chrome_android: "49" - # edge: "17" - # firefox: "49" - # firefox_android: "49" - # safari: "10.1" - # safari_ios: "10.3" - - api.DOMTokenList.supports + # chrome: "1" + # chrome_android: "18" + # edge: "12" + # firefox: "3.5" + # firefox_android: "4" + # safari: "4" + # safari_ios: "3" + - api.Element.children # baseline: high - # baseline_low_date: 2018-04-30 - # baseline_high_date: 2020-10-30 + # baseline_low_date: 2015-07-29 + # baseline_high_date: 2018-01-29 # support: - # chrome: "50" - # chrome_android: "50" - # edge: "17" - # firefox: "47" - # firefox_android: "47" - # safari: "10" - # safari_ios: "10" - - api.DOMTokenList.value + # chrome: "1" + # chrome_android: "18" + # edge: "12" + # firefox: "3.6" + # firefox_android: "4" + # safari: "1" + # safari_ios: "1" + - api.Document.readyState # baseline: high - # baseline_low_date: 2018-04-30 - # baseline_high_date: 2020-10-30 + # baseline_low_date: 2015-07-29 + # baseline_high_date: 2018-01-29 # support: - # chrome: "54" - # chrome_android: "54" - # edge: "17" - # firefox: "49" - # firefox_android: "49" - # safari: "10" - # safari_ios: "10" - - api.CharacterData.after - - api.CharacterData.before - - api.CharacterData.replaceWith + # chrome: "1" + # chrome_android: "18" + # edge: "12" + # firefox: "4" + # firefox_android: "4" + # safari: "1" + # safari_ios: "1" + - api.DOMImplementation.createHTMLDocument # baseline: high - # baseline_low_date: 2018-04-30 - # baseline_high_date: 2020-10-30 + # baseline_low_date: 2015-07-29 + # baseline_high_date: 2018-01-29 # support: - # chrome: "61" - # chrome_android: "61" - # edge: "17" - # firefox: "49" - # firefox_android: "49" - # safari: "10.1" - # safari_ios: "10.3" - - api.DOMTokenList.replace + # chrome: "1" + # chrome_android: "18" + # edge: "12" + # firefox: "4" + # firefox_android: "4" + # safari: "3" + # safari_ios: "1" + - api.HTMLElement.isContentEditable + + # baseline: high + # baseline_low_date: 2015-07-29 + # baseline_high_date: 2018-01-29 + # support: + # chrome: "1" + # chrome_android: "18" + # edge: "12" + # firefox: "4" + # firefox_android: "4" + # safari: "3" + # safari_ios: "3" + - 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 + + # baseline: high + # baseline_low_date: 2015-07-29 + # baseline_high_date: 2018-01-29 + # support: + # chrome: "1" + # chrome_android: "18" + # edge: "12" + # firefox: "6" + # firefox_android: "6" + # safari: "1.2" + # safari_ios: "1" + - api.Element.keydown_event + - api.Element.keyup_event + + # baseline: high + # baseline_low_date: 2015-07-29 + # baseline_high_date: 2018-01-29 + # support: + # chrome: "1" + # chrome_android: "18" + # edge: "12" + # firefox: "6" + # firefox_android: "6" + # safari: "1.3" + # safari_ios: "1" + - api.Element.scroll_event + + # baseline: high + # baseline_low_date: 2015-07-29 + # baseline_high_date: 2018-01-29 + # support: + # chrome: "1" + # chrome_android: "18" + # edge: "12" + # firefox: "6" + # firefox_android: "6" + # safari: "2" + # safari_ios: "1" + - api.Document.scroll_event + + # baseline: high + # baseline_low_date: 2015-07-29 + # baseline_high_date: 2018-01-29 + # support: + # chrome: "1" + # chrome_android: "18" + # edge: "12" + # firefox: "6" + # firefox_android: "6" + # safari: "3.1" + # safari_ios: "2" + - api.Element.blur_event + + # baseline: high + # baseline_low_date: 2015-07-29 + # baseline_high_date: 2018-01-29 + # support: + # chrome: "1" + # chrome_android: "18" + # edge: "12" + # firefox: "9" + # firefox_android: "9" + # safari: "1.1" + # safari_ios: "1" + - api.Node.parentElement + + # baseline: high + # baseline_low_date: 2015-07-29 + # baseline_high_date: 2018-01-29 + # support: + # chrome: "1" + # chrome_android: "18" + # edge: "12" + # firefox: "9" + # firefox_android: "9" + # safari: "3" + # safari_ios: "1" + - api.Document.scripts + + # baseline: high + # baseline_low_date: 2015-07-29 + # baseline_high_date: 2018-01-29 + # support: + # chrome: "1" + # chrome_android: "18" + # edge: "12" + # firefox: "11" + # firefox_android: "14" + # safari: "1.3" + # safari_ios: "1" + - api.Element.outerHTML + + # baseline: high + # baseline_low_date: 2015-07-29 + # baseline_high_date: 2018-01-29 + # support: + # chrome: "1" + # chrome_android: "18" + # edge: "12" + # firefox: "24" + # firefox_android: "24" + # safari: "3.1" + # safari_ios: "2" + - api.Element.focus_event + + # baseline: high + # baseline_low_date: 2015-07-29 + # baseline_high_date: 2018-01-29 + # support: + # chrome: "1" + # chrome_android: "18" + # edge: "12" + # firefox: "34" + # firefox_android: "34" + # safari: "1" + # safari_ios: "1" + - 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 + + # baseline: high + # baseline_low_date: 2015-07-29 + # baseline_high_date: 2018-01-29 + # support: + # chrome: "2" + # chrome_android: "18" + # edge: "12" + # firefox: "1" + # firefox_android: "4" + # safari: "4" + # safari_ios: "3.2" + - api.Node.compareDocumentPosition + + # baseline: high + # baseline_low_date: 2015-07-29 + # baseline_high_date: 2018-01-29 + # support: + # chrome: "2" + # chrome_android: "18" + # edge: "12" + # firefox: "3" + # firefox_android: "4" + # safari: "4" + # safari_ios: "3.2" + - api.Document.activeElement + - api.Document.hasFocus + + # baseline: high + # baseline_low_date: 2015-07-29 + # baseline_high_date: 2018-01-29 + # support: + # chrome: "2" + # chrome_android: "18" + # edge: "12" + # firefox: "3.5" + # firefox_android: "4" + # safari: "4" + # safari_ios: "3" + - api.DocumentFragment.querySelector + - api.DocumentFragment.querySelectorAll + - api.Element.childElementCount + - api.Element.firstElementChild + - api.Element.lastElementChild + - api.Element.nextElementSibling + - api.Element.previousElementSibling + + # baseline: high + # baseline_low_date: 2015-07-29 + # baseline_high_date: 2018-01-29 + # support: + # chrome: "2" + # chrome_android: "18" + # edge: "12" + # firefox: "3.5" + # firefox_android: "4" + # safari: "4" + # safari_ios: "3.2" + - api.Text.wholeText + + # baseline: high + # baseline_low_date: 2015-07-29 + # baseline_high_date: 2018-01-29 + # support: + # chrome: "4" + # chrome_android: "18" + # edge: "12" + # firefox: "4" + # firefox_android: "4" + # safari: "5" + # safari_ios: "4" + - api.Document.head + + # baseline: high + # baseline_low_date: 2015-07-29 + # baseline_high_date: 2018-01-29 + # support: + # chrome: "6" + # chrome_android: "18" + # edge: "12" + # firefox: "4" + # firefox_android: "4" + # safari: "5.1" + # safari_ios: "5" + - api.HTMLElement.hidden + + # baseline: high + # baseline_low_date: 2015-07-29 + # baseline_high_date: 2018-01-29 + # support: + # chrome: "8" + # chrome_android: "18" + # edge: "12" + # firefox: "3.6" + # firefox_android: "4" + # safari: "5.1" + # safari_ios: "5" + - api.DOMTokenList + - api.DOMTokenList.add + - api.DOMTokenList.contains + - api.DOMTokenList.item + - api.DOMTokenList.length + - api.DOMTokenList.remove + - api.DOMTokenList.toString + - api.DOMTokenList.toggle + + # baseline: high + # baseline_low_date: 2015-07-29 + # baseline_high_date: 2018-01-29 + # support: + # chrome: "9" + # chrome_android: "18" + # edge: "12" + # firefox: "2" + # firefox_android: "4" + # safari: "5.1" + # safari_ios: "5" + - api.HTMLElement.spellcheck + + # baseline: high + # baseline_low_date: 2015-07-29 + # baseline_high_date: 2018-01-29 + # support: + # chrome: "9" + # chrome_android: "18" + # edge: "12" + # firefox: "3" + # firefox_android: "4" + # safari: "6" + # safari_ios: "6" + - api.HTMLElement.click + + # baseline: high + # baseline_low_date: 2015-07-29 + # baseline_high_date: 2018-01-29 + # support: + # chrome: "9" + # chrome_android: "18" + # edge: "12" + # firefox: "4" + # firefox_android: "4" + # safari: "5.1" + # safari_ios: "5" + - api.Document.readystatechange_event + + # baseline: high + # baseline_low_date: 2015-07-29 + # baseline_high_date: 2018-01-29 + # support: + # chrome: "16" + # chrome_android: "18" + # edge: "12" + # firefox: "9" + # firefox_android: "9" + # safari: "1.1" + # safari_ios: "1" + - api.Node.contains + + # baseline: high + # baseline_low_date: 2015-07-29 + # baseline_high_date: 2018-01-29 + # support: + # chrome: "17" + # chrome_android: "18" + # edge: "12" + # firefox: "5" + # firefox_android: "5" + # safari: "6" + # safari_ios: "6" + - api.HTMLElement.accessKey + + # baseline: high + # baseline_low_date: 2015-07-29 + # baseline_high_date: 2018-01-29 + # support: + # chrome: "22" + # chrome_android: "25" + # edge: "12" + # firefox: "1" + # firefox_android: "4" + # safari: "1" + # safari_ios: "1" + - api.Element.className + + # baseline: high + # baseline_low_date: 2015-07-29 + # baseline_high_date: 2018-01-29 + # support: + # chrome: "23" + # chrome_android: "25" + # edge: "12" + # firefox: "1" + # firefox_android: "4" + # safari: "1" + # safari_ios: "1" + - api.Element.id + + # baseline: high + # baseline_low_date: 2015-07-29 + # baseline_high_date: 2018-01-29 + # support: + # chrome: "24" + # chrome_android: "25" + # edge: "12" + # firefox: "23" + # firefox_android: "23" + # safari: "7" + # safari_ios: "7" + - api.CharacterData.remove + - api.DocumentType.remove + - api.Element.remove + + # baseline: high + # baseline_low_date: 2015-07-29 + # baseline_high_date: 2018-01-29 + # support: + # chrome: "24" + # chrome_android: "25" + # edge: "12" + # firefox: "24" + # firefox_android: "24" + # safari: "7" + # safari_ios: "7" + - api.DOMTokenList.toggle.force_parameter + + # baseline: high + # baseline_low_date: 2015-07-29 + # baseline_high_date: 2018-01-29 + # support: + # chrome: "24" + # chrome_android: "25" + # edge: "12" + # firefox: "26" + # firefox_android: "26" + # safari: "7" + # safari_ios: "7" + - api.DOMTokenList.add.multiple_parameters + - api.DOMTokenList.remove.multiple_parameters + + # baseline: high + # baseline_low_date: 2015-07-29 + # baseline_high_date: 2018-01-29 + # support: + # chrome: "29" + # chrome_android: "29" + # edge: "12" + # firefox: "4" + # firefox_android: "4" + # safari: "8" + # safari_ios: "8" + - api.Document.currentScript + + # baseline: high + # baseline_low_date: 2015-07-29 + # baseline_high_date: 2018-01-29 + # support: + # chrome: "33" + # chrome_android: "33" + # edge: "12" + # firefox: "18" + # firefox_android: "18" + # safari: "7" + # safari_ios: "7" + - api.Document.hidden + - api.Document.visibilityState + + # baseline: high + # baseline_low_date: 2015-11-12 + # baseline_high_date: 2018-05-12 + # support: + # chrome: "4" + # chrome_android: "18" + # edge: "13" + # firefox: "12" + # firefox_android: "14" + # safari: "3" + # safari_ios: "3" + - api.Document.createTreeWalker.whatToShow_filter_parameters_optional + + # baseline: high + # baseline_low_date: 2016-03-08 + # baseline_high_date: 2018-09-08 + # support: + # chrome: "1" + # chrome_android: "18" + # edge: "12" + # firefox: "1" + # firefox_android: "45" + # safari: "1" + # safari_ios: "1" + - api.Node.lastChild + + # baseline: high + # baseline_low_date: 2016-03-08 + # baseline_high_date: 2018-09-08 + # support: + # chrome: "1" + # chrome_android: "18" + # edge: "12" + # firefox: "45" + # firefox_android: "45" + # safari: "1" + # safari_ios: "1" + - api.HTMLElement.innerText + + # baseline: high + # baseline_low_date: 2016-08-02 + # baseline_high_date: 2019-02-02 + # support: + # chrome: "1" + # chrome_android: "18" + # edge: "12" + # firefox: "48" + # firefox_android: "48" + # safari: "3" + # safari_ios: "1" + - api.Node.isSameNode + + # baseline: high + # baseline_low_date: 2016-09-20 + # baseline_high_date: 2019-03-20 + # support: + # chrome: "34" + # chrome_android: "34" + # edge: "12" + # firefox: "1" + # firefox_android: "4" + # safari: "10" + # safari_ios: "10" + - api.XMLDocument + + # baseline: high + # baseline_low_date: 2017-01-24 + # baseline_high_date: 2019-07-24 + # support: + # chrome: "48" + # chrome_android: "48" + # edge: "12" + # firefox: "51" + # firefox_android: "51" + # safari: "10" + # safari_ios: "10" + - api.DOMTokenList.trim_whitespace + + # baseline: high + # baseline_low_date: 2017-04-05 + # baseline_high_date: 2019-10-05 + # support: + # chrome: "33" + # chrome_android: "33" + # edge: "15" + # firefox: "34" + # firefox_android: "34" + # safari: "8" + # safari_ios: "8" + - api.Element.matches + + # baseline: high + # baseline_low_date: 2017-04-05 + # baseline_high_date: 2019-10-05 + # support: + # chrome: "41" + # chrome_android: "41" + # edge: "15" + # firefox: "35" + # firefox_android: "35" + # safari: "6" + # safari_ios: "9" + - api.Element.closest + + # baseline: high + # baseline_low_date: 2017-10-17 + # baseline_high_date: 2020-04-17 + # support: + # chrome: "1" + # chrome_android: "18" + # edge: "16" + # firefox: "3" + # firefox_android: "4" + # safari: "3.1" + # safari_ios: "2" + - api.Element.getElementsByClassName + + # baseline: high + # baseline_low_date: 2017-10-17 + # baseline_high_date: 2020-04-17 + # support: + # chrome: "22" + # chrome_android: "25" + # edge: "16" + # firefox: "3.6" + # firefox_android: "4" + # safari: "7" + # safari_ios: "7" + - api.Element.classList + + # baseline: high + # baseline_low_date: 2017-10-17 + # baseline_high_date: 2020-04-17 + # support: + # chrome: "29" + # chrome_android: "29" + # edge: "16" + # firefox: "24" + # firefox_android: "24" + # safari: "8" + # safari_ios: "8" + - api.Comment.Comment + - api.Text.Text + + # baseline: high + # baseline_low_date: 2017-10-17 + # baseline_high_date: 2020-04-17 + # support: + # chrome: "29" + # chrome_android: "29" + # edge: "16" + # firefox: "25" + # firefox_android: "25" + # safari: "9" + # safari_ios: "9" + - api.Document.children + - api.DocumentFragment.children + + # baseline: high + # baseline_low_date: 2017-10-17 + # baseline_high_date: 2020-04-17 + # support: + # chrome: "42" + # chrome_android: "42" + # edge: "16" + # firefox: "36" + # firefox_android: "36" + # safari: "10.1" + # safari_ios: "10.3" + - api.DOMTokenList.@@iterator + + # baseline: high + # baseline_low_date: 2017-10-17 + # baseline_high_date: 2020-04-17 + # support: + # chrome: "42" + # chrome_android: "42" + # edge: "16" + # firefox: "50" + # firefox_android: "50" + # safari: "10.1" + # safari_ios: "10.3" + - api.DOMTokenList.entries + - api.DOMTokenList.forEach + - api.DOMTokenList.keys + - api.DOMTokenList.values + + # baseline: high + # baseline_low_date: 2017-10-17 + # baseline_high_date: 2020-04-17 + # support: + # chrome: "51" + # chrome_android: "51" + # edge: "16" + # firefox: "50" + # firefox_android: "50" + # safari: "10" + # safari_ios: "10" + - api.NodeList.entries + - api.NodeList.forEach + - api.NodeList.keys + - api.NodeList.values + + # baseline: high + # baseline_low_date: 2018-01-23 + # baseline_high_date: 2020-07-23 + # support: + # chrome: "64" + # chrome_android: "64" + # edge: "12" + # firefox: "1" + # firefox_android: "4" + # safari: "10.1" + # safari_ios: "10.3" + - api.Document.dir + - api.Document.embeds + - api.Document.plugins + + # baseline: high + # baseline_low_date: 2018-01-23 + # baseline_high_date: 2020-07-23 + # support: + # chrome: "64" + # chrome_android: "64" + # edge: "12" + # firefox: "1" + # firefox_android: "4" + # safari: "11" + # safari_ios: "11" + - api.Document.close + - api.Document.open + - api.Document.writeln + + # baseline: high + # baseline_low_date: 2018-04-30 + # baseline_high_date: 2020-10-30 + # support: + # chrome: "1" + # chrome_android: "18" + # edge: "17" + # firefox: "1" + # firefox_android: "4" + # safari: "3" + # safari_ios: "1" + - api.Document.documentURI + + # baseline: high + # baseline_low_date: 2018-04-30 + # baseline_high_date: 2020-10-30 + # support: + # chrome: "1" + # chrome_android: "18" + # edge: "17" + # firefox: "3.5" + # firefox_android: "4" + # safari: "3" + # safari_ios: "3" + - api.NodeIterator.pointerBeforeReferenceNode + - api.NodeIterator.referenceNode + + # baseline: high + # baseline_low_date: 2018-04-30 + # baseline_high_date: 2020-10-30 + # support: + # chrome: "1" + # chrome_android: "18" + # edge: "17" + # firefox: "8" + # firefox_android: "8" + # safari: "4" + # safari_ios: "4" + - api.Element.insertAdjacentHTML + + # baseline: high + # baseline_low_date: 2018-04-30 + # baseline_high_date: 2020-10-30 + # support: + # chrome: "1" + # chrome_android: "18" + # edge: "17" + # firefox: "48" + # firefox_android: "48" + # safari: "3" + # safari_ios: "1" + - api.Element.insertAdjacentElement + + # baseline: high + # baseline_low_date: 2018-04-30 + # baseline_high_date: 2020-10-30 + # support: + # chrome: "1" + # chrome_android: "18" + # edge: "17" + # firefox: "48" + # firefox_android: "48" + # safari: "4" + # safari_ios: "4" + - api.Element.insertAdjacentText + + # baseline: high + # baseline_low_date: 2018-04-30 + # baseline_high_date: 2020-10-30 + # support: + # chrome: "29" + # chrome_android: "29" + # edge: "17" + # firefox: "24" + # firefox_android: "24" + # safari: "8" + # safari_ios: "8" + - api.DocumentFragment.DocumentFragment + + # baseline: high + # baseline_low_date: 2018-04-30 + # baseline_high_date: 2020-10-30 + # support: + # chrome: "29" + # chrome_android: "29" + # edge: "17" + # firefox: "25" + # firefox_android: "25" + # safari: "9" + # safari_ios: "9" + - api.CharacterData.nextElementSibling + - api.CharacterData.previousElementSibling + - api.Document.childElementCount + - api.Document.firstElementChild + - api.Document.lastElementChild + - api.DocumentFragment.childElementCount + - api.DocumentFragment.firstElementChild + - api.DocumentFragment.lastElementChild + + # baseline: high + # baseline_low_date: 2018-04-30 + # baseline_high_date: 2020-10-30 + # support: + # chrome: "36" + # chrome_android: "36" + # edge: "17" + # firefox: "1" + # firefox_android: "4" + # safari: "9" + # safari_ios: "9" + - api.Document.contentType + + # baseline: high + # baseline_low_date: 2018-04-30 + # baseline_high_date: 2020-10-30 + # support: + # chrome: "36" + # chrome_android: "36" + # edge: "17" + # firefox: "28" + # firefox_android: "28" + # safari: "9" + # safari_ios: "9" + - api.DocumentFragment.getElementById + + # baseline: high + # baseline_low_date: 2018-04-30 + # baseline_high_date: 2020-10-30 + # support: + # chrome: "49" + # chrome_android: "49" + # edge: "17" + # firefox: "49" + # firefox_android: "49" + # safari: "10.1" + # safari_ios: "10.3" + - api.DOMTokenList.supports + + # baseline: high + # baseline_low_date: 2018-04-30 + # baseline_high_date: 2020-10-30 + # support: + # chrome: "50" + # chrome_android: "50" + # edge: "17" + # firefox: "47" + # firefox_android: "47" + # safari: "10" + # safari_ios: "10" + - api.DOMTokenList.value + + # baseline: high + # baseline_low_date: 2018-04-30 + # baseline_high_date: 2020-10-30 + # support: + # chrome: "54" + # chrome_android: "54" + # edge: "17" + # firefox: "49" + # firefox_android: "49" + # safari: "10" + # safari_ios: "10" + - api.CharacterData.after + - api.CharacterData.before + - api.CharacterData.replaceWith + - api.Document.append + - api.Document.prepend + - api.DocumentFragment.append + - api.DocumentFragment.prepend + - api.DocumentType.after + - api.DocumentType.before + - api.DocumentType.replaceWith + - api.Element.after + - api.Element.append + - api.Element.before + - api.Element.prepend + - api.Element.replaceWith + + # baseline: high + # baseline_low_date: 2018-04-30 + # baseline_high_date: 2020-10-30 + # support: + # chrome: "60" + # chrome_android: "60" + # edge: "17" + # firefox: "20" + # firefox_android: "20" + # safari: "8" + # safari_ios: "8" + - api.Document.Document + + # baseline: high + # baseline_low_date: 2018-04-30 + # baseline_high_date: 2020-10-30 + # support: + # chrome: "60" + # chrome_android: "60" + # edge: "17" + # firefox: "55" + # firefox_android: "55" + # safari: "10" + # safari_ios: "10" + - api.DOMTokenList.remove_duplicates + + # baseline: high + # baseline_low_date: 2018-04-30 + # baseline_high_date: 2020-10-30 + # support: + # chrome: "61" + # chrome_android: "61" + # edge: "17" + # firefox: "49" + # firefox_android: "49" + # safari: "10.1" + # safari_ios: "10.3" + - api.DOMTokenList.replace + + # baseline: high + # baseline_low_date: 2018-05-09 + # baseline_high_date: 2020-11-09 + # support: + # chrome: "1" + # chrome_android: "18" + # edge: "12" + # firefox: "60" + # firefox_android: "60" + # safari: "1" + # safari_ios: "1" + - api.Document.body + + # baseline: high + # baseline_low_date: 2018-10-02 + # baseline_high_date: 2021-04-02 + # support: + # chrome: "61" + # chrome_android: "61" + # edge: "18" + # firefox: "45" + # firefox_android: "45" + # safari: "10.1" + # safari_ios: "10.3" + - api.Element.getAttributeNames + + # baseline: high + # baseline_low_date: 2018-10-02 + # baseline_high_date: 2021-04-02 + # support: + # chrome: "67" + # chrome_android: "67" + # edge: "18" + # firefox: "61" + # firefox_android: "61" + # safari: "12" + # safari_ios: "12" + - api.DOMTokenList.replace.boolean_value + + # baseline: high + # baseline_low_date: 2018-10-23 + # baseline_high_date: 2021-04-23 + # support: + # chrome: "41" + # chrome_android: "41" + # edge: "15" + # firefox: "63" + # firefox_android: "63" + # safari: "10" + # safari_ios: "10" + - api.Element.securitypolicyviolation_event + + # baseline: high + # baseline_low_date: 2018-10-23 + # baseline_high_date: 2021-04-23 + # support: + # chrome: "69" + # chrome_android: "69" + # edge: "18" + # firefox: "63" + # firefox_android: "63" + # safari: "12" + # safari_ios: "12" + - api.Element.toggleAttribute # baseline: high # baseline_low_date: 2020-01-15 @@ -325,6 +1335,34 @@ compat_features: # safari_ios: "10" - api.NodeList.@@iterator + # baseline: high + # baseline_low_date: 2020-10-20 + # baseline_high_date: 2023-04-20 + # support: + # chrome: "86" + # chrome_android: "86" + # edge: "86" + # firefox: "78" + # firefox_android: "79" + # safari: "14" + # safari_ios: "14" + - api.Document.replaceChildren + - api.DocumentFragment.replaceChildren + - api.Element.replaceChildren + + # baseline: high + # baseline_low_date: 2021-04-26 + # baseline_high_date: 2023-10-26 + # support: + # chrome: "62" + # chrome_android: "62" + # edge: "18" + # firefox: "56" + # firefox_android: "56" + # safari: "14.1" + # safari_ios: "14.5" + - api.Document.visibilitychange_event + # baseline: high # baseline_low_date: 2021-11-02 # baseline_high_date: 2024-05-02 @@ -334,11 +1372,99 @@ compat_features: # edge: "79" # firefox: "94" # firefox_android: "94" - # safari: "15" - # safari_ios: "15" - - api.ShadowRoot.delegatesFocus + # safari: "13.1" + # safari_ios: "13.4" + - api.Element.attachShadow.options_delegatesFocus_parameter + + # baseline: high + # baseline_low_date: 2021-11-02 + # baseline_high_date: 2024-05-02 + # support: + # chrome: "77" + # chrome_android: "77" + # edge: "79" + # firefox: "94" + # firefox_android: "94" + # safari: "13.1" + # safari_ios: "13.4" + - api.HTMLElement.enterKeyHint + + # baseline: high + # baseline_low_date: 2021-12-07 + # baseline_high_date: 2024-06-07 + # support: + # chrome: "66" + # chrome_android: "66" + # edge: "79" + # firefox: "95" + # firefox_android: "79" + # safari: "12.1" + # safari_ios: "12.2" + - api.HTMLElement.inputMode + + # baseline: high + # baseline_low_date: 2022-03-08 + # baseline_high_date: 2024-09-08 + # support: + # chrome: "1" + # chrome_android: "18" + # edge: "12" + # firefox: "98" + # firefox_android: "98" + # safari: "1.3" + # safari_ios: "1" + - api.HTMLElement.outerText + + # baseline: high + # baseline_low_date: 2022-03-14 + # baseline_high_date: 2024-09-14 + # support: + # chrome: "61" + # chrome_android: "61" + # edge: "79" + # firefox: "75" + # firefox_android: "79" + # safari: "15.4" + # safari_ios: "15.4" + - api.HTMLElement.nonce + + # baseline: high + # baseline_low_date: 2022-03-14 + # baseline_high_date: 2024-09-14 + # support: + # chrome: "76" + # chrome_android: "76" + # edge: "79" + # firefox: "93" + # firefox_android: "93" + # safari: "15.4" + # safari_ios: "15.4" + - api.Document.securitypolicyviolation_event + + # baseline: low + # baseline_low_date: 2024-04-16 + # support: + # chrome: "116" + # chrome_android: "116" + # edge: "116" + # firefox: "125" + # firefox_android: "125" + # safari: "17" + # safari_ios: "17" + - api.HTMLElement.togglePopover.returns_boolean + + # baseline: low + # baseline_low_date: 2024-04-18 + # support: + # chrome: "124" + # chrome_android: "124" + # edge: "124" + # firefox: "123" + # firefox_android: "123" + # safari: "17.4" + # safari_ios: "17.4" + - api.Element.attachShadow.options_clonable_parameter - # ⬇️ Same status as overall feature ⬇️ # baseline: low # baseline_low_date: 2024-09-16 # support: @@ -349,4 +1475,109 @@ compat_features: # firefox_android: "128" # safari: "18" # safari_ios: "18" - - api.ShadowRoot.serializable + - api.Element.getHTML + + # baseline: false + # support: + # chrome: "31" + # chrome_android: "31" + # edge: "12" + # firefox: "17" + # firefox_android: "17" + # safari: "7" + - api.Element.wheel_event + + # baseline: false + # support: + # chrome: "66" + # chrome_android: "66" + # edge: "79" + # firefox: "111" + # firefox_android: "111" + # safari_ios: "10.3" + - api.HTMLElement.autocapitalize + + # baseline: false + # support: + # chrome: "51" + # chrome_android: "51" + # edge: ≤79 + # safari: "5.1" + # safari_ios: "5" + - api.HTMLElement.contentEditable.plaintext-only + + # baseline: false + # support: + # chrome: "55" + # chrome_android: "55" + # edge: "79" + # firefox: "53" + # firefox_android: "53" + - api.Element.auxclick_event + + # baseline: false + # support: + # chrome: "56" + # chrome_android: "56" + # edge: "79" + # firefox: "50" + # firefox_android: "50" + - api.Document.createElement.options_parameter + - api.Document.createElementNS.options_parameter + + # baseline: false + # support: + # chrome: "64" + # edge: "17" + # firefox: "68" + # safari: "15" + # safari_ios: "15.5" + - api.HTMLElement.focus.options_preventScroll_parameter + + # baseline: false + # support: + # firefox: "8" + # firefox_android: "8" + # safari: "14" + # safari_ios: "14" + - api.HTMLElement.accessKeyLabel + + # baseline: false + # support: + # chrome: "74" + # chrome_android: "74" + # edge: "79" + - api.Document.featurePolicy + + # baseline: false + # support: + # chrome: "92" + # chrome_android: "92" + # edge: "92" + - api.Element.auxclick_event.type_pointerevent + - api.Element.click_event.type_pointerevent + + # baseline: false + # support: + # chrome: "102" + # chrome_android: "102" + # edge: "102" + - api.Element.beforematch_event + + # baseline: false + # support: + # chrome: "125" + # chrome_android: "125" + # edge: "125" + - api.Element.attachShadow.options_serializable_parameter + + # baseline: false + # support: + # firefox: "104" + # firefox_android: "104" + - api.HTMLElement.focus.options_focusVisible_parameter + + # baseline: false + # support: {} + - api.HTMLElement.autocorrect + - api.HTMLElement.command_event diff --git a/features/node.yml.dist b/features/node.yml.dist deleted file mode 100644 index e732896cd29..00000000000 --- a/features/node.yml.dist +++ /dev/null @@ -1,429 +0,0 @@ -# Generated from: node.yml -# Do not edit this file by hand. Edit the source file instead! - -status: - baseline: false - support: - chrome: "125" - chrome_android: "125" - edge: "125" -compat_features: - # baseline: high - # baseline_low_date: 2015-07-29 - # baseline_high_date: 2018-01-29 - # support: - # chrome: "1" - # chrome_android: "18" - # edge: "12" - # firefox: "1" - # firefox_android: "4" - # safari: "1" - # safari_ios: "1" - - api.Element - - api.Element.attributes - - api.Element.getAttribute - - api.Element.getAttributeNS - - api.Element.getAttributeNode - - api.Element.getAttributeNodeNS - - api.Element.getElementsByTagName - - api.Element.getElementsByTagNameNS - - api.Element.hasAttribute - - api.Element.hasAttributeNS - - api.Element.hasAttributes - - api.Element.localName - - api.Element.namespaceURI - - api.Element.prefix - - api.Element.removeAttribute - - api.Element.removeAttributeNS - - api.Element.removeAttributeNode - - api.Element.setAttribute - - api.Element.setAttributeNS - - api.Element.setAttributeNode - - api.Element.setAttributeNodeNS - - api.Element.tagName - - api.Node - - api.Node.firstChild - - api.Node.hasChildNodes - - api.Node.nodeName - - api.Node.nodeValue - - api.Node.normalize - - api.Node.ownerDocument - - api.Node.previousSibling - - # baseline: high - # baseline_low_date: 2015-07-29 - # baseline_high_date: 2018-01-29 - # support: - # chrome: "1" - # chrome_android: "18" - # edge: "12" - # firefox: "1" - # firefox_android: "4" - # safari: "1.1" - # safari_ios: "1" - - api.Node.appendChild - - api.Node.cloneNode - - api.Node.insertBefore - - api.Node.nextSibling - - api.Node.nodeType - - api.Node.parentNode - - api.Node.removeChild - - api.Node.replaceChild - - # baseline: high - # baseline_low_date: 2015-07-29 - # baseline_high_date: 2018-01-29 - # support: - # chrome: "1" - # chrome_android: "18" - # edge: "12" - # firefox: "1" - # firefox_android: "4" - # safari: "1.2" - # safari_ios: "1" - - api.Node.childNodes - - # baseline: high - # baseline_low_date: 2015-07-29 - # baseline_high_date: 2018-01-29 - # support: - # chrome: "1" - # chrome_android: "18" - # edge: "12" - # firefox: "1" - # firefox_android: "4" - # safari: "3" - # safari_ios: "1" - - api.Node.isDefaultNamespace - - api.Node.isEqualNode - - api.Node.lookupNamespaceURI - - api.Node.lookupPrefix - - api.Node.textContent - - # baseline: high - # baseline_low_date: 2015-07-29 - # baseline_high_date: 2018-01-29 - # support: - # chrome: "1" - # chrome_android: "18" - # edge: "12" - # firefox: "1" - # firefox_android: "4" - # safari: ≤4 - # safari_ios: "1" - - api.Node.baseURI - - # baseline: high - # baseline_low_date: 2015-07-29 - # baseline_high_date: 2018-01-29 - # support: - # chrome: "1" - # chrome_android: "18" - # edge: "12" - # firefox: "3.5" - # firefox_android: "4" - # safari: "3.1" - # safari_ios: "2" - - api.Element.querySelector - - api.Element.querySelectorAll - - # baseline: high - # baseline_low_date: 2015-07-29 - # baseline_high_date: 2018-01-29 - # support: - # chrome: "1" - # chrome_android: "18" - # edge: "12" - # firefox: "3.5" - # firefox_android: "4" - # safari: "4" - # safari_ios: "3" - - api.Element.children - - # baseline: high - # baseline_low_date: 2015-07-29 - # baseline_high_date: 2018-01-29 - # support: - # chrome: "1" - # chrome_android: "18" - # edge: "12" - # firefox: "9" - # firefox_android: "9" - # safari: "1.1" - # safari_ios: "1" - - api.Node.parentElement - - # baseline: high - # baseline_low_date: 2015-07-29 - # baseline_high_date: 2018-01-29 - # support: - # chrome: "2" - # chrome_android: "18" - # edge: "12" - # firefox: "1" - # firefox_android: "4" - # safari: "4" - # safari_ios: "3.2" - - api.Node.compareDocumentPosition - - # baseline: high - # baseline_low_date: 2015-07-29 - # baseline_high_date: 2018-01-29 - # support: - # chrome: "2" - # chrome_android: "18" - # edge: "12" - # firefox: "3.5" - # firefox_android: "4" - # safari: "4" - # safari_ios: "3" - - api.Element.childElementCount - - api.Element.firstElementChild - - api.Element.lastElementChild - - api.Element.nextElementSibling - - api.Element.previousElementSibling - - # baseline: high - # baseline_low_date: 2015-07-29 - # baseline_high_date: 2018-01-29 - # support: - # chrome: "16" - # chrome_android: "18" - # edge: "12" - # firefox: "9" - # firefox_android: "9" - # safari: "1.1" - # safari_ios: "1" - - api.Node.contains - - # baseline: high - # baseline_low_date: 2015-07-29 - # baseline_high_date: 2018-01-29 - # support: - # chrome: "22" - # chrome_android: "25" - # edge: "12" - # firefox: "1" - # firefox_android: "4" - # safari: "1" - # safari_ios: "1" - - api.Element.className - - # baseline: high - # baseline_low_date: 2015-07-29 - # baseline_high_date: 2018-01-29 - # support: - # chrome: "23" - # chrome_android: "25" - # edge: "12" - # firefox: "1" - # firefox_android: "4" - # safari: "1" - # safari_ios: "1" - - api.Element.id - - # baseline: high - # baseline_low_date: 2015-07-29 - # baseline_high_date: 2018-01-29 - # support: - # chrome: "24" - # chrome_android: "25" - # edge: "12" - # firefox: "23" - # firefox_android: "23" - # safari: "7" - # safari_ios: "7" - - api.Element.remove - - # baseline: high - # baseline_low_date: 2016-03-08 - # baseline_high_date: 2018-09-08 - # support: - # chrome: "1" - # chrome_android: "18" - # edge: "12" - # firefox: "1" - # firefox_android: "45" - # safari: "1" - # safari_ios: "1" - - api.Node.lastChild - - # baseline: high - # baseline_low_date: 2016-08-02 - # baseline_high_date: 2019-02-02 - # support: - # chrome: "1" - # chrome_android: "18" - # edge: "12" - # firefox: "48" - # firefox_android: "48" - # safari: "3" - # safari_ios: "1" - - api.Node.isSameNode - - # baseline: high - # baseline_low_date: 2017-04-05 - # baseline_high_date: 2019-10-05 - # support: - # chrome: "33" - # chrome_android: "33" - # edge: "15" - # firefox: "34" - # firefox_android: "34" - # safari: "8" - # safari_ios: "8" - - api.Element.matches - - # baseline: high - # baseline_low_date: 2017-04-05 - # baseline_high_date: 2019-10-05 - # support: - # chrome: "41" - # chrome_android: "41" - # edge: "15" - # firefox: "35" - # firefox_android: "35" - # safari: "6" - # safari_ios: "9" - - api.Element.closest - - # baseline: high - # baseline_low_date: 2017-10-17 - # baseline_high_date: 2020-04-17 - # support: - # chrome: "1" - # chrome_android: "18" - # edge: "16" - # firefox: "3" - # firefox_android: "4" - # safari: "3.1" - # safari_ios: "2" - - api.Element.getElementsByClassName - - # baseline: high - # baseline_low_date: 2017-10-17 - # baseline_high_date: 2020-04-17 - # support: - # chrome: "22" - # chrome_android: "25" - # edge: "16" - # firefox: "3.6" - # firefox_android: "4" - # safari: "7" - # safari_ios: "7" - - api.Element.classList - - # baseline: high - # baseline_low_date: 2018-04-30 - # baseline_high_date: 2020-10-30 - # support: - # chrome: "1" - # chrome_android: "18" - # edge: "17" - # firefox: "48" - # firefox_android: "48" - # safari: "3" - # safari_ios: "1" - - api.Element.insertAdjacentElement - - # baseline: high - # baseline_low_date: 2018-04-30 - # baseline_high_date: 2020-10-30 - # support: - # chrome: "1" - # chrome_android: "18" - # edge: "17" - # firefox: "48" - # firefox_android: "48" - # safari: "4" - # safari_ios: "4" - - api.Element.insertAdjacentText - - # baseline: high - # baseline_low_date: 2018-04-30 - # baseline_high_date: 2020-10-30 - # support: - # chrome: "54" - # chrome_android: "54" - # edge: "17" - # firefox: "49" - # firefox_android: "49" - # safari: "10" - # safari_ios: "10" - - api.Element.after - - api.Element.append - - api.Element.before - - api.Element.prepend - - api.Element.replaceWith - - # baseline: high - # baseline_low_date: 2018-10-02 - # baseline_high_date: 2021-04-02 - # support: - # chrome: "61" - # chrome_android: "61" - # edge: "18" - # firefox: "45" - # firefox_android: "45" - # safari: "10.1" - # safari_ios: "10.3" - - api.Element.getAttributeNames - - # baseline: high - # baseline_low_date: 2018-10-23 - # baseline_high_date: 2021-04-23 - # support: - # chrome: "69" - # chrome_android: "69" - # edge: "18" - # firefox: "63" - # firefox_android: "63" - # safari: "12" - # safari_ios: "12" - - api.Element.toggleAttribute - - # baseline: high - # baseline_low_date: 2020-10-20 - # baseline_high_date: 2023-04-20 - # support: - # chrome: "86" - # chrome_android: "86" - # edge: "86" - # firefox: "78" - # firefox_android: "79" - # safari: "14" - # safari_ios: "14" - - api.Element.replaceChildren - - # baseline: high - # baseline_low_date: 2021-11-02 - # baseline_high_date: 2024-05-02 - # support: - # chrome: "53" - # chrome_android: "53" - # edge: "79" - # firefox: "94" - # firefox_android: "94" - # safari: "13.1" - # safari_ios: "13.4" - - api.Element.attachShadow.options_delegatesFocus_parameter - - # baseline: low - # baseline_low_date: 2024-04-18 - # support: - # chrome: "124" - # chrome_android: "124" - # edge: "124" - # firefox: "123" - # firefox_android: "123" - # safari: "17.4" - # safari_ios: "17.4" - - api.Element.attachShadow.options_clonable_parameter - - # ⬇️ Same status as overall feature ⬇️ - # baseline: false - # support: - # chrome: "125" - # chrome_android: "125" - # edge: "125" - - api.Element.attachShadow.options_serializable_parameter diff --git a/features/queryselector.yml.dist b/features/queryselector.yml.dist deleted file mode 100644 index a3e6f6868df..00000000000 --- a/features/queryselector.yml.dist +++ /dev/null @@ -1,18 +0,0 @@ -# Generated from: queryselector.yml -# Do not edit this file by hand. Edit the source file instead! - -status: - baseline: high - baseline_low_date: 2015-07-29 - baseline_high_date: 2018-01-29 - support: - chrome: "1" - chrome_android: "18" - edge: "12" - firefox: "3.5" - firefox_android: "4" - safari: "3.1" - safari_ios: "2" -compat_features: - - api.Document.querySelector - - api.Document.querySelectorAll From a98adeb837f403a16108f275252c0a8abb759550 Mon Sep 17 00:00:00 2001 From: Dietrich Ayala <50103+autonome@users.noreply.github.com> Date: Fri, 25 Oct 2024 13:52:05 +0700 Subject: [PATCH 08/19] Update features/mutations.yml Co-authored-by: Daniel D. Beck --- features/mutations.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/features/mutations.yml b/features/mutations.yml index d62e5fba725..c3ac87a43c5 100644 --- a/features/mutations.yml +++ b/features/mutations.yml @@ -1,4 +1,4 @@ -name: Mutations +name: MutationObserver description: TODO spec: https://dom.spec.whatwg.org/ compat_features: From ff855a70e52039a09ced0c8fe50b1da8f7573d2b Mon Sep 17 00:00:00 2001 From: dietrich ayala Date: Fri, 25 Oct 2024 13:54:39 +0700 Subject: [PATCH 09/19] rename, update --- features/dom.yml | 2 -- features/dom.yml.dist | 26 ------------------- .../{mutations.yml => mutations-observer.yml} | 0 ...s.yml.dist => mutations-observer.yml.dist} | 2 +- 4 files changed, 1 insertion(+), 29 deletions(-) rename features/{mutations.yml => mutations-observer.yml} (100%) rename features/{mutations.yml.dist => mutations-observer.yml.dist} (97%) diff --git a/features/dom.yml b/features/dom.yml index beafe62bd8c..fe1c72578fd 100644 --- a/features/dom.yml +++ b/features/dom.yml @@ -125,7 +125,6 @@ compat_features: - api.Document.replaceChildren - api.Document.scripts - api.Document.scroll_event - - api.Document.securitypolicyviolation_event - api.Document.title - api.Document.visibilityState - api.Document.visibilitychange_event @@ -163,7 +162,6 @@ compat_features: - api.Element.focus_event - api.Element.outerHTML - api.Element.scroll_event - - api.Element.securitypolicyviolation_event - api.Element.wheel_event - api.Element.before - api.Element.beforematch_event diff --git a/features/dom.yml.dist b/features/dom.yml.dist index 3faeba406a4..3955d5dbb9f 100644 --- a/features/dom.yml.dist +++ b/features/dom.yml.dist @@ -1296,19 +1296,6 @@ compat_features: # safari_ios: "12" - api.DOMTokenList.replace.boolean_value - # baseline: high - # baseline_low_date: 2018-10-23 - # baseline_high_date: 2021-04-23 - # support: - # chrome: "41" - # chrome_android: "41" - # edge: "15" - # firefox: "63" - # firefox_android: "63" - # safari: "10" - # safari_ios: "10" - - api.Element.securitypolicyviolation_event - # baseline: high # baseline_low_date: 2018-10-23 # baseline_high_date: 2021-04-23 @@ -1428,19 +1415,6 @@ compat_features: # safari_ios: "15.4" - api.HTMLElement.nonce - # baseline: high - # baseline_low_date: 2022-03-14 - # baseline_high_date: 2024-09-14 - # support: - # chrome: "76" - # chrome_android: "76" - # edge: "79" - # firefox: "93" - # firefox_android: "93" - # safari: "15.4" - # safari_ios: "15.4" - - api.Document.securitypolicyviolation_event - # baseline: low # baseline_low_date: 2024-04-16 # support: diff --git a/features/mutations.yml b/features/mutations-observer.yml similarity index 100% rename from features/mutations.yml rename to features/mutations-observer.yml diff --git a/features/mutations.yml.dist b/features/mutations-observer.yml.dist similarity index 97% rename from features/mutations.yml.dist rename to features/mutations-observer.yml.dist index d7644d8f9b0..56b1754f71b 100644 --- a/features/mutations.yml.dist +++ b/features/mutations-observer.yml.dist @@ -1,4 +1,4 @@ -# Generated from: mutations.yml +# Generated from: mutations-observer.yml # Do not edit this file by hand. Edit the source file instead! status: From fee879afaaaf1ac0c46bc268c261abe6acb2b457 Mon Sep 17 00:00:00 2001 From: dietrich ayala Date: Sun, 27 Oct 2024 18:45:04 +0530 Subject: [PATCH 10/19] update desc --- features/dom.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/features/dom.yml b/features/dom.yml index fe1c72578fd..8cba6de295b 100644 --- a/features/dom.yml +++ b/features/dom.yml @@ -1,5 +1,5 @@ name: DOM Standard -description: "The DOM (Document Object Model) is an API for working with documents by modeling them as a tree of nodes. TODO: add some of the parts" +description: "The DOM (Document Object Model) is an API for working with documents by modeling them as trees of nodes. You can change a document's structure, style, or content using this API via JavaScript." spec: https://dom.spec.whatwg.org/ status: compute_from: api.Document From 2e6b98edb773c6a027a2bf3013143c2de91f8fc4 Mon Sep 17 00:00:00 2001 From: dietrich ayala Date: Mon, 28 Oct 2024 10:28:20 +0530 Subject: [PATCH 11/19] update desc and spec --- features/events.yml | 7 +++++-- features/{mutations-observer.yml => mutationobserver.yml} | 4 ++-- ...tations-observer.yml.dist => mutationobserver.yml.dist} | 2 +- 3 files changed, 8 insertions(+), 5 deletions(-) rename features/{mutations-observer.yml => mutationobserver.yml} (72%) rename features/{mutations-observer.yml.dist => mutationobserver.yml.dist} (97%) diff --git a/features/events.yml b/features/events.yml index 153e9b6c9d2..ce7efe5ec40 100644 --- a/features/events.yml +++ b/features/events.yml @@ -1,6 +1,9 @@ name: Events -description: TODO -spec: https://dom.spec.whatwg.org/ +description: "Events are notifications of significant things occurring in the web page, such as documents or images loading, or user clicks. The Events APIs let you listen for these events, and react to them." +spec: + - https://html.spec.whatwg.org/multipage/indices.html#events-2 + - https://dom.spec.whatwg.org/#interface-customevent + - https://dom.spec.whatwg.org/#interface-eventtarget compat_features: - api.CustomEvent - api.CustomEvent.CustomEvent diff --git a/features/mutations-observer.yml b/features/mutationobserver.yml similarity index 72% rename from features/mutations-observer.yml rename to features/mutationobserver.yml index c3ac87a43c5..116c14000df 100644 --- a/features/mutations-observer.yml +++ b/features/mutationobserver.yml @@ -1,6 +1,6 @@ name: MutationObserver -description: TODO -spec: https://dom.spec.whatwg.org/ +description: "`MutationObserver` watches for changes being made to the DOM tree and invokes a specified callback function when DOM changes occur." +spec: https://dom.spec.whatwg.org/#interface-mutationobserver compat_features: - api.MutationObserver - api.MutationObserver.MutationObserver diff --git a/features/mutations-observer.yml.dist b/features/mutationobserver.yml.dist similarity index 97% rename from features/mutations-observer.yml.dist rename to features/mutationobserver.yml.dist index 56b1754f71b..dc40c1ff2fa 100644 --- a/features/mutations-observer.yml.dist +++ b/features/mutationobserver.yml.dist @@ -1,4 +1,4 @@ -# Generated from: mutations-observer.yml +# Generated from: mutationobserver.yml # Do not edit this file by hand. Edit the source file instead! status: From 90a6b9a88d8e75dbc7a5c73d8cb3e3c3029d6fd6 Mon Sep 17 00:00:00 2001 From: "Daniel D. Beck" Date: Wed, 30 Oct 2024 17:16:17 +0100 Subject: [PATCH 12/19] Revise name and description --- features/dom.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/features/dom.yml b/features/dom.yml index 8cba6de295b..de372d3eac1 100644 --- a/features/dom.yml +++ b/features/dom.yml @@ -1,5 +1,5 @@ -name: DOM Standard -description: "The DOM (Document Object Model) is an API for working with documents by modeling them as trees of nodes. You can change a document's structure, style, or content using this API via JavaScript." +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 From dbb1a449a8a041857fe9bcce91446545915428cb Mon Sep 17 00:00:00 2001 From: "Daniel D. Beck" Date: Wed, 30 Oct 2024 17:19:12 +0100 Subject: [PATCH 13/19] Remove events for forms, points, and keyboards --- features/dom.yml | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/features/dom.yml b/features/dom.yml index de372d3eac1..374f08db5fe 100644 --- a/features/dom.yml +++ b/features/dom.yml @@ -124,7 +124,6 @@ compat_features: - api.Document.referrer - api.Document.replaceChildren - api.Document.scripts - - api.Document.scroll_event - api.Document.title - api.Document.visibilityState - api.Document.visibilitychange_event @@ -157,20 +156,12 @@ compat_features: - api.Element.attachShadow.options_delegatesFocus_parameter - api.Element.attachShadow.options_serializable_parameter - api.Element.attributes - - api.Element.auxclick_event - - api.Element.auxclick_event.type_pointerevent - - api.Element.focus_event - api.Element.outerHTML - - api.Element.scroll_event - - api.Element.wheel_event - api.Element.before - - api.Element.beforematch_event - - api.Element.blur_event - api.Element.childElementCount - api.Element.children - api.Element.classList - api.Element.className - - api.Element.click_event.type_pointerevent - api.Element.closest - api.Element.firstElementChild - api.Element.getAttribute @@ -192,8 +183,6 @@ compat_features: - api.Element.insertAdjacentElement - api.Element.insertAdjacentHTML - api.Element.insertAdjacentText - - api.Element.keydown_event - - api.Element.keyup_event - api.Element.lastElementChild - api.Element.localName - api.Element.matches @@ -227,9 +216,7 @@ compat_features: - api.HTMLElement.autocapitalize - api.HTMLElement.autocorrect - api.HTMLElement.blur - - api.HTMLElement.change_event - api.HTMLElement.click - - api.HTMLElement.command_event - api.HTMLElement.contentEditable - api.HTMLElement.contentEditable.plaintext-only - api.HTMLElement.dir From fbce05e19b43c3f30bca0724f135d192666da214 Mon Sep 17 00:00:00 2001 From: "Daniel D. Beck" Date: Wed, 30 Oct 2024 17:21:45 +0100 Subject: [PATCH 14/19] Refresh dist --- features/dom.yml.dist | 124 ++---------------------------------------- 1 file changed, 6 insertions(+), 118 deletions(-) diff --git a/features/dom.yml.dist b/features/dom.yml.dist index 3955d5dbb9f..02f62499f4a 100644 --- a/features/dom.yml.dist +++ b/features/dom.yml.dist @@ -185,19 +185,6 @@ compat_features: - api.Node.lookupPrefix - api.Node.textContent - # baseline: high - # baseline_low_date: 2015-07-29 - # baseline_high_date: 2018-01-29 - # support: - # chrome: "1" - # chrome_android: "18" - # edge: "12" - # firefox: "1" - # firefox_android: "4" - # safari: "3" - # safari_ios: "2" - - api.HTMLElement.change_event - # baseline: high # baseline_low_date: 2015-07-29 # baseline_high_date: 2018-01-29 @@ -416,59 +403,6 @@ compat_features: - api.TreeWalker.root - api.TreeWalker.whatToShow - # baseline: high - # baseline_low_date: 2015-07-29 - # baseline_high_date: 2018-01-29 - # support: - # chrome: "1" - # chrome_android: "18" - # edge: "12" - # firefox: "6" - # firefox_android: "6" - # safari: "1.2" - # safari_ios: "1" - - api.Element.keydown_event - - api.Element.keyup_event - - # baseline: high - # baseline_low_date: 2015-07-29 - # baseline_high_date: 2018-01-29 - # support: - # chrome: "1" - # chrome_android: "18" - # edge: "12" - # firefox: "6" - # firefox_android: "6" - # safari: "1.3" - # safari_ios: "1" - - api.Element.scroll_event - - # baseline: high - # baseline_low_date: 2015-07-29 - # baseline_high_date: 2018-01-29 - # support: - # chrome: "1" - # chrome_android: "18" - # edge: "12" - # firefox: "6" - # firefox_android: "6" - # safari: "2" - # safari_ios: "1" - - api.Document.scroll_event - - # baseline: high - # baseline_low_date: 2015-07-29 - # baseline_high_date: 2018-01-29 - # support: - # chrome: "1" - # chrome_android: "18" - # edge: "12" - # firefox: "6" - # firefox_android: "6" - # safari: "3.1" - # safari_ios: "2" - - api.Element.blur_event - # baseline: high # baseline_low_date: 2015-07-29 # baseline_high_date: 2018-01-29 @@ -508,19 +442,6 @@ compat_features: # safari_ios: "1" - api.Element.outerHTML - # baseline: high - # baseline_low_date: 2015-07-29 - # baseline_high_date: 2018-01-29 - # support: - # chrome: "1" - # chrome_android: "18" - # edge: "12" - # firefox: "24" - # firefox_android: "24" - # safari: "3.1" - # safari_ios: "2" - - api.Element.focus_event - # baseline: high # baseline_low_date: 2015-07-29 # baseline_high_date: 2018-01-29 @@ -1451,16 +1372,6 @@ compat_features: # safari_ios: "18" - api.Element.getHTML - # baseline: false - # support: - # chrome: "31" - # chrome_android: "31" - # edge: "12" - # firefox: "17" - # firefox_android: "17" - # safari: "7" - - api.Element.wheel_event - # baseline: false # support: # chrome: "66" @@ -1480,15 +1391,6 @@ compat_features: # safari_ios: "5" - api.HTMLElement.contentEditable.plaintext-only - # baseline: false - # support: - # chrome: "55" - # chrome_android: "55" - # edge: "79" - # firefox: "53" - # firefox_android: "53" - - api.Element.auxclick_event - # baseline: false # support: # chrome: "56" @@ -1523,21 +1425,6 @@ compat_features: # edge: "79" - api.Document.featurePolicy - # baseline: false - # support: - # chrome: "92" - # chrome_android: "92" - # edge: "92" - - api.Element.auxclick_event.type_pointerevent - - api.Element.click_event.type_pointerevent - - # baseline: false - # support: - # chrome: "102" - # chrome_android: "102" - # edge: "102" - - api.Element.beforematch_event - # baseline: false # support: # chrome: "125" @@ -1545,13 +1432,14 @@ compat_features: # edge: "125" - api.Element.attachShadow.options_serializable_parameter + # baseline: false + # support: + # safari: "14.1" + # safari_ios: "14.5" + - api.HTMLElement.autocorrect + # baseline: false # support: # firefox: "104" # firefox_android: "104" - api.HTMLElement.focus.options_focusVisible_parameter - - # baseline: false - # support: {} - - api.HTMLElement.autocorrect - - api.HTMLElement.command_event From 182efb9a80fa45947de0d1c4a40380aa37c55f00 Mon Sep 17 00:00:00 2001 From: "Daniel D. Beck" Date: Wed, 30 Oct 2024 17:53:35 +0100 Subject: [PATCH 15/19] Remove several keys that are likely to be in other features or deprecated --- features/dom.yml | 28 ------ features/dom.yml.dist | 212 ------------------------------------------ 2 files changed, 240 deletions(-) diff --git a/features/dom.yml b/features/dom.yml index 374f08db5fe..68f40af75ee 100644 --- a/features/dom.yml +++ b/features/dom.yml @@ -72,7 +72,6 @@ compat_features: - api.Document.close - api.Document.compatMode - api.Document.contentType - - api.Document.cookie - api.Document.createAttribute - api.Document.createAttributeNS - api.Document.createCDATASection @@ -82,8 +81,6 @@ compat_features: - api.Document.createElement.options_parameter - api.Document.createElementNS - api.Document.createElementNS.options_parameter - - api.Document.createEvent - - api.Document.createExpression - api.Document.createNodeIterator - api.Document.createProcessingInstruction - api.Document.createTextNode @@ -91,13 +88,11 @@ compat_features: - api.Document.createTreeWalker.whatToShow_filter_parameters_optional - api.Document.currentScript - api.Document.defaultView - - api.Document.designMode - api.Document.dir - api.Document.doctype - api.Document.documentElement - api.Document.documentURI - api.Document.embeds - - api.Document.featurePolicy - api.Document.firstElementChild - api.Document.forms - api.Document.getElementsByName @@ -127,8 +122,6 @@ compat_features: - api.Document.title - api.Document.visibilityState - api.Document.visibilitychange_event - - api.Document.write - - api.Document.writeln - api.DocumentFragment - api.DocumentFragment.DocumentFragment - api.DocumentFragment.append @@ -152,9 +145,6 @@ compat_features: - api.Element - api.Element.after - api.Element.append - - api.Element.attachShadow.options_clonable_parameter - - api.Element.attachShadow.options_delegatesFocus_parameter - - api.Element.attachShadow.options_serializable_parameter - api.Element.attributes - api.Element.outerHTML - api.Element.before @@ -211,29 +201,11 @@ compat_features: - api.HTMLCollection.namedItem - api.HTMLDocument - api.HTMLElement - - api.HTMLElement.accessKey - - api.HTMLElement.accessKeyLabel - - api.HTMLElement.autocapitalize - - api.HTMLElement.autocorrect - - api.HTMLElement.blur - - api.HTMLElement.click - - api.HTMLElement.contentEditable - - api.HTMLElement.contentEditable.plaintext-only - api.HTMLElement.dir - api.HTMLElement.enterKeyHint - - api.HTMLElement.focus - - api.HTMLElement.focus.options_focusVisible_parameter - - api.HTMLElement.focus.options_preventScroll_parameter - api.HTMLElement.hidden - api.HTMLElement.innerText - - api.HTMLElement.inputMode - - api.HTMLElement.isContentEditable - - api.HTMLElement.lang - - api.HTMLElement.nonce - api.HTMLElement.outerText - - api.HTMLElement.spellcheck - - api.HTMLElement.title - - api.HTMLElement.togglePopover.returns_boolean - api.NamedNodeMap - api.NamedNodeMap.getNamedItem - api.NamedNodeMap.getNamedItemNS diff --git a/features/dom.yml.dist b/features/dom.yml.dist index 02f62499f4a..f75a6683664 100644 --- a/features/dom.yml.dist +++ b/features/dom.yml.dist @@ -46,7 +46,6 @@ compat_features: - api.DOMImplementation.createDocumentType - api.Document - api.Document.URL - - api.Document.cookie - api.Document.createAttribute - api.Document.createAttributeNS - api.Document.createCDATASection @@ -54,7 +53,6 @@ compat_features: - api.Document.createDocumentFragment - api.Document.createElement - api.Document.createElementNS - - api.Document.createEvent - api.Document.createProcessingInstruction - api.Document.createTextNode - api.Document.defaultView @@ -72,7 +70,6 @@ compat_features: - api.Document.links - api.Document.referrer - api.Document.title - - api.Document.write - api.Element - api.Element.attributes - api.Element.getAttribute @@ -151,7 +148,6 @@ compat_features: # firefox_android: "4" # safari: "1.2" # safari_ios: "1" - - api.Document.designMode - api.Node.childNodes # baseline: high @@ -169,7 +165,6 @@ compat_features: - api.Comment - api.Document.adoptNode - api.Document.characterSet - - api.Document.createExpression - api.Document.createNodeIterator - api.DocumentFragment - api.DocumentType @@ -177,8 +172,6 @@ compat_features: - api.DocumentType.publicId - api.DocumentType.systemId - api.HTMLElement.dir - - api.HTMLElement.lang - - api.HTMLElement.title - api.Node.isDefaultNamespace - api.Node.isEqualNode - api.Node.lookupNamespaceURI @@ -240,20 +233,6 @@ compat_features: # safari_ios: "1" - api.Node.baseURI - # baseline: high - # baseline_low_date: 2015-07-29 - # baseline_high_date: 2018-01-29 - # support: - # chrome: "1" - # chrome_android: "18" - # edge: "12" - # firefox: "1.5" - # firefox_android: "4" - # safari: "3" - # safari_ios: "1" - - api.HTMLElement.blur - - api.HTMLElement.focus - # baseline: high # baseline_low_date: 2015-07-29 # baseline_high_date: 2018-01-29 @@ -267,19 +246,6 @@ compat_features: # safari_ios: "5" - api.DOMStringList.contains - # baseline: high - # baseline_low_date: 2015-07-29 - # baseline_high_date: 2018-01-29 - # support: - # chrome: "1" - # chrome_android: "18" - # edge: "12" - # firefox: "3" - # firefox_android: "4" - # safari: "3" - # safari_ios: "1" - - api.HTMLElement.contentEditable - # baseline: high # baseline_low_date: 2015-07-29 # baseline_high_date: 2018-01-29 @@ -366,19 +332,6 @@ compat_features: # safari_ios: "1" - api.DOMImplementation.createHTMLDocument - # baseline: high - # baseline_low_date: 2015-07-29 - # baseline_high_date: 2018-01-29 - # support: - # chrome: "1" - # chrome_android: "18" - # edge: "12" - # firefox: "4" - # firefox_android: "4" - # safari: "3" - # safari_ios: "1" - - api.HTMLElement.isContentEditable - # baseline: high # baseline_low_date: 2015-07-29 # baseline_high_date: 2018-01-29 @@ -568,32 +521,6 @@ compat_features: - api.DOMTokenList.toString - api.DOMTokenList.toggle - # baseline: high - # baseline_low_date: 2015-07-29 - # baseline_high_date: 2018-01-29 - # support: - # chrome: "9" - # chrome_android: "18" - # edge: "12" - # firefox: "2" - # firefox_android: "4" - # safari: "5.1" - # safari_ios: "5" - - api.HTMLElement.spellcheck - - # baseline: high - # baseline_low_date: 2015-07-29 - # baseline_high_date: 2018-01-29 - # support: - # chrome: "9" - # chrome_android: "18" - # edge: "12" - # firefox: "3" - # firefox_android: "4" - # safari: "6" - # safari_ios: "6" - - api.HTMLElement.click - # baseline: high # baseline_low_date: 2015-07-29 # baseline_high_date: 2018-01-29 @@ -620,19 +547,6 @@ compat_features: # safari_ios: "1" - api.Node.contains - # baseline: high - # baseline_low_date: 2015-07-29 - # baseline_high_date: 2018-01-29 - # support: - # chrome: "17" - # chrome_android: "18" - # edge: "12" - # firefox: "5" - # firefox_android: "5" - # safari: "6" - # safari_ios: "6" - - api.HTMLElement.accessKey - # baseline: high # baseline_low_date: 2015-07-29 # baseline_high_date: 2018-01-29 @@ -959,7 +873,6 @@ compat_features: # safari_ios: "11" - api.Document.close - api.Document.open - - api.Document.writeln # baseline: high # baseline_low_date: 2018-04-30 @@ -1271,19 +1184,6 @@ compat_features: # safari_ios: "14.5" - api.Document.visibilitychange_event - # baseline: high - # baseline_low_date: 2021-11-02 - # baseline_high_date: 2024-05-02 - # support: - # chrome: "53" - # chrome_android: "53" - # edge: "79" - # firefox: "94" - # firefox_android: "94" - # safari: "13.1" - # safari_ios: "13.4" - - api.Element.attachShadow.options_delegatesFocus_parameter - # baseline: high # baseline_low_date: 2021-11-02 # baseline_high_date: 2024-05-02 @@ -1297,19 +1197,6 @@ compat_features: # safari_ios: "13.4" - api.HTMLElement.enterKeyHint - # baseline: high - # baseline_low_date: 2021-12-07 - # baseline_high_date: 2024-06-07 - # support: - # chrome: "66" - # chrome_android: "66" - # edge: "79" - # firefox: "95" - # firefox_android: "79" - # safari: "12.1" - # safari_ios: "12.2" - - api.HTMLElement.inputMode - # baseline: high # baseline_low_date: 2022-03-08 # baseline_high_date: 2024-09-08 @@ -1323,43 +1210,6 @@ compat_features: # safari_ios: "1" - api.HTMLElement.outerText - # baseline: high - # baseline_low_date: 2022-03-14 - # baseline_high_date: 2024-09-14 - # support: - # chrome: "61" - # chrome_android: "61" - # edge: "79" - # firefox: "75" - # firefox_android: "79" - # safari: "15.4" - # safari_ios: "15.4" - - api.HTMLElement.nonce - - # baseline: low - # baseline_low_date: 2024-04-16 - # support: - # chrome: "116" - # chrome_android: "116" - # edge: "116" - # firefox: "125" - # firefox_android: "125" - # safari: "17" - # safari_ios: "17" - - api.HTMLElement.togglePopover.returns_boolean - - # baseline: low - # baseline_low_date: 2024-04-18 - # support: - # chrome: "124" - # chrome_android: "124" - # edge: "124" - # firefox: "123" - # firefox_android: "123" - # safari: "17.4" - # safari_ios: "17.4" - - api.Element.attachShadow.options_clonable_parameter - # baseline: low # baseline_low_date: 2024-09-16 # support: @@ -1372,25 +1222,6 @@ compat_features: # safari_ios: "18" - api.Element.getHTML - # baseline: false - # support: - # chrome: "66" - # chrome_android: "66" - # edge: "79" - # firefox: "111" - # firefox_android: "111" - # safari_ios: "10.3" - - api.HTMLElement.autocapitalize - - # baseline: false - # support: - # chrome: "51" - # chrome_android: "51" - # edge: ≤79 - # safari: "5.1" - # safari_ios: "5" - - api.HTMLElement.contentEditable.plaintext-only - # baseline: false # support: # chrome: "56" @@ -1400,46 +1231,3 @@ compat_features: # firefox_android: "50" - api.Document.createElement.options_parameter - api.Document.createElementNS.options_parameter - - # baseline: false - # support: - # chrome: "64" - # edge: "17" - # firefox: "68" - # safari: "15" - # safari_ios: "15.5" - - api.HTMLElement.focus.options_preventScroll_parameter - - # baseline: false - # support: - # firefox: "8" - # firefox_android: "8" - # safari: "14" - # safari_ios: "14" - - api.HTMLElement.accessKeyLabel - - # baseline: false - # support: - # chrome: "74" - # chrome_android: "74" - # edge: "79" - - api.Document.featurePolicy - - # baseline: false - # support: - # chrome: "125" - # chrome_android: "125" - # edge: "125" - - api.Element.attachShadow.options_serializable_parameter - - # baseline: false - # support: - # safari: "14.1" - # safari_ios: "14.5" - - api.HTMLElement.autocorrect - - # baseline: false - # support: - # firefox: "104" - # firefox_android: "104" - - api.HTMLElement.focus.options_focusVisible_parameter From c534af21a1fdf9011c0f282cc4292b44fd54148a Mon Sep 17 00:00:00 2001 From: "Daniel D. Beck" Date: Wed, 30 Oct 2024 18:02:07 +0100 Subject: [PATCH 16/19] Revise MutationObserver description --- features/mutationobserver.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/features/mutationobserver.yml b/features/mutationobserver.yml index 116c14000df..3122ec39a43 100644 --- a/features/mutationobserver.yml +++ b/features/mutationobserver.yml @@ -1,5 +1,5 @@ name: MutationObserver -description: "`MutationObserver` watches for changes being made to the DOM tree and invokes a specified callback function when DOM changes occur." +description: The `MutationObserver` API watches for changes to the DOM tree and calls a callback function when DOM changes occur. spec: https://dom.spec.whatwg.org/#interface-mutationobserver compat_features: - api.MutationObserver From fba751f18e2bdb63576e68ffd886388af46e279f Mon Sep 17 00:00:00 2001 From: "Daniel D. Beck" Date: Wed, 30 Oct 2024 18:03:04 +0100 Subject: [PATCH 17/19] Revise events description --- features/events.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/features/events.yml b/features/events.yml index ce7efe5ec40..bf9bc08d9b1 100644 --- a/features/events.yml +++ b/features/events.yml @@ -1,5 +1,5 @@ name: Events -description: "Events are notifications of significant things occurring in the web page, such as documents or images loading, or user clicks. The Events APIs let you listen for these events, and react to them." +description: Events fire when significant things happen in the page, such as an image loading or a user clicking. You can use the `addEventListener()` method on objects that receive events (event targets), such as windows, documents, and elements, to set a function to be called when an event fires. spec: - https://html.spec.whatwg.org/multipage/indices.html#events-2 - https://dom.spec.whatwg.org/#interface-customevent From d1a477e733edf936fd4f0db3892d5a280d83dc24 Mon Sep 17 00:00:00 2001 From: "Daniel D. Beck" Date: Wed, 30 Oct 2024 18:04:16 +0100 Subject: [PATCH 18/19] Remove a likely form feature key --- features/dom.yml | 1 - features/dom.yml.dist | 13 ------------- 2 files changed, 14 deletions(-) diff --git a/features/dom.yml b/features/dom.yml index 68f40af75ee..973ca45f8a1 100644 --- a/features/dom.yml +++ b/features/dom.yml @@ -202,7 +202,6 @@ compat_features: - api.HTMLDocument - api.HTMLElement - api.HTMLElement.dir - - api.HTMLElement.enterKeyHint - api.HTMLElement.hidden - api.HTMLElement.innerText - api.HTMLElement.outerText diff --git a/features/dom.yml.dist b/features/dom.yml.dist index f75a6683664..c257e771531 100644 --- a/features/dom.yml.dist +++ b/features/dom.yml.dist @@ -1184,19 +1184,6 @@ compat_features: # safari_ios: "14.5" - api.Document.visibilitychange_event - # baseline: high - # baseline_low_date: 2021-11-02 - # baseline_high_date: 2024-05-02 - # support: - # chrome: "77" - # chrome_android: "77" - # edge: "79" - # firefox: "94" - # firefox_android: "94" - # safari: "13.1" - # safari_ios: "13.4" - - api.HTMLElement.enterKeyHint - # baseline: high # baseline_low_date: 2022-03-08 # baseline_high_date: 2024-09-08 From d3228d5794feb254efa6244d0cd64f49e911c477 Mon Sep 17 00:00:00 2001 From: "Daniel D. Beck" Date: Mon, 4 Nov 2024 14:22:02 +0100 Subject: [PATCH 19/19] Remove more Shadow DOM and custom elements keys --- features/dom.yml | 3 --- features/dom.yml.dist | 22 ---------------------- 2 files changed, 25 deletions(-) diff --git a/features/dom.yml b/features/dom.yml index 973ca45f8a1..5001c821c12 100644 --- a/features/dom.yml +++ b/features/dom.yml @@ -78,9 +78,7 @@ compat_features: - 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 @@ -164,7 +162,6 @@ compat_features: - 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 diff --git a/features/dom.yml.dist b/features/dom.yml.dist index c257e771531..f29173aabc0 100644 --- a/features/dom.yml.dist +++ b/features/dom.yml.dist @@ -1196,25 +1196,3 @@ compat_features: # safari: "1.3" # safari_ios: "1" - api.HTMLElement.outerText - - # baseline: low - # baseline_low_date: 2024-09-16 - # support: - # chrome: "125" - # chrome_android: "125" - # edge: "125" - # firefox: "128" - # firefox_android: "128" - # safari: "18" - # safari_ios: "18" - - api.Element.getHTML - - # baseline: false - # support: - # chrome: "56" - # chrome_android: "56" - # edge: "79" - # firefox: "50" - # firefox_android: "50" - - api.Document.createElement.options_parameter - - api.Document.createElementNS.options_parameter