mirror of
https://github.com/servo/servo.git
synced 2025-08-05 21:50:18 +01:00
layout: Fix percentages in relatively positioned elements
This commit is contained in:
parent
2e5b210c95
commit
aabda89a90
4 changed files with 12 additions and 11 deletions
|
@ -495,7 +495,7 @@ impl InlineFlow {
|
|||
debug!("Flow: building display list for {:u} inline boxes", self.boxes.len());
|
||||
|
||||
for box_ in self.boxes.iter() {
|
||||
let rel_offset: Point2D<Au> = box_.relative_position(&info.containing_block_size);
|
||||
let rel_offset = box_.relative_position(&info.relative_containing_block_size);
|
||||
box_.build_display_list(stacking_context,
|
||||
builder,
|
||||
info,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue