diff options
Diffstat (limited to 'components/script/dom/webidls/Attr.webidl')
-rw-r--r-- | components/script/dom/webidls/Attr.webidl | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/components/script/dom/webidls/Attr.webidl b/components/script/dom/webidls/Attr.webidl index d14f2f34414..e90bec8fccd 100644 --- a/components/script/dom/webidls/Attr.webidl +++ b/components/script/dom/webidls/Attr.webidl @@ -9,15 +9,24 @@ */ interface Attr { + [Constant] readonly attribute DOMString? namespaceURI; + [Constant] readonly attribute DOMString? prefix; + [Constant] readonly attribute DOMString localName; + [Constant] readonly attribute DOMString name; + [Pure] attribute DOMString value; + [Pure] attribute DOMString textContent; // alias of .value + [Pure] attribute DOMString nodeValue; // alias of .value + [Pure] readonly attribute Element? ownerElement; + [Constant] readonly attribute boolean specified; // useless; always returns true }; |