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:
bors-servo 2015-05-01 18:01:03 -05:00
commit a346f95e68
4 changed files with 55 additions and 3 deletions

View file

@ -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,