Skip to content

Commit

Permalink
Run specfmt
Browse files Browse the repository at this point in the history
  • Loading branch information
lukewarlow committed Feb 6, 2025
1 parent ab6a573 commit 622f78d
Showing 1 changed file with 12 additions and 17 deletions.
29 changes: 12 additions & 17 deletions dom.bs
Original file line number Diff line number Diff line change
Expand Up @@ -6512,14 +6512,12 @@ steps:
<a for=Attr>value</a>.
</ol>

<p>To <dfn>verify attribute value</dfn>
{{TrustedType}} or string <var>value</var> for an <a>attribute</a> <var>attribute</var>, given an
<a for=/>Element</a> <var>element</var>:
<p>To <dfn>verify attribute value</dfn> {{TrustedType}} or string <var>value</var> for an
<a>attribute</a> <var>attribute</var>, given an <a for=/>Element</a> <var>element</var>:

<ol>
<li><p>Return the result of calling
<a abstract-op>get Trusted Types-compliant attribute value</a> for <var>attribute</var>, with
<var>element</var>, <var>value</var>. [[!TRUSTED-TYPES]]
<li><p>Return the result of calling <a abstract-op>get Trusted Types-compliant attribute value</a>
for <var>attribute</var>, with <var>element</var>, <var>value</var>. [[!TRUSTED-TYPES]]
</ol>

<hr>
Expand Down Expand Up @@ -6602,11 +6600,11 @@ string <var>namespace</var> (default null):</p>
</div>

<div algorithm>
<p>To <dfn export id=concept-element-attributes-set-value>set an attribute value</dfn> given an
<a for=/>element</a> <var>element</var>, a string <var>localName</var>, a string or {{TrustedType}}
<var>value</var>, an optional null or string <var>prefix</var> (default null), an optional null
or string <var>namespace</var> (default null), and an optional boolean <var>verify</var>
(default false):
<p>To <dfn export id=concept-element-attributes-set-value>set an attribute value</dfn> given an <a
for=/>element</a> <var>element</var>, a string <var>localName</var>, a string or {{TrustedType}}
<var>value</var>, an optional null or string <var>prefix</var> (default null), an optional null or
string <var>namespace</var> (default null), and an optional boolean <var>verify</var> (default
false):

<ol>
<li>Let <var>attribute</var> be the result of
Expand Down Expand Up @@ -6640,8 +6638,7 @@ or string <var>namespace</var> (default null), and an optional boolean <var>veri
<ol>
<li><p>Set <var>attribute</var>'s <a for=Attr>value</a> to <var>verifiedValue</var>.

<li><p><a lt="append an attribute">Append</a> this <a>attribute</a> to
<var>element</var>.
<li><p><a lt="append an attribute">Append</a> this <a>attribute</a> to <var>element</var>.
</ol>
</ol>
</div>
Expand Down Expand Up @@ -6907,8 +6904,7 @@ method steps are:

<li><p>If <var>attributeExists</var> is false, set <var>attribute</var> to an <a>attribute</a>
whose <a for=Attr>local name</a> is <var>qualifiedName</var>, <a for=Attr>value</a> is
<var>value</var>, and <a for=Node>node document</a> is <a>this</a>'s <a for=Node>node
document</a>.
<var>value</var>, and <a for=Node>node document</a> is <a>this</a>'s <a for=Node>node document</a>.

<li><p>Let <var>verifiedValue</var> be the result of calling <a>verify attribute value</a>
<var>value</var> for <var>attribute</var>, with <a>this</a>.
Expand All @@ -6923,8 +6919,7 @@ method steps are:
<ol>
<li><p>Set <var>attribute</var>'s <a for=Attr>value</a> to <var>verifiedValue</var>.

<li><p><a lt="append an attribute">Append</a> this <a>attribute</a> to
<var>element</var>.
<li><p><a lt="append an attribute">Append</a> this <a>attribute</a> to <var>element</var>.
</ol>
</ol>

Expand Down

0 comments on commit 622f78d

Please sign in to comment.