mirror of
https://github.com/servo/servo.git
synced 2025-08-12 08:55:32 +01:00
style: Add a style flag for the root element style.
This is needed to make the root element not a containing block in presence of filters or what not. Differential Revision: https://phabricator.services.mozilla.com/D61167
This commit is contained in:
parent
f426b644ca
commit
16fd7cad0c
13 changed files with 37 additions and 46 deletions
|
@ -110,7 +110,7 @@ fn eager_pseudo_is_definitely_not_generated(
|
|||
pseudo: &PseudoElement,
|
||||
style: &ComputedValues,
|
||||
) -> bool {
|
||||
use crate::properties::computed_value_flags::ComputedValueFlags;
|
||||
use crate::computed_value_flags::ComputedValueFlags;
|
||||
|
||||
if !pseudo.is_before_or_after() {
|
||||
return false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue