mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
Removed JS::root Fixes #8251
This commit is contained in:
parent
521a87180a
commit
d8ef3809a6
25 changed files with 98 additions and 126 deletions
|
@ -360,8 +360,8 @@ impl HTMLElement {
|
|||
|
||||
pub fn supported_prop_names_custom_attr(&self) -> Vec<DOMString> {
|
||||
let element = self.upcast::<Element>();
|
||||
element.attrs().iter().map(JS::root).filter_map(|attr| {
|
||||
let raw_name = attr.r().local_name();
|
||||
element.attrs().iter().filter_map(|attr| {
|
||||
let raw_name = attr.local_name();
|
||||
to_camel_case(&raw_name)
|
||||
}).collect()
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue