Skip to content

Commit 6ef3826

Browse files
committed
Drop verify an attribute value algorithm
1 parent 1d25719 commit 6ef3826

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

dom.bs

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -6948,7 +6948,7 @@ steps:
69486948
<a for=Attr>value</a>.
69496949
</ol>
69506950

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

69546954
<ol>
@@ -7008,9 +7008,9 @@ string <var>namespace</var> (default null):</p>
70087008
<a for=/>attribute</a> <var>attr</var> and an <a for=/>element</a> <var>element</var>:
70097009

70107010
<ol>
7011-
<li><p>Let <var>verifiedValue</var> be the result of
7012-
<a lt="verify attribute value">verifying an attribute value</a> given <var>attr</var>'s
7013-
<a for=Attr>value</a>, <var>attr</var>, and <var>element</var>.
7011+
<li><p>Let <var>verifiedValue</var> be the result of calling <a abstract-op>get
7012+
Trusted Types-compliant attribute value</a> given <var>attr</var>, with <var>element</var>, and
7013+
<var>attr</var>'s <a for=Attr>value</a>. [[!TRUSTED-TYPES]]
70147014

70157015
<li><p>If <var>attr</var>'s <a for=Attr>element</a> is neither null nor <var>element</var>,
70167016
<a>throw</a> an "{{InUseAttributeError!!exception}}" {{DOMException}}.
@@ -7315,9 +7315,9 @@ method steps are:
73157315
whose <a for=Attr>local name</a> is <var>qualifiedName</var>, <a for=Attr>value</a> is
73167316
<var>value</var>, and <a for=Node>node document</a> is <a>this</a>'s <a for=Node>node document</a>.
73177317

7318-
<li><p>Let <var>verifiedValue</var> be the result of
7319-
<a lt="verify attribute value">verifying an attribute value</a> given <var>value</var>,
7320-
<var>attribute</var>, and <a>this</a>.
7318+
<li><p>Let <var>verifiedValue</var> be the result of calling <a abstract-op>get
7319+
Trusted Types-compliant attribute value</a> given <var>attribute</var>, with <a>this</a>, and
7320+
<var>value</var>. [[!TRUSTED-TYPES]]
73217321

73227322
<li><p>Set <var>attribute</var> to the first <a>attribute</a> in <a>this</a>'s
73237323
<a for=Element>attribute list</a> whose <a for=Attr>qualified name</a> is <var>qualifiedName</var>,
@@ -7350,9 +7350,9 @@ method steps are:
73507350
<var>value</var>, and <a for=Node>node document</a> is <var>element</var>'s
73517351
<a for=Node>node document</a>.
73527352

7353-
<li><p>Let <var>verifiedValue</var> be the result of
7354-
<a lt="verify attribute value">verifying an attribute value</a> given <var>value</var>,
7355-
<var>attribute</var>, and <var>element</var>.
7353+
<li><p>Let <var>verifiedValue</var> be the result of calling <a abstract-op>get
7354+
Trusted Types-compliant attribute value</a> given <var>attribute</var>, with <var>element</var>,
7355+
and <var>value</var>. [[!TRUSTED-TYPES]]
73567356

73577357
<li><p>Set <var>attribute</var> to the result of
73587358
<a lt="get an attribute by namespace and local name">getting an attribute</a> given
@@ -7949,9 +7949,9 @@ string <var>value</var>, run these steps:
79497949
<ol>
79507950
<li><p>Let <var>originalElement</var> be <var>attribute</var>'s <a for=Attr>element</a>.
79517951

7952-
<li><p>Let <var>verifiedValue</var> be the result of
7953-
<a lt="verify attribute value">verifying an attribute value</a> given <var>value</var>,
7954-
<var>attribute</var>, and <a>this</a>.
7952+
<li><p>Let <var>verifiedValue</var> be the result of calling <a abstract-op>get
7953+
Trusted Types-compliant attribute value</a> given <var>attribute</var>, with <a>this</a>,
7954+
and <var>value</var>. [[!TRUSTED-TYPES]]
79557955

79567956
<li><p>If <var>attribute</var>'s <a for=Attr>element</a> is null, then set <var>attribute</var>'s
79577957
<a for=Attr>value</a> to <var>verifiedValue</var>, and return.

0 commit comments

Comments
 (0)