Changeset 143669 in webkit
- Timestamp:
- Feb 21, 2013 5:11:02 PM (11 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r143664 r143669 1 2013-02-21 Emil A Eklund <eae@chromium.org> 2 3 Lots of LayoutUnit assertions when loading a Wikipedia article 4 https://bugs.webkit.org/show_bug.cgi?id=110270 5 6 Reviewed by Levi Weintraub. 7 8 Change RenderBlock::adjustRectForColumns to ensure that the 9 endColumn calculation does not overflow. 10 11 No new tests, covered by existing tests. 12 13 * rendering/RenderBlock.cpp: 14 (WebCore::RenderBlock::adjustRectForColumns): 15 Make the endOffset value be no less than the beforeBorderPadding 16 value to ensure that endColumn is not negative. 17 1 18 2013-02-21 Eric Seidel <eric@webkit.org> 2 19 -
trunk/Source/WebCore/rendering/RenderBlock.cpp
r143643 r143669 5616 5616 5617 5617 LayoutUnit startOffset = max(isHorizontal ? r.y() : r.x(), beforeBorderPadding); 5618 LayoutUnit endOffset = m in<LayoutUnit>(isHorizontal ? r.maxY() : r.maxX(), beforeBorderPadding + colCount * colHeight);5618 LayoutUnit endOffset = max(min<LayoutUnit>(isHorizontal ? r.maxY() : r.maxX(), beforeBorderPadding + colCount * colHeight), beforeBorderPadding); 5619 5619 5620 5620 // FIXME: Can overflow on fast/block/float/float-not-removed-from-next-sibling4.html, see https://bugs.webkit.org/show_bug.cgi?id=68744
Note: See TracChangeset
for help on using the changeset viewer.