Repository navigation
layout: Only take nonnegative margins into account when estimating inline placement of floats. - #10248
Conversation
|
Heads up! This PR modifies the following files:
|
|
r=mbrubeck, with one question: Is a similar check needed in -S-awaiting-review +S-awaiting-answer Reviewed 4 of 4 files at r1. Comments from the review on Reviewable.io |
cbc6650 to
6eb58e2
Compare
inline placement of floats. Otherwise, the heuristics can pass even when there are no floats, causing block formatting contexts to be speculated to be flowing around floats that don't exist! Closes servo#10237.
|
@mbrubeck Yes, I stared at the code for a bit and I believe it should also not add in space for negative margins in |
|
Also I fixed the incorrect comment. |
|
@bors-servo r+ -S-awaiting-answer Reviewed 1 of 1 files at r2. Comments from the review on Reviewable.io |
|
📌 Commit 6eb58e2 has been approved by |
…ns, r=mbrubeck layout: Only take nonnegative margins into account when estimating inline placement of floats. Otherwise, the heuristics can pass even when there are no floats, causing block formatting contexts to be speculated to be flowing around floats that don't exist! Closes #10237. r? @mbrubeck <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10248) <!-- Reviewable:end -->
|
☀️ Test successful - android, arm32, gonk, linux-dev, linux-rel, mac-dev-unit, mac-rel-css, mac-rel-wpt, status-appveyor |
Otherwise, the heuristics can pass even when there are no floats,
causing block formatting contexts to be speculated to be flowing around
floats that don't exist!
Closes #10237.
r? @mbrubeck
This change is