mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Make Element::get_attribute() take its namespace by reference
This commit is contained in:
parent
dd88bcddc4
commit
254207730e
12 changed files with 33 additions and 33 deletions
|
@ -391,7 +391,7 @@ impl<'a> HTMLInputElementHelpers for JSRef<'a, HTMLInputElement> {
|
|||
fn get_radio_group_name(self) -> Option<String> {
|
||||
//TODO: determine form owner
|
||||
let elem: JSRef<Element> = ElementCast::from_ref(self);
|
||||
elem.get_attribute(ns!(""), &atom!("name"))
|
||||
elem.get_attribute(&ns!(""), &atom!("name"))
|
||||
.root()
|
||||
.map(|name| name.r().Value())
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue