mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
style: Allow propagating computed style bits from the selector-matching process
This allows us to propagate flags from the container query styles all the way to the computed style of the element. The flag for viewport units in container queries has to be different because it requires rematching, see comments. Depends on D159851 Differential Revision: https://phabricator.services.mozilla.com/D159852
This commit is contained in:
parent
bfa293c5c5
commit
5ded58a2b1
10 changed files with 92 additions and 14 deletions
|
@ -359,6 +359,7 @@ impl SelectorMap<Rule> {
|
|||
rule.container_condition_id,
|
||||
stylist,
|
||||
element,
|
||||
matching_context,
|
||||
) {
|
||||
continue;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue