diff --git a/dom.bs b/dom.bs index 5ffe342c..740a5771 100644 --- a/dom.bs +++ b/dom.bs @@ -6353,7 +6353,8 @@ given a document, localName, namespace, and opt
To change an -attribute attribute to value, with string sink, run these steps: +attribute attribute to value, with string sink, run these +steps:
Let oldValue be attribute's value.
Validate and set attribute value value for attribute, with attribute's element, and sink. -
Handle attribute changes for attribute with attribute's - element, oldValue, and value. +
If attribute's element has + an attribute attribute, then handle attribute changes for + attribute with attribute's element, oldValue, and + value. + +
Otherwise, throw an "{{InvalidStateError!!exception}}" {{DOMException}}.
To append an @@ -6374,6 +6379,9 @@ string sink (default ""), run these steps: attribute's value for attribute with element, and sink. +
If element has an attribute + attribute, then throw an "{{InvalidStateError!!exception}}" {{DOMException}}. +
Append attribute to element's attribute list. @@ -6497,7 +6505,11 @@ and a string sink:
Validate and set attribute value attr's value for attr with element, and sink. -
Replace oldAttr with attr. +
If element has an attribute + attr, then replace oldAttr with + attr. + +
Otherwise, throw an "{{InvalidStateError!!exception}}" {{DOMException}}.
Otherwise, append attr to element