mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
layout: Stop having text alignment stomp on layerization flags.
Fixes the blank spaces showing up in Wikipedia.
This commit is contained in:
parent
12ae541302
commit
803624c51e
2 changed files with 14 additions and 11 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue