From 03384b27c3ee91c7146ddae4d9415b9d88760f18 Mon Sep 17 00:00:00 2001 From: Luke Warlow Date: Tue, 11 Jun 2024 13:35:44 +0200 Subject: [PATCH] Revert "Add tentative enforcement for toggleAttribute" This reverts commit 6e409647b112fe96d12583b8814d9f0a9980149e. --- dom.bs | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/dom.bs b/dom.bs index fbf15938..6b0b76a0 100644 --- a/dom.bs +++ b/dom.bs @@ -6918,17 +6918,11 @@ method steps are:

If attribute is null, then:

    -
  1. Set attribute to an attribute whose +

  2. If force is not given or is true, create an attribute whose local name is qualifiedName, value is the empty - string, and node document is this's node document. - -

  3. Let verifiedValue be the result of calling verify attribute value - attribute's value for attribute, with this. - -

  4. Set attribute's value to verifiedValue. - -

  5. If force is not given or is true, then append - this attribute to this, and then return true. + string, and node document is this's node document, then + append this attribute to this, and then return + true.

  6. Return false.