mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Upgrade to rustc 1.38.0-nightly (dddb7fca0 2019-07-30)
This commit is contained in:
parent
87e7e3d429
commit
c38c964f1b
38 changed files with 118 additions and 109 deletions
|
@ -694,7 +694,7 @@ impl HTMLElement {
|
|||
.take_while(|elem| !elem.is_labelable_element())
|
||||
.filter_map(DomRoot::downcast::<HTMLLabelElement>)
|
||||
.filter(|elem| !elem.upcast::<Element>().has_attribute(&local_name!("for")))
|
||||
.filter(|elem| elem.first_labelable_descendant().deref() == Some(self))
|
||||
.filter(|elem| elem.first_labelable_descendant().as_deref() == Some(self))
|
||||
.map(DomRoot::upcast::<Node>);
|
||||
|
||||
let id = element.Id();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue