mirror of
https://github.com/servo/servo.git
synced 2025-06-13 10:54:29 +00:00
Fix #1264: support namespaced attribute selectors.
This commit is contained in:
parent
4b3defb282
commit
b290823f4d
10 changed files with 27 additions and 29 deletions
|
@ -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 => ~""
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue