mirror of
https://github.com/servo/servo.git
synced 2025-08-18 03:45:33 +01:00
Rustfmt.
This commit is contained in:
parent
c4ad61faa5
commit
80dae5bc59
28 changed files with 145 additions and 107 deletions
|
@ -139,13 +139,17 @@ fn eager_pseudo_is_definitely_not_generated(
|
|||
return false;
|
||||
}
|
||||
|
||||
if !style.flags.intersects(ComputedValueFlags::DISPLAY_DEPENDS_ON_INHERITED_STYLE) &&
|
||||
if !style
|
||||
.flags
|
||||
.intersects(ComputedValueFlags::DISPLAY_DEPENDS_ON_INHERITED_STYLE) &&
|
||||
style.get_box().clone_display() == Display::None
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
if !style.flags.intersects(ComputedValueFlags::CONTENT_DEPENDS_ON_INHERITED_STYLE) &&
|
||||
if !style
|
||||
.flags
|
||||
.intersects(ComputedValueFlags::CONTENT_DEPENDS_ON_INHERITED_STYLE) &&
|
||||
style.ineffective_content_property()
|
||||
{
|
||||
return true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue