Skip to content

Commit

Permalink
Support :scope pseudo-class in Element::matches for stylo
Browse files Browse the repository at this point in the history
  • Loading branch information
upsuper committed Oct 9, 2017
1 parent ab46a0b commit ba44d18
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ports/geckolib/glue.rs
Expand Up @@ -1530,6 +1530,7 @@ pub unsafe extern "C" fn Servo_SelectorList_Matches(
None,
element.owner_document_quirks_mode(),
);
context.scope_element = Some(element.opaque());

selectors::matching::matches_selector_list(selectors, &element, &mut context)
}
Expand Down

0 comments on commit ba44d18

Please sign in to comment.