mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
Auto merge of #5918 - pcwalton:block-formatting-context-float-placement, r=mbrubeck
Improves Amazon. r? @mbrubeck <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/5918) <!-- Reviewable:end -->
This commit is contained in:
commit
a346f95e68
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