diff options
Diffstat (limited to 'components/script/dom/htmlelement.rs')
-rw-r--r-- | components/script/dom/htmlelement.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/components/script/dom/htmlelement.rs b/components/script/dom/htmlelement.rs index bb52cbc2402..6ebf0106099 100644 --- a/components/script/dom/htmlelement.rs +++ b/components/script/dom/htmlelement.rs @@ -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() } |