Skip to content

Commit

Permalink
Revert "Add tentative enforcement for toggleAttribute"
Browse files Browse the repository at this point in the history
This reverts commit 6e40964.
  • Loading branch information
lukewarlow committed Jun 11, 2024
1 parent 08f47c8 commit 03384b2
Showing 1 changed file with 4 additions and 10 deletions.
14 changes: 4 additions & 10 deletions dom.bs
Original file line number Diff line number Diff line change
Expand Up @@ -6918,17 +6918,11 @@ method steps are:
<p>If <var>attribute</var> is null, then:

<ol>
<li><p>Set <var>attribute</var> to an <a>attribute</a> whose
<li><p>If <var>force</var> is not given or is true, create an <a>attribute</a> whose
<a for=Attr>local name</a> is <var>qualifiedName</var>, <a for=Attr>value</a> is the empty
string, 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>attribute</var>'s <a for=Attr>value</a> for <var>attribute</var>, with <a>this</a>.

<li><p>Set <var>attribute</var>'s <a for=Attr>value</a> to <var>verifiedValue</var>.

<li><p>If <var>force</var> is not given or is true, then <a lt="append an attribute">append</a>
this <a>attribute</a> to <a>this</a>, and then return true.
string, and <a for=Node>node document</a> is <a>this</a>'s <a for=Node>node document</a>, then
<a lt="append an attribute">append</a> this <a>attribute</a> to <a>this</a>, and then return
true.

<li><p>Return false.
</ol>
Expand Down

0 comments on commit 03384b2

Please sign in to comment.