Navigation Menu

Skip to content

Commit

Permalink
Implement element.tagName
Browse files Browse the repository at this point in the history
  • Loading branch information
sonwow committed Aug 8, 2013
1 parent b84552b commit cd95636
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/components/script/dom/element.rs
Expand Up @@ -9,8 +9,8 @@ use dom::bindings::codegen::{HTMLAnchorElementBinding, HTMLDivElementBinding, HT
use dom::bindings::codegen::{HTMLHRElementBinding};
use dom::bindings::codegen::{HTMLParagraphElementBinding, HTMLScriptElementBinding};
use dom::bindings::codegen::{HTMLImageElementBinding};
use dom::bindings::utils::{DOMString, null_string, ErrorResult};
use dom::bindings::utils::{CacheableWrapper, BindingObject, WrapperCache};
use dom::bindings::utils::{null_string, str};
use dom::bindings::utils::{BindingObject, CacheableWrapper, DOMString, ErrorResult, WrapperCache};
use dom::clientrect::ClientRect;
use dom::clientrectlist::ClientRectList;
use dom::htmlanchorelement::HTMLAnchorElement;
Expand Down Expand Up @@ -278,7 +278,7 @@ impl<'self> Element {

impl Element {
pub fn TagName(&self) -> DOMString {
null_string
str(self.tag_name.to_owned())
}

pub fn Id(&self) -> DOMString {
Expand Down

5 comments on commit cd95636

@bors-servo
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

saw approval from jdm
at sonwow@cd95636

@bors-servo
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

merging sonwow/servo/element = cd95636 into auto

@bors-servo
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sonwow/servo/element = cd95636 merged ok, testing candidate = 4800ddf

@bors-servo
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@bors-servo
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fast-forwarding master to auto = 4800ddf

Please sign in to comment.