Changeset 153781 in webkit
- Timestamp:
- Aug 7, 2013 2:11:04 AM (11 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r153780 r153781 1 2013-08-07 Mihnea Ovidenie <mihnea@adobe.com> 2 3 [CSSRegions] Wrong auto-height region computation for nested named flows 4 https://bugs.webkit.org/show_bug.cgi?id=119517 5 6 Reviewed by David Hyatt. 7 8 * fast/regions/abspos-autoheight-nested-region-expected.txt: Added. 9 * fast/regions/abspos-autoheight-nested-region.html: Added. 10 1 11 2013-08-07 Krzysztof Czech <k.czech@samsung.com> 2 12 -
trunk/Source/WebCore/ChangeLog
r153775 r153781 1 2013-08-07 Mihnea Ovidenie <mihnea@adobe.com> 2 3 [CSSRegions] Wrong auto-height region computation for nested named flows 4 https://bugs.webkit.org/show_bug.cgi?id=119517 5 6 Reviewed by David Hyatt. 7 8 Test: fast/regions/abspos-autoheight-nested-region.html 9 10 In the case of an (inner) auto-height region that is absolutely positioned in a named flow that is displayed in an (outer) auto-height region, 11 when we are doing the layout for the named flow we need to add a "forced region break" also for the case of simplified layout, otherwise 12 the outer auto-height region will not get the chance to compute its auto-height, ending up with a huge value that was used to initialize 13 the auto-height computed value before the start of the layout algorithm. 14 15 * rendering/RenderBlock.cpp: 16 (WebCore::RenderBlock::simplifiedLayout): 17 1 18 2013-08-06 Stephanie Lewis <slewis@apple.com> 2 19 -
trunk/Source/WebCore/rendering/RenderBlock.cpp
r153688 r153781 2798 2798 simplifiedNormalFlowLayout(); 2799 2799 2800 // Make sure a forced break is applied after the content if we are a flow thread in a simplified layout. 2801 // This ensures the size information is correctly computed for the last auto-height region receiving content. 2802 if (isRenderFlowThread()) 2803 toRenderFlowThread(this)->applyBreakAfterContent(clientLogicalBottom()); 2804 2800 2805 // Lay out our positioned objects if our positioned child bit is set. 2801 2806 // Also, if an absolute position element inside a relative positioned container moves, and the absolute element has a fixed position
Note: See TracChangeset
for help on using the changeset viewer.