mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
layout: Use the border box, not the margin box, for placement of block
formatting contexts. Improves Amazon.
This commit is contained in:
parent
5f6a740190
commit
986f81afa7
4 changed files with 55 additions and 3 deletions
|
@ -1395,9 +1395,7 @@ impl BlockFlow {
|
|||
}
|
||||
|
||||
let info = PlacementInfo {
|
||||
size: LogicalSize::new(self.fragment.style.writing_mode,
|
||||
self.base.position.size.inline,
|
||||
self.fragment.border_box.size.block),
|
||||
size: self.fragment.border_box.size,
|
||||
ceiling: self.base.position.start.b,
|
||||
max_inline_size: MAX_AU,
|
||||
kind: FloatKind::Left,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue