You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: dom.bs
+37-22Lines changed: 37 additions & 22 deletions
Original file line number
Diff line number
Diff line change
@@ -52,7 +52,8 @@ spec:html; type:element
52
52
<p>This specification depends on the Infra Standard. [[!INFRA]]
53
53
54
54
<p>Some of the terms used in this specification are defined in <cite>Encoding</cite>,
55
-
<cite>Selectors</cite>, <cite>Trusted Types</cite>, <cite>Web IDL</cite>, <cite>XML</cite>, and <cite>Namespaces in XML</cite>.
55
+
<cite>Selectors</cite>, <cite>Trusted Types</cite>, <cite>Web IDL</cite>, <cite>XML</cite>, and
56
+
<cite>Namespaces in XML</cite>.
56
57
[[!ENCODING]]
57
58
[[!SELECTORS4]]
58
59
[[!TRUSTED-TYPES]]
@@ -6358,7 +6359,8 @@ given a <var>document</var>, <var>localName</var>, <var>namespace</var>, and opt
6358
6359
<ol>
6359
6360
<li><p>Let <var>oldValue</var> be <var>attribute</var>'s <a for=Attr>value</a>.</p></li>
6360
6361
6361
-
<li><p><a>Validate and set attribute value</a><var>value</var> for <var>attribute</var>, with <var>attribute</var>'s <a for=Attr>element</a>.
6362
+
<li><p><a>Validate and set attribute value</a><var>value</var> for <var>attribute</var>, with
6363
+
<var>attribute</var>'s <a for=Attr>element</a>.
6362
6364
6363
6365
<li><p><a>Handle attribute changes</a> for <var>attribute</var> with <var>attribute</var>'s
6364
6366
<a for=Attr>element</a>, <var>oldValue</var>, and <var>value</var>.
@@ -6410,13 +6412,17 @@ steps:
6410
6412
<a for=Attr>value</a>.
6411
6413
</ol>
6412
6414
6413
-
<p>To <dfn id=concept-element-attributes-validate-and-set-value>validate and set attribute value</dfn><var>value</var> for an <a>attribute</a><var>attribute</var>, with <a>element</a><var>element</var>, run these steps:
6415
+
<p>To <dfn id=concept-element-attributes-validate-and-set-value>validate and set attribute value</dfn>
6416
+
<var>value</var> for an <a>attribute</a><var>attribute</var>, with <a for=/>element</a>
6417
+
<var>element</var>, run these steps:
6418
+
6419
+
<ol>
6420
+
<li><p>Let <var>validValue</var> be the result of calling
6421
+
<a>Get Trusted Types-compliant attribute value</a> for <var>attribute</var>, with
6422
+
<var>element</var> and <var>value</var>. [[!TRUSTED-TYPES]]
6414
6423
6415
-
<ol>
6416
-
<li><p>Let <var>validValue</var> be the result of calling <a>Get Trusted Types-compliant attribute value</a>
6417
-
for <var>attribute</var>, with <var>element</var> and <var>value</var>.[[!TRUSTED-TYPES]]
6418
6424
<li><p>Set <var>attribute</var>'s <a for=Attr>value</a> to <var>validValue</var>.
0 commit comments