Skip to content

Commit

Permalink
address some pr comments
Browse files Browse the repository at this point in the history
  • Loading branch information
arottier committed Jul 24, 2020
1 parent 8629df2 commit 2e8bd5d
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions dom.bs
Original file line number Diff line number Diff line change
Expand Up @@ -3399,7 +3399,7 @@ dictionary MutationObserverInit {
observed and {{MutationObserverInit/attributes}} is true
or omitted.

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

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

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

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

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

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

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

<li><var>options</var>'s {{MutationObserverInit/elementHasAttributeFilter}} is
present,and <var>options</var>'s {{MutationObserverInit/elementHasAttributeFilter}}
contains any of the attributes in <var>nodeAttributesList</var>
<li><var>options</var>'s {{MutationObserverInit/elementHasAttributeNameFilter}} is
present,and <var>options</var>'s {{MutationObserverInit/elementHasAttributeNameFilter}}
contains any of the attribute name in <var>nodeAttributesList</var>
</ul>
<p>then:
<ol>
Expand All @@ -3661,8 +3661,8 @@ run these steps:
{{MutationObserverInit/elementLocalNameFilter}} is present, and
"<code>node.localName</code>" is in {{MutationObserverInit/elementLocalNameFilter}}
<li>if <var>options</var>'s
{{MutationObserverInit/elementHasAttributeFilter}} is present,and <var>options</var>'s
{{MutationObserverInit/elementHasAttributeFilter}} contains any of the attributes
{{MutationObserverInit/elementHasAttributeNameFilter}} is present,and <var>options</var>'s
{{MutationObserverInit/elementHasAttributeNameFilter}} contains any of the attribute names
in <var>nodeAttributesList</var>
</ul>
<p>then:
Expand Down

0 comments on commit 2e8bd5d

Please sign in to comment.