Changeset 169586 in webkit
- Timestamp:
- Jun 4, 2014 5:41:27 AM (10 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r169585 r169586 1 2014-06-04 Radu Stavila <stavila@adobe.com> 2 3 REGRESSION: [CSS Regions] Regions with overflow:auto generate scrollbars even if the content flows into the following regions and as such, should not be scrolled 4 https://bugs.webkit.org/show_bug.cgi?id=133481 5 6 Reviewed by Antti Koivisto. 7 8 Added test for a large item flowed through two regions with the first region having overflow:auto. 9 The region must NOT scroll. 10 11 * fast/regions/scrollable-first-region-expected.html: Added. 12 * fast/regions/scrollable-first-region.html: Added. 13 1 14 2014-06-03 Benjamin Poulain <benjamin@webkit.org> 2 15 -
trunk/Source/WebCore/ChangeLog
r169585 r169586 1 2014-06-04 Radu Stavila <stavila@adobe.com> 2 3 REGRESSION: [CSS Regions] Regions with overflow:auto generate scrollbars even if the content flows into the following regions and as such, should not be scrolled 4 https://bugs.webkit.org/show_bug.cgi?id=133481 5 6 Reviewed by Antti Koivisto. 7 8 When enlarging the layout overflow of a scrollable region, the portion of the content that flows 9 in the region must be taken into consideration. If the content continues to flow into the next 10 region, the layout overflow of the current region must not be enlarged. 11 12 Test: fast/regions/scrollable-first-region.html 13 14 * rendering/RenderFlowThread.cpp: 15 (WebCore::RenderFlowThread::addRegionsOverflowFromChild): 16 1 17 2014-06-03 Benjamin Poulain <benjamin@webkit.org> 2 18 -
trunk/Source/WebCore/rendering/RenderFlowThread.cpp
r169425 r169586 1425 1425 if (isHorizontalWritingMode()) { 1426 1426 if (fragmentContainer.scrollsOverflowY()) { 1427 LayoutUnit layoutMaxLogicalY = child->frameRect().maxY() + spacingAfterLayout;1427 LayoutUnit layoutMaxLogicalY = region->rectFlowPortionForBox(child, child->frameRect()).maxY() + spacingAfterLayout; 1428 1428 LayoutUnit maxYDiff = layoutMaxLogicalY - childLayoutOverflowRect.maxY(); 1429 1429 if (maxYDiff > 0) … … 1432 1432 } else { 1433 1433 if (fragmentContainer.scrollsOverflowX()) { 1434 LayoutUnit layoutMaxLogicalY = child->frameRect().maxX() + spacingAfterLayout;1434 LayoutUnit layoutMaxLogicalY = region->rectFlowPortionForBox(child, child->frameRect()).maxX() + spacingAfterLayout; 1435 1435 LayoutUnit maxYDiff = layoutMaxLogicalY - childLayoutOverflowRect.maxX(); 1436 1436 if (maxYDiff > 0)
Note: See TracChangeset
for help on using the changeset viewer.