diff --git a/dom.bs b/dom.bs index 473c4a43..0fc9bca7 100644 --- a/dom.bs +++ b/dom.bs @@ -52,9 +52,11 @@ spec:html; type:element
This specification depends on the Infra Standard. [[!INFRA]]
Some of the terms used in this specification are defined in Encoding, -Selectors, Web IDL, XML, and Namespaces in XML. +Selectors, Trusted Types, Web IDL, XML, and +Namespaces in XML. [[!ENCODING]] [[!SELECTORS4]] +[[!TRUSTED-TYPES]] [[!WEBIDL]] [[!XML]] [[!XML-NAMES]] @@ -6599,8 +6601,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. @@ -6925,7 +6934,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