diff --git a/dom.bs b/dom.bs index 6b0b76a0..3d760ce0 100644 --- a/dom.bs +++ b/dom.bs @@ -6546,8 +6546,9 @@ string namespace (default null):
To set an attribute value given an element element, a string localName, a string or {{TrustedType}} -value, an optional null or string prefix (default null), and an optional null -or string namespace (default null): +value, an optional null or string prefix (default null), an optional null +or string namespace (default null), and an optional boolean verify +(default false):
Let verifiedValue be the result of calling verify attribute value - value for attribute, with element. +
Let verifiedValue be value. + +
If verify is true: +
Set verifiedValue to the result of calling verify attribute value + value for attribute, with element. -
Set attributeExists to true if element has - an attribute attribute; otherwise false. +
Set attributeExists to true if element has + an attribute attribute; otherwise false. +
If attributeExists is true, change attribute to verifiedValue. @@ -6872,7 +6879,7 @@ method steps are: passing namespace and qualifiedName to validate and extract.
Set an attribute value for this using localName, value, - and also prefix and namespace. + prefix, namespace and true.
The