Skip to content

Commit

Permalink
Fix spacing to be single-space indented
Browse files Browse the repository at this point in the history
  • Loading branch information
Rahim Abdi committed Feb 16, 2025
1 parent 56f728a commit 17e914e
Showing 1 changed file with 25 additions and 25 deletions.
50 changes: 25 additions & 25 deletions source
Original file line number Diff line number Diff line change
Expand Up @@ -8183,40 +8183,40 @@ a.setAttribute('href', 'https://example.com/'); // change the content attribute
data-x="idl-DOMString">DOMString</span>?</code>:</p>

<ul>
<li>
<p>The getter steps are:</p>

<ol>
<li><p>Let <var>element</var> be the result of running <span>this</span>'s <span>get the
element</span>.</p></li>

<li><p>Let <var>contentAttributeValue</var> be the result of running <span>this</span>'s
<span>get the content attribute</span>.</p></li>
<li>
<p>The getter steps are:</p>

<li><p>Let <var>attributeDefinition</var> be the attribute definition of <var>element</var>'s
content attribute whose namespace is null and local name is the <span>reflected content
attribute name</span>.
<ol>
<li><p>Let <var>element</var> be the result of running <span>this</span>'s <span>get the
element</span>.</p></li>

<li>
<p>If <var>attributeDefinition</var> indicates it is an <span>enumerated attribute</span> and
the <span>reflected IDL attribute</span> is defined to be <span>limited to only known
values</span>:</p>
<li><p>Let <var>contentAttributeValue</var> be the result of running <span>this</span>'s
<span>get the content attribute</span>.</p></li>

<ol>
<li><p>If <var>contentAttributeValue</var> corresponds to a state of
<var>attributeDefinition</var> with no associated keyword value, then return null.</p></li>
<li><p>Let <var>attributeDefinition</var> be the attribute definition of <var>element</var>'s
content attribute whose namespace is null and local name is the <span>reflected content
attribute name</span>.

<li><p>Return the <span>canonical keyword</span> for the state of
<var>attributeDefinition</var> that <var>contentAttributeValue</var> corresponds to.</p></li>
</ol>
</li>
<li>
<p>If <var>attributeDefinition</var> indicates it is an <span>enumerated attribute</span> and
the <span>reflected IDL attribute</span> is defined to be <span>limited to only known
values</span>:</p>

<li><p>If <var>contentAttributeValue</var> is null, then return null.</p></li>
<ol>
<li><p>If <var>contentAttributeValue</var> corresponds to a state of
<var>attributeDefinition</var> with no associated keyword value, then return null.</p></li>

<li><p>Return <var>contentAttributeValue</var>.</p></li>
<li><p>Return the <span>canonical keyword</span> for the state of
<var>attributeDefinition</var> that <var>contentAttributeValue</var> corresponds to.</p></li>
</ol>
</li>

<li><p>If <var>contentAttributeValue</var> is null, then return null.</p></li>

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

<li>
<p>The setter steps are:</p>

Expand Down

0 comments on commit 17e914e

Please sign in to comment.