aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/script/dom/webidls/Element.webidl
diff options
context:
space:
mode:
authorlpy <pylaurent1314@gmail.com>2014-04-08 17:06:17 +0800
committerlpy <pylaurent1314@gmail.com>2014-04-08 22:13:28 +0800
commit77941dc996ccf938e7e9638b24a985a4816b9c25 (patch)
treebbfd658f51ec520903c97f085be78a580aba7b99 /src/components/script/dom/webidls/Element.webidl
parent7541b5752642a96a9f860f4115681af211c897e1 (diff)
downloadservo-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.webidl3
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;