Changeset 167723 in webkit
- Timestamp:
- Apr 23, 2014 2:27:54 PM (10 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r167722 r167723 1 2014-04-23 David Hyatt <hyatt@apple.com> 2 3 [New Multicolumn] Assertion failure in huge-column-count.html 4 https://bugs.webkit.org/show_bug.cgi?id=132071 5 6 Reviewed by Dean Jackson. 7 8 * rendering/RenderBlock.cpp: 9 (WebCore::RenderBlock::regionAtBlockOffset): 10 Back out this change, since it wasn't general enough. 11 12 * rendering/RenderFlowThread.cpp: 13 (WebCore::RenderFlowThread::getRegionRangeForBox): 14 The real issue was that this loop needed to consider the actual box 15 rather than starting from the parent. This was a non-issue for normal 16 regions (which cannot have nested flow threads), but for columns, you 17 have to consider the fact that the box could itself be a flow thread. 18 1 19 2014-04-23 Andreas Kling <akling@apple.com> 2 20 -
trunk/Source/WebCore/rendering/RenderBlock.cpp
r167721 r167723 4829 4829 RenderRegion* RenderBlock::regionAtBlockOffset(LayoutUnit blockOffset) const 4830 4830 { 4831 if (isInFlowRenderFlowThread())4832 return 0;4833 4834 4831 RenderFlowThread* flowThread = flowThreadContainingBlock(); 4835 4832 if (!flowThread || !flowThread->hasValidRegionInfo()) -
trunk/Source/WebCore/rendering/RenderFlowThread.cpp
r167721 r167723 772 772 RenderBox* topMostUnsplittable = nullptr; 773 773 RenderBox* cb = const_cast<RenderBox*>(box); 774 do{774 while (!cb->isRenderFlowThread()) { 775 775 if (cb->isUnsplittableForPagination()) 776 776 topMostUnsplittable = cb; … … 778 778 cb = cb->parent()->enclosingBox(); 779 779 ASSERT(cb); 780 } while (!cb->isRenderFlowThread());780 } 781 781 782 782 if (topMostUnsplittable) {
Note: See TracChangeset
for help on using the changeset viewer.