diff options
author | lpy <pylaurent1314@gmail.com> | 2014-04-08 17:06:17 +0800 |
---|---|---|
committer | lpy <pylaurent1314@gmail.com> | 2014-04-08 22:13:28 +0800 |
commit | 77941dc996ccf938e7e9638b24a985a4816b9c25 (patch) | |
tree | bbfd658f51ec520903c97f085be78a580aba7b99 /src/components/script/dom/webidls/Element.webidl | |
parent | 7541b5752642a96a9f860f4115681af211c897e1 (diff) | |
download | servo-77941dc996ccf938e7e9638b24a985a4816b9c25.tar.gz servo-77941dc996ccf938e7e9638b24a985a4816b9c25.zip |
Move Node.namespaceURI to Element.(fixes #2059)
Diffstat (limited to 'src/components/script/dom/webidls/Element.webidl')
-rw-r--r-- | src/components/script/dom/webidls/Element.webidl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/components/script/dom/webidls/Element.webidl b/src/components/script/dom/webidls/Element.webidl index 2211fd5c887..aa0161204b0 100644 --- a/src/components/script/dom/webidls/Element.webidl +++ b/src/components/script/dom/webidls/Element.webidl @@ -18,10 +18,11 @@ interface Element : Node { We haven't moved these from Node to Element like the spec wants. [Throws] - readonly attribute DOMString? namespaceURI; readonly attribute DOMString? prefix; readonly attribute DOMString localName; */ + [Constant] + readonly attribute DOMString namespaceURI; // Not [Constant] because it depends on which document we're in [Pure] readonly attribute DOMString tagName; |