From 346e32c67ba976e6e4c10db8be1d216f34cd7e3b Mon Sep 17 00:00:00 2001 From: Anne van Kesteren Date: Fri, 15 Apr 2016 15:59:28 +0200 Subject: [PATCH] Editorial: web compatibility typically remains relevant Fixes #210. --- dom.bs | 12 ++++++------ dom.html | 8 +++----- 2 files changed, 9 insertions(+), 11 deletions(-) diff --git a/dom.bs b/dom.bs index 2af1964f..9818d142 100644 --- a/dom.bs +++ b/dom.bs @@ -2098,9 +2098,8 @@ steps:

Mixin {{NonElementParentNode}}

-

The {{NonElementParentNode/getElementById()}} method is not on -elements for compatibility with older versions of jQuery. If a time comes where that -version of jQuery has disappeared, we might be able to support it. +

Web compatibility prevents the {{NonElementParentNode/getElementById()}} +method from being exposed on elements (and therefore on {{ParentNode}}).

 [NoInterfaceObject,
@@ -2313,9 +2312,9 @@ running scope-match a selectors string selectors against the
 
 

Mixin {{NonDocumentTypeChildNode}}

-

The {{previousElementSibling}} and {{nextElementSibling}} attributes have -been removed from {{DocumentType}} nodes for compatibility reasons. If these additions are deemed -compatible enough in the future, they could be reinstated. +

Web compatibility prevents the {{previousElementSibling}} and +{{nextElementSibling}} attributes from being exposed on doctypes (and therefore on +{{ChildNode}}).

 [NoInterfaceObject,
@@ -9733,6 +9732,7 @@ Tobie Langel,
 Tom Pixley,
 Travis Leithead,
 triple-underscore,
+Veli Senol,
 Vidur Apparao,
 Warren He,
 Yehuda Katz,
diff --git a/dom.html b/dom.html
index 7ef3a093..d8bec6da 100644
--- a/dom.html
+++ b/dom.html
@@ -1319,8 +1319,7 @@ 

oldNextSibling, and previousSibling oldPreviousSibling.

4.2.4. Mixin NonElementParentNode

-

The getElementById() method is not on elements for compatibility with older versions of jQuery. If a time comes where that -version of jQuery has disappeared, we might be able to support it.

+

Web compatibility prevents the getElementById() method from being exposed on elements (and therefore on ParentNode).

[NoInterfaceObject,
  Exposed=Window]
 interface NonElementParentNode {
@@ -1420,9 +1419,7 @@ 

The querySelectorAll(selectors) method, when invoked, must return the static result of running scope-match a selectors string selectors against the context object.

4.2.7. Mixin NonDocumentTypeChildNode

-

The previousElementSibling and nextElementSibling attributes have -been removed from DocumentType nodes for compatibility reasons. If these additions are deemed -compatible enough in the future, they could be reinstated.

+

Web compatibility prevents the previousElementSibling and nextElementSibling attributes from being exposed on doctypes (and therefore on ChildNode).

[NoInterfaceObject,
  Exposed=Window]
 interface NonDocumentTypeChildNode {
@@ -5124,6 +5121,7 @@ 

Acknowledgmen Tobie Langel, Tom Pixley, Travis Leithead, triple-underscore, +Veli Senol, Vidur Apparao, Warren He, Yehuda Katz,