diff --git a/dom.bs b/dom.bs index e3b901d6..9eb9304c 100644 --- a/dom.bs +++ b/dom.bs @@ -6379,8 +6379,8 @@ given a document, localName, namespace, and opt
  • Verify and set attribute value value for attribute, with attribute's element. -

  • If attribute's element has - an attribute attribute, then handle attribute changes for +

  • If attribute's element + has an attribute, then handle attribute changes for attribute with attribute's element, oldValue, and value. @@ -6388,15 +6388,16 @@ given a document, localName, namespace, and opt

    To append an -attribute attribute to an element element, with optional -boolean validate (default true), run these steps: +attribute attribute to an element element, with an +optional boolean validate (default true):

    1. -

      If validate is true, then: +

      If validate is true: +

      1. Verify and set attribute value - attribute's value for attribute with element. + attribute's value for attribute, with element.

      2. If element has an attribute attribute, then throw an "{{InvalidStateError!!exception}}" {{DOMException}}. @@ -6431,7 +6432,7 @@ boolean validate (default true), run these steps:

        1. Verify and set attribute value newAttr's value for - newAttr with oldAttr's element. + newAttr, with oldAttr's element.

        2. Replace oldAttr by newAttr in oldAttr's element's attribute list. @@ -6446,16 +6447,16 @@ boolean validate (default true), run these steps: value.

        -

        To verify and set attribute value +

        To verify and set attribute value {{TrustedType}} or string value for an attribute attribute, with element element:

          -
        1. Let validValue be the result of calling +

        2. Let verifiedValue be the result of calling get Trusted Types-compliant attribute value for attribute, with element, value. [[!TRUSTED-TYPES]] -

        3. Set attribute's value to validValue. +

        4. Set attribute's value to verifiedValue.