diff options
author | Patrick Walton <pcwalton@mimiga.net> | 2014-12-18 18:59:42 -0800 |
---|---|---|
committer | Patrick Walton <pcwalton@mimiga.net> | 2015-01-04 17:41:59 -0800 |
commit | 5ea2c6dcfdfc24ce3730f736fcd045a13bcdc5b6 (patch) | |
tree | bd04f1fa5d53a938e91817c8d099456f93b01950 /components/layout/traversal.rs | |
parent | ba8cf6b0e6145265f9472d4855f078d8b5943fe7 (diff) | |
download | servo-5ea2c6dcfdfc24ce3730f736fcd045a13bcdc5b6.tar.gz servo-5ea2c6dcfdfc24ce3730f736fcd045a13bcdc5b6.zip |
layout: Paint stacking contexts' overflow areas properly.
This was making `box-shadow` not show up in many cases, in particular,
but the effects were not limited to that.
Diffstat (limited to 'components/layout/traversal.rs')
-rw-r--r-- | components/layout/traversal.rs | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/components/layout/traversal.rs b/components/layout/traversal.rs index 4b824160902..df56254c066 100644 --- a/components/layout/traversal.rs +++ b/components/layout/traversal.rs @@ -332,12 +332,7 @@ impl<'a> PostorderFlowTraversal for AssignBSizesAndStoreOverflow<'a> { } flow.assign_block_size(self.layout_context); - - // Skip store-overflow for absolutely positioned flows. That will be - // done in a separate traversal. - if !flow.is_store_overflow_delayed() { - flow.store_overflow(self.layout_context); - } + flow.store_overflow(self.layout_context); } #[inline] |