Further changes required by Servo

This commit is contained in:
Oriol Brufau 2023-08-17 03:10:59 +02:00 committed by Martin Robinson
parent 3d0cf4dbf9
commit f0b7f3aca2
3 changed files with 19 additions and 3 deletions

View file

@ -695,9 +695,9 @@ 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) | Component::Has(ref list) => {
list.size_of(ops)
},
Component::PseudoElement(ref pseudo) => (*pseudo).size_of(ops),
Component::Combinator(..) |
Component::ExplicitAnyNamespace |