diff --git a/dom.bs b/dom.bs index 403cfc935..595724d1f 100644 --- a/dom.bs +++ b/dom.bs @@ -6412,8 +6412,8 @@ steps:
To validate and set attribute value -value for an attribute attribute, with element -element, run these steps: +{{TrustedType}} or a string value for an attribute attribute, with +element element:
Let validValue be the result of calling @@ -6508,26 +6508,21 @@ or string namespace (default null): getting an attribute given namespace, localName, and element. -
Set attribute to a new attribute whose namespace is - namespace, namespace prefix is prefix, - local name is localName and node document is - element's node document. +
If attribute is null, then: +
Set attribute to a new attribute whose namespace is + namespace, namespace prefix is prefix, + local name is localName and node document is + element's node document. -
Validate and set attribute value value for attribute with - element. +
Validate and set attribute value value for attribute with + element. -
Append attribute to element. +
Append attribute to element. -
Return. -
Return. +
Change attribute to value.
If attribute is null, then: +
If attribute is null, then: -
Set attribute to a new attribute whose local name is - qualifiedName and node document is this's - node document. +
Set attribute to a new attribute whose local name is + qualifiedName and node document is this's + node document. -
Validate and set attribute value value for attribute, - with this. +
Validate and set attribute value value for attribute, + with this. -
Return. -
Return. +
Change attribute to value.