From b0ecd77cf6d7c4e46ecb11f5e693df1894d92327 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 77905847..473c4a43 100644 --- a/dom.bs +++ b/dom.bs @@ -6971,17 +6971,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.