diff --git a/dom.bs b/dom.bs index 32c0b71c..c570a7ee 100644 --- a/dom.bs +++ b/dom.bs @@ -7397,19 +7397,26 @@ namespace.
is namespace and local name is localName. +The hasAttributes() method steps are to return false
if this's attribute list is empty; otherwise true.
+
The attributes getter steps are to return the
associated {{NamedNodeMap}}.
+
The getAttributeNames() method steps are to return the
qualified names of the attributes in this's
attribute list, in order; otherwise a new list.
These are not guaranteed to be unique. +
The getAttribute(qualifiedName) method
steps are:
@@ -7422,7 +7429,9 @@ steps are:
Return attr's value. +
The
getAttributeNS(namespace, localName)
method steps are:
@@ -7436,7 +7445,9 @@ method steps are:
Return attr's value. +
The
setAttribute(qualifiedName, value)
method steps are:
@@ -7472,7 +7483,9 @@ method steps are:
The
setAttributeNS(namespace, qualifiedName, value)
method steps are:
@@ -7480,7 +7493,7 @@ method steps are:
Let (namespace, prefix, localName) be the result of
[=validate and extract|validating and extracting=] namespace and
- qualifiedName given "element".
+ qualifiedName given "attribute".
Let verifiedValue be the result of calling get trusted type compliant attribute value with localName, namespace, @@ -7489,17 +7502,23 @@ method steps are:
Set an attribute value for this using localName, verifiedValue, prefix, and namespace.
The
removeAttribute(qualifiedName)
method steps are to remove an attribute given
qualifiedName and this, and then return undefined.
+
The
removeAttributeNS(namespace, localName)
method steps are to remove an attribute
given namespace, localName, and this, and then return undefined.
+
The hasAttribute(qualifiedName) method
steps are:
@@ -7511,7 +7530,9 @@ steps are:
Return true if this has an attribute whose qualified name is qualifiedName; otherwise false. +
The
toggleAttribute(qualifiedName, force)
method steps are:
@@ -7552,7 +7573,9 @@ method steps are:
Return true. +
The
hasAttributeNS(namespace, localName)
method steps are:
@@ -7564,24 +7587,32 @@ method steps are:
namespace is namespace and local name is
localName; otherwise false.
+
The getAttributeNode(qualifiedName) method
steps are to return the result of getting an attribute given
qualifiedName and this.
+
The
getAttributeNodeNS(namespace, localName)
method steps are to return the result of
getting an attribute given
namespace, localName, and this.
+
The setAttributeNode(attr) and
setAttributeNodeNS(attr) methods steps are to
return the result of setting an attribute given attr and
this.
+
The removeAttributeNode(attr) method steps
are:
@@ -7593,6 +7624,7 @@ are:
Return attr. +