diff --git a/dom.bs b/dom.bs index 1e19e00b6..97898fb10 100644 --- a/dom.bs +++ b/dom.bs @@ -6189,6 +6189,22 @@ in an element element, run these steps:
Create an attribute whose + local name is qualifiedName, value is + value, and node document is context object's + node document. + +
Let qualifiedName and attribute be the result of running get a valid attribute by name given the qualifiedName and context object -
If attribute is null, create an attribute whose - local name is qualifiedName, value is - value, and node document is context object's - node document, then append this attribute to - context object, and then return. + +
If attribute is null, run create an attribute by value given the qualifiedName, value and context object, and then return.
Change attribute from context object to value. @@ -6606,13 +6619,7 @@ method, when invoked, must run these steps:
If force is given and is false, return false. -
Create an attribute whose - local name is qualifiedName, value is the empty - string, and node document is the context object's - node document. - -
Run create an attribute by value given the qualifiedName, the empty string and context object.