Skip to content

Commit 2e8bd5d

Browse files
author
arottier
committed
address some pr comments
1 parent 8629df2 commit 2e8bd5d

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
@@ -3399,7 +3399,7 @@ dictionary MutationObserverInit {
33993399
observed and {{MutationObserverInit/attributes}} is true
34003400
or omitted.
34013401

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

3453-
<li><p>If <var>options</var>'s {{MutationObserverInit/elementHasAttributeFilter}} is present and
3453+
<li><p>If <var>options</var>'s {{MutationObserverInit/elementHasAttributeNameFilter}} is present and
34543454
<var>options</var>'s {{MutationObserverInit/childList}} is omitted, then set
34553455
<var>options</var>'s {{MutationObserverInit/childList}} to true.
34563456

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

3477-
<li><p>If <var>options</var>'s {{MutationObserverInit/elementHasAttributeFilter}} is present and
3477+
<li><p>If <var>options</var>'s {{MutationObserverInit/elementHasAttributeNameFilter}} is present and
34783478
<var>options</var>'s {{MutationObserverInit/childList}} is false, then <a>throw</a> a
34793479
<code>TypeError</code>.
34803480

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

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

36293629
<ol>
36303630
<li><p>Let <var>nodeAttributesList</var> be <var>nodeAttributesList</var> of the node's attributes, "<code>node.attributes.keys</code>".
@@ -3644,9 +3644,9 @@ run these steps:
36443644
{{MutationObserverInit/elementLocalNameFilter}} is present, and
36453645
"<code>node.localName</code>" is in {{MutationObserverInit/elementLocalNameFilter}}
36463646

3647-
<li><var>options</var>'s {{MutationObserverInit/elementHasAttributeFilter}} is
3648-
present,and <var>options</var>'s {{MutationObserverInit/elementHasAttributeFilter}}
3649-
contains any of the attributes in <var>nodeAttributesList</var>
3647+
<li><var>options</var>'s {{MutationObserverInit/elementHasAttributeNameFilter}} is
3648+
present,and <var>options</var>'s {{MutationObserverInit/elementHasAttributeNameFilter}}
3649+
contains any of the attribute name in <var>nodeAttributesList</var>
36503650
</ul>
36513651
<p>then:
36523652
<ol>
@@ -3661,8 +3661,8 @@ run these steps:
36613661
{{MutationObserverInit/elementLocalNameFilter}} is present, and
36623662
"<code>node.localName</code>" is in {{MutationObserverInit/elementLocalNameFilter}}
36633663
<li>if <var>options</var>'s
3664-
{{MutationObserverInit/elementHasAttributeFilter}} is present,and <var>options</var>'s
3665-
{{MutationObserverInit/elementHasAttributeFilter}} contains any of the attributes
3664+
{{MutationObserverInit/elementHasAttributeNameFilter}} is present,and <var>options</var>'s
3665+
{{MutationObserverInit/elementHasAttributeNameFilter}} contains any of the attribute names
36663666
in <var>nodeAttributesList</var>
36673667
</ul>
36683668
<p>then:

0 commit comments

Comments
 (0)