auto merge of #2063 : lpy/servo/issue2059, r=Ms2ger

see #2059
This commit is contained in:
bors-servo 2014-04-08 11:37:09 -04:00
commit 6b1799caa3
4 changed files with 8 additions and 10 deletions

View file

@ -443,6 +443,11 @@ impl Element {
}
impl Element {
// http://dom.spec.whatwg.org/#dom-element-namespaceuri
pub fn NamespaceURI(&self) -> DOMString {
self.namespace.to_str().to_owned()
}
// http://dom.spec.whatwg.org/#dom-element-tagname
pub fn TagName(&self) -> DOMString {
self.tag_name.to_ascii_upper()