aboutsummaryrefslogtreecommitdiffstats
path: root/components/layout/flow.rs
diff options
context:
space:
mode:
authorManish Goregaokar <manishsmail@gmail.com>2017-10-04 10:12:18 -0700
committerManish Goregaokar <manishsmail@gmail.com>2017-11-02 14:30:04 -0700
commit6631594e28fd2d834277fe9579b3ae6a56b597a0 (patch)
treeb2f02ebf273b4547ad8f2cb393352be01209f3d7 /components/layout/flow.rs
parent5ce2966bda00fb9bb0195a60b408c874352dc181 (diff)
downloadservo-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.rs2
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;
}