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/node.rs | |
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/node.rs')
-rw-r--r-- | src/components/script/dom/node.rs | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/components/script/dom/node.rs b/src/components/script/dom/node.rs index 77ca388be9e..eb259c4641d 100644 --- a/src/components/script/dom/node.rs +++ b/src/components/script/dom/node.rs @@ -1733,12 +1733,6 @@ impl Node { false } - // http://dom.spec.whatwg.org/#dom-node-namespaceuri - pub fn GetNamespaceURI(&self, abstract_self: &JS<Node>) -> Option<DOMString> { - let element: Option<JS<Element>> = ElementCast::to(abstract_self); - element.map(|element| element.get().namespace.to_str().to_owned()) - } - // http://dom.spec.whatwg.org/#dom-node-prefix pub fn GetPrefix(&self) -> Option<DOMString> { None |