diff --git a/dom.bs b/dom.bs
index f407feacb..d85bd9221 100644
--- a/dom.bs
+++ b/dom.bs
@@ -5018,6 +5018,7 @@ interface Element : Node {
boolean hasAttributes();
[SameObject] readonly attribute NamedNodeMap attributes;
+ sequence<DOMString> getAttributeNames();
DOMString? getAttribute(DOMString name);
DOMString? getAttributeNS(DOMString? namespace, DOMString localName);
void setAttribute(DOMString name, DOMString value);
@@ -5416,6 +5417,13 @@ otherwise.
The attributes
attribute must return the associated {{NamedNodeMap}}.
+The getAttributeNames()
method, when invoked, must return
+the qualified names of the attributes in the context object's
+attribute list, in order.
+
+
These are not guaranteed to be unique. + The getAttribute(name) method must run these steps:
The attributes attribute must return the associated NamedNodeMap
.
The getAttributeNames()
method, when invoked, must return
+the qualified names of the attributes in the context object’s attribute list, in order.
These are not guaranteed to be unique.
The getAttribute(name) method must run these steps: