Fix #1264: support namespaced attribute selectors.

This commit is contained in:
Simon Sapin 2013-12-10 17:53:12 +00:00
parent 4b3defb282
commit b290823f4d
10 changed files with 27 additions and 29 deletions

View file

@ -29,7 +29,7 @@ impl HTMLScriptElement {
impl HTMLScriptElement {
pub fn Src(&self) -> DOMString {
match self.htmlelement.element.get_attr("src") {
match self.htmlelement.element.get_attr(None, "src") {
Some(s) => s.to_owned(),
None => ~""
}