Skip to content

Commit

Permalink
use attr-label-for text
Browse files Browse the repository at this point in the history
  • Loading branch information
josepharhar committed Apr 18, 2024
1 parent f7c6b36 commit e154788
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions source
Original file line number Diff line number Diff line change
Expand Up @@ -14024,14 +14024,12 @@ background: transparent">blue&lt;/span>.&lt;/p></code></pre>

<p>The <dfn element-attr for="html-global"><code data-x="attr-anchor">anchor</code></dfn>
attribute allows authors to set a <span data-x="referenced">reference</span> to the <span>implicit
anchor element</span>. If an <span data-x="HTML elements">HTML element</span> has an <code
data-x="attr-anchor">anchor</code> attribute specified, then that attribute's value must be the
<span data-x="concept-ID">ID</span> of an element in the same <span>tree</span> as the element
with the <code data-x="attr-anchor">anchor</code> attribute. <ref>CSSANCHOR</ref></p>

<p>For an <span data-x="HTML elements">HTML element</span> <var>element</var>, its <span>implicit
anchor element</span> is the result of running <span>get an attribute by name</span> given
<var>element</var> and <code data-x="attr-anchor">anchor</code>.</p>
anchor element</span>. If an <span data-x="HTML elements">HTML element</span> has an <code
data-x="attr-anchor">anchor</code> attribute specified, and there is an element in the
<span>tree</span> whose <span data-x="concept-id">ID</span> is equal to the value of the <code
data-x="attr-anchor">anchor</code> attribute, then the first such element in <span>tree
order</span> is the <span>implicit anchor element</span> of the element with the <code
data-x="attr-anchor">anchor</code> attribute. <ref>CSSANCHOR</ref></p>

<p>The <dfn data-x="dom-anchorElement"><code>anchorElement</code></dfn> IDL attribute must
<span>reflect</span> the <code data-x="attr-anchor">anchor</code> attribute.
Expand Down

0 comments on commit e154788

Please sign in to comment.