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]]
@@ -6357,7 +6358,8 @@ given a <var>document</var>, <var>localName</var>, <var>namespace</var>, and opt
6357
6358
<ol>
6358
6359
<li><p>Let <var>oldValue</var> be <var>attribute</var>'s <a for=Attr>value</a>.</p></li>
6359
6360
6360
-
<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>.
6361
+
<li><p><a>Validate and set attribute value</a><var>value</var> for <var>attribute</var>, with
6362
+
<var>attribute</var>'s <a for=Attr>element</a>.
6361
6363
6362
6364
<li><p><a>Handle attribute changes</a> for <var>attribute</var> with <var>attribute</var>'s
6363
6365
<a for=Attr>element</a>, <var>oldValue</var>, and <var>value</var>.
@@ -6409,13 +6411,17 @@ steps:
6409
6411
<a for=Attr>value</a>.
6410
6412
</ol>
6411
6413
6412
-
<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:
6414
+
<p>To <dfn id=concept-element-attributes-validate-and-set-value>validate and set attribute value</dfn>
6415
+
<var>value</var> for an <a>attribute</a><var>attribute</var>, with <a for=/>element</a>
6416
+
<var>element</var>, run these steps:
6417
+
6418
+
<ol>
6419
+
<li><p>Let <var>validValue</var> be the result of calling
6420
+
<a>Get Trusted Types-compliant attribute value</a> for <var>attribute</var>, with
6421
+
<var>element</var> and <var>value</var>. [[!TRUSTED-TYPES]]
6413
6422
6414
-
<ol>
6415
-
<li><p>Let <var>validValue</var> be the result of calling <a>Get Trusted Types-compliant attribute value</a>
6416
-
for <var>attribute</var>, with <var>element</var> and <var>value</var>.[[!TRUSTED-TYPES]]
6417
6423
<li><p>Set <var>attribute</var>'s <a for=Attr>value</a> to <var>validValue</var>.
0 commit comments