DescriptionRemove LayoutFlowThread::maxLogicalHeight().
Use LayoutUnit::max() like everyone else, to avoid errors when approaching
"infinity". We fooled ourselves into thinking that we had two pages (because
column height was clamped to LayoutUnit::max()/2, while the block height was
clamped to LayoutUnit::max()), when we really only had one.
We use saturated arithmetic in LayoutUnit & co anyway, so there's no reason to
be afraid of integer overflow.
BUG=502407
R=dsinclair@chromium.org
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=197771
Patch Set 1 #
Total comments: 2
Messages
Total messages: 7 (2 generated)
|