Skip to content

Commit

Permalink
Apply suggested changes
Browse files Browse the repository at this point in the history
  • Loading branch information
mrego committed May 17, 2022
1 parent 9a82d67 commit e7d4216
Showing 1 changed file with 16 additions and 14 deletions.
30 changes: 16 additions & 14 deletions source
Original file line number Diff line number Diff line change
Expand Up @@ -7646,7 +7646,9 @@ a.setAttribute('href', 'https://example.com/'); // change the content attribute

<li>
<p>The following <span data-x="concept-element-attributes-change-ext">attribute change
steps</span> are used to synchronize between the content attribute and the IDL attribute:</p>
steps</span>, given <var>element</var>, <var>localName</var>, <var>oldValue</var>,
<var>value</var>, and <var>namespace</var>, are used to synchronize between the content
attribute and the IDL attribute:</p>
<ol>
<li><p>If <var>localName</var> is not the content attribute's local name, or
<var>namespace</var> is not null, then return.</p></li>
Expand All @@ -7658,7 +7660,7 @@ a.setAttribute('href', 'https://example.com/'); // change the content attribute
</ul>

<p>If a reflecting IDL attribute <var>attr</var> has the type <code
data-x="">FrozenArray&lt;<var>T</var>&gt;?</code>, where <var>T</var> is either
data-x="">FrozenArray&lt;<var>Element</var>&gt;?</code>, where <var>T</var> is either
<code>Element</code> or an interface that inherits from <code>Element</code>, then:</p>

<ul>
Expand All @@ -7668,7 +7670,7 @@ a.setAttribute('href', 'https://example.com/'); // change the content attribute

<li><p>Elements of the type this IDL attribute appears on have <dfn>cached
<var>attr</var>-associated elements</dfn>, which is a <code
data-x="">FrozenArray&lt;<code>Element</code>&gt;?</code>. It is initially null.</p></li>
data-x="">FrozenArray&lt;<code>T</code>&gt;?</code>. It is initially null.</p></li>

<li>
<p>Elements of the type this IDL attribute appears on have <dfn
Expand All @@ -7689,7 +7691,7 @@ a.setAttribute('href', 'https://example.com/'); // change the content attribute
<li><p>If <var>attrElement</var> is not a <span>descendant</span> of any of <var>element</var>'s <span
data-x="concept-shadow-including-ancestor">shadow-including ancestors</span>, then
<span>continue</span>.</p></li>
<li><p>Add <var>attrElement</var> to <var>elements</var>.</p></li>
<li><p><span data-x="list append">Append</span> <var>attrElement</var> to <var>elements</var>.</p></li>
</ol>
</li>
</ol>
Expand Down Expand Up @@ -7728,16 +7730,14 @@ a.setAttribute('href', 'https://example.com/'); // change the content attribute

<li><p>Return <var>elements</var>.</p></li>
</ol>
</li>

<li>
<p class="note">Other parts of this specification, or other specifications using attribute
reflection, are generally expected to consult the <span><var>attr</var>-associated
elements</span>. The <span>explicitly set <var>attr</var>-elements</span> are an internal
implementation detail of the <span><var>attr</var>-associated elements</span>, and are not to be
used directly. Similarly, the <span>cached <var>attr</var>-associated elements</span> are an
internal implementation detail of the IDL attribute's getter.</p>
</li>
<p class="note">Other parts of this specification, or other specifications using attribute
reflection, are generally expected to consult the <span><var>attr</var>-associated
elements</span>. The <span>explicitly set <var>attr</var>-elements</span> are an internal
implementation detail of the <span><var>attr</var>-associated elements</span>, and are not to be
used directly. Similarly, the <span>cached <var>attr</var>-associated elements</span> are an
internal implementation detail of the IDL attribute's getter.</p>
</li>

<li>
<p>On getting, the IDL attribute must perform the following steps:</p>
Expand Down Expand Up @@ -7824,7 +7824,9 @@ a.setAttribute('href', 'https://example.com/'); // change the content attribute

<li>
<p>The following <span data-x="concept-element-attributes-change-ext">attribute change
steps</span> are used to synchronize between the content attribute and the IDL attribute:</p>
steps</span>, given <var>element</var>, <var>localName</var>, <var>oldValue</var>,
<var>value</var>, and <var>namespace</var>, are used to synchronize between the content
attribute and the IDL attribute:</p>
<ol>
<li><p>If <var>localName</var> is not the content attribute's local name, or
<var>namespace</var> is not null, then return.</p></li>
Expand Down

0 comments on commit e7d4216

Please sign in to comment.