diff --git a/dom.bs b/dom.bs index 2a7c77e07..165529bc8 100644 --- a/dom.bs +++ b/dom.bs @@ -6796,23 +6796,20 @@ method, when invoked, must run these steps:
matches(selectors)
and
-webkitMatchesSelector(selectors)
methods, when
-invoked, must run these steps:
+The matches(selectors)
and
+webkitMatchesSelector(selectors)
method steps
+are:
Let s be the result of parse a selector from selectors. [[!SELECTORS4]] -
If s is failure, then throw a "{{SyntaxError!!exception}}" + {{DOMException}}. -
If the result of match a selector against an element, using s, + this, and :scope element this, returns success, then return true; otherwise, + return false. [[!SELECTORS4]]