diff options
author | Manish Goregaokar <manishsmail@gmail.com> | 2017-10-04 10:12:18 -0700 |
---|---|---|
committer | Manish Goregaokar <manishsmail@gmail.com> | 2017-11-02 14:30:04 -0700 |
commit | 6631594e28fd2d834277fe9579b3ae6a56b597a0 (patch) | |
tree | b2f02ebf273b4547ad8f2cb393352be01209f3d7 /components/layout/flow.rs | |
parent | 5ce2966bda00fb9bb0195a60b408c874352dc181 (diff) | |
download | servo-6631594e28fd2d834277fe9579b3ae6a56b597a0.tar.gz servo-6631594e28fd2d834277fe9579b3ae6a56b597a0.zip |
Replace old transform code with new generic code
Diffstat (limited to 'components/layout/flow.rs')
-rw-r--r-- | components/layout/flow.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/layout/flow.rs b/components/layout/flow.rs index 9769f2070a4..c881817f398 100644 --- a/components/layout/flow.rs +++ b/components/layout/flow.rs @@ -291,7 +291,7 @@ pub trait Flow: HasBaseFlow + fmt::Debug + Sync + Send + 'static { } if !self.as_block().fragment.establishes_stacking_context() || - self.as_block().fragment.style.get_box().transform.0.is_none() { + self.as_block().fragment.style.get_box().transform.0.is_empty() { overflow.translate(&position.origin.to_vector()); return overflow; } |