mirror of
https://github.com/servo/servo.git
synced 2025-08-18 11:55:39 +01:00
Auto merge of #17402 - servo:derive-all-the-things, r=emilio
Use generics for the filter property <!-- Reviewable:start --> This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/17402) <!-- Reviewable:end -->
This commit is contained in:
commit
fc2c5b7ef4
21 changed files with 822 additions and 496 deletions
|
@ -2064,7 +2064,7 @@ impl ComputedValues {
|
|||
let effects = self.get_effects();
|
||||
// TODO(gw): Add clip-path, isolation, mask-image, mask-border-source when supported.
|
||||
effects.opacity < 1.0 ||
|
||||
!effects.filter.is_empty() ||
|
||||
!effects.filter.0.is_empty() ||
|
||||
!effects.clip.is_auto() ||
|
||||
effects.mix_blend_mode != mix_blend_mode::T::normal
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue