diff options
author | Manish Goregaokar <manishsmail@gmail.com> | 2016-11-10 12:00:55 -0800 |
---|---|---|
committer | Manish Goregaokar <manishsmail@gmail.com> | 2016-11-10 16:38:15 -0800 |
commit | bb5f351f4ac8febcb6669afeaf336e3e9fa34c39 (patch) | |
tree | f5f0f90c1ba3cfebe550badd2542a6617e8e0e5d /components/layout/fragment.rs | |
parent | 86a56822470af14c184a2d3cc8f58d3633c9d28a (diff) | |
download | servo-bb5f351f4ac8febcb6669afeaf336e3e9fa34c39.tar.gz servo-bb5f351f4ac8febcb6669afeaf336e3e9fa34c39.zip |
stylo: support transform
Diffstat (limited to 'components/layout/fragment.rs')
-rw-r--r-- | components/layout/fragment.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/components/layout/fragment.rs b/components/layout/fragment.rs index a0f09dd5dd1..f947c4f9493 100644 --- a/components/layout/fragment.rs +++ b/components/layout/fragment.rs @@ -2584,7 +2584,7 @@ impl Fragment { if self.style().get_effects().mix_blend_mode != mix_blend_mode::T::normal { return true } - if self.style().get_effects().transform.0.is_some() { + if self.style().get_box().transform.0.is_some() { return true } @@ -2638,7 +2638,7 @@ impl Fragment { _ => return self.style().get_position().z_index.number_or_zero(), } - if self.style().get_effects().transform.0.is_some() { + if self.style().get_box().transform.0.is_some() { return self.style().get_position().z_index.number_or_zero(); } |