aboutsummaryrefslogtreecommitdiffstats
path: root/components/layout/block.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/layout/block.rs')
-rw-r--r--components/layout/block.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/layout/block.rs b/components/layout/block.rs
index 91166c6cdc2..c7304865ecb 100644
--- a/components/layout/block.rs
+++ b/components/layout/block.rs
@@ -618,7 +618,7 @@ impl BlockFlow {
pub fn transform_requires_layer(&self) -> bool {
// Check if the transform matrix is 2D or 3D
- if let Some(ref transform_list) = self.fragment.style().get_effects().transform {
+ if let Some(ref transform_list) = self.fragment.style().get_effects().transform.0 {
for transform in transform_list {
match transform {
&transform::ComputedOperation::Perspective(..) => {