mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
Support :scope pseudo-class in Element::matches for stylo
This commit is contained in:
parent
ab46a0bbe0
commit
ba44d18ddb
1 changed files with 1 additions and 0 deletions
|
@ -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)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue