Description[CSS Shapes] Normalize margin box size
Since the reference box may end up with negative widths/heights
due to negative margins, clamp to zero for the reference box
calculation in the MarginBox case. Since fixing this (466942)
ends up hitting the ASSERT from bug 450625, fix that by
also clamping the floatMarginBoxWidth to zero since a float
with negative width has no float area.
BUG=450625, 466942
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=192180
Patch Set 1 #Patch Set 2 : Remove printfs #Patch Set 3 : Clamp the reference box size to zero #
Total comments: 2
Patch Set 4 : Address review comments #Patch Set 5 : Use std::max instead of clamp #
Messages
Total messages: 17 (6 generated)
|