Skip to content

Commit e37b25c

Browse files
author
arottier
committed
chance elementHasAttributeNameFilter to elementFilterByAttribute
1 parent ed122a9 commit e37b25c

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

dom.bs

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3320,7 +3320,7 @@ dictionary MutationObserverInit {
33203320
boolean attributeOldValue;
33213321
boolean characterDataOldValue;
33223322
sequence<DOMString> attributeFilter;
3323-
sequence<DOMString> elementHasAttributeNameFilter;
3323+
sequence<DOMString> elementFilterByAttribute;
33243324
sequence<DOMString> elementLocalNameFilter;
33253325
};
33263326
</pre>
@@ -3401,7 +3401,7 @@ dictionary MutationObserverInit {
34013401
observed and {{MutationObserverInit/attributes}} is true
34023402
or omitted.
34033403

3404-
<dt>{{MutationObserverInit/elementHasAttributeNameFilter}}
3404+
<dt>{{MutationObserverInit/elementFilterByAttribute}}
34053405
<dd>Set to a list of <a>attribute</a>
34063406
<a for=Attr>local names</a> (without <a for=Attr>namespace</a>) to observe changes
34073407
to the presence of an elements <a>attributes</a>.
@@ -3452,7 +3452,7 @@ method, when invoked, must run these steps:
34523452
<var>options</var>'s {{MutationObserverInit/characterData}} is omitted, then set
34533453
<var>options</var>'s {{MutationObserverInit/characterData}} to true.
34543454

3455-
<li><p>If <var>options</var>'s {{MutationObserverInit/elementHasAttributeNameFilter}} is present and
3455+
<li><p>If <var>options</var>'s {{MutationObserverInit/elementFilterByAttribute}} is present and
34563456
<var>options</var>'s {{MutationObserverInit/childList}} is omitted, then set
34573457
<var>options</var>'s {{MutationObserverInit/childList}} to true.
34583458

@@ -3476,7 +3476,7 @@ method, when invoked, must run these steps:
34763476
<var>options</var>'s {{MutationObserverInit/characterData}} is false, then <a>throw</a> a
34773477
<code>TypeError</code>.
34783478

3479-
<li><p>If <var>options</var>'s {{MutationObserverInit/elementHasAttributeNameFilter}} is present and
3479+
<li><p>If <var>options</var>'s {{MutationObserverInit/elementFilterByAttribute}} is present and
34803480
<var>options</var>'s {{MutationObserverInit/childList}} is false, then <a>throw</a> a
34813481
<code>TypeError</code>.
34823482

@@ -3626,7 +3626,7 @@ run these steps:
36263626
<li><p>Assert: either <var>addedNodes</var> or <var>removedNodes</var> <a for=set>is not empty</a>.
36273627

36283628
<li><p>If either <var>options</var>'s' {{MutationObserverInit/elementLocalNameFilter}} or
3629-
{{MutationObserverInit/elementHasAttributeNameFilter}} is present, then:
3629+
{{MutationObserverInit/elementFilterByAttribute}} is present, then:
36303630

36313631
<ol>
36323632
<li><p>Let <var>nodeAttributesList</var> be <var>nodeAttributesList</var> of the node's attributes, "<code>node.getAttributeNames()</code>".
@@ -3646,8 +3646,8 @@ run these steps:
36463646
{{MutationObserverInit/elementLocalNameFilter}} is present, and
36473647
"<code>node.localName</code>" is in {{MutationObserverInit/elementLocalNameFilter}}
36483648

3649-
<li><var>options</var>'s {{MutationObserverInit/elementHasAttributeNameFilter}} is
3650-
present, and <var>options</var>'s {{MutationObserverInit/elementHasAttributeNameFilter}}
3649+
<li><var>options</var>'s {{MutationObserverInit/elementFilterByAttribute}} is
3650+
present, and <var>options</var>'s {{MutationObserverInit/elementFilterByAttribute}}
36513651
contains any of the attribute name in <var>nodeAttributesList</var>
36523652
</ul>
36533653
<p>then:
@@ -3663,8 +3663,8 @@ run these steps:
36633663
{{MutationObserverInit/elementLocalNameFilter}} is present, and
36643664
"<code>node.localName</code>" is in {{MutationObserverInit/elementLocalNameFilter}}
36653665
<li>if <var>options</var>'s
3666-
{{MutationObserverInit/elementHasAttributeNameFilter}} is present,and <var>options</var>'s
3667-
{{MutationObserverInit/elementHasAttributeNameFilter}} contains any of the attribute names
3666+
{{MutationObserverInit/elementFilterByAttribute}} is present,and <var>options</var>'s
3667+
{{MutationObserverInit/elementFilterByAttribute}} contains any of the attribute names
36683668
in <var>nodeAttributesList</var>
36693669
</ul>
36703670
<p>then:

0 commit comments

Comments
 (0)