layout: Stop having text alignment stomp on layerization flags.

Fixes the blank spaces showing up in Wikipedia.
This commit is contained in:
Patrick Walton 2014-12-01 10:52:36 -08:00
parent 12ae541302
commit 803624c51e
2 changed files with 14 additions and 11 deletions

View file

@ -1737,7 +1737,9 @@ impl Flow for BlockFlow {
.stacking_relative_position_of_absolute_containing_block
},
relative_containing_block_size: self.fragment.content_box().size,
layers_needed_for_positioned_flows: self.base.flags.contains(LAYERS_NEEDED_FOR_DESCENDANTS),
layers_needed_for_positioned_flows: self.base
.flags
.contains(LAYERS_NEEDED_FOR_DESCENDANTS),
};
// Compute the origin and clipping rectangle for children.