mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
style: :has
relative selector matching, with no caching/filtering
Differential Revision: https://phabricator.services.mozilla.com/D172019
This commit is contained in:
parent
a68766197f
commit
3756e3b027
4 changed files with 334 additions and 64 deletions
|
@ -695,9 +695,8 @@ where
|
|||
Component::Slotted(ref selector) | Component::Host(Some(ref selector)) => {
|
||||
selector.size_of(ops)
|
||||
},
|
||||
Component::Is(ref list) | Component::Where(ref list) | Component::Has(ref list) => {
|
||||
list.size_of(ops)
|
||||
},
|
||||
Component::Is(ref list) | Component::Where(ref list) => list.size_of(ops),
|
||||
Component::Has(ref relative_selectors) => relative_selectors.size_of(ops),
|
||||
Component::NthOf(ref nth_of_data) => nth_of_data.size_of(ops),
|
||||
Component::PseudoElement(ref pseudo) => (*pseudo).size_of(ops),
|
||||
Component::Combinator(..) |
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue