mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
reuse effects var in establishes_stacking_context (#35836)
Signed-off-by: Stephen Muss <stephenmuss@gmail.com>
This commit is contained in:
parent
e928697982
commit
96554453b9
1 changed files with 2 additions and 2 deletions
|
@ -606,11 +606,11 @@ impl ComputedValuesExt for ComputedValues {
|
|||
return true;
|
||||
}
|
||||
|
||||
if self.has_transform_or_perspective(fragment_flags) {
|
||||
if !effects.filter.0.is_empty() {
|
||||
return true;
|
||||
}
|
||||
|
||||
if !self.get_effects().filter.0.is_empty() {
|
||||
if self.has_transform_or_perspective(fragment_flags) {
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue