Changeset 169639 in webkit
- Timestamp:
- Jun 5, 2014 11:44:55 PM (10 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r169637 r169639 1 2014-06-05 Mihnea Ovidenie <mihnea@adobe.com> 2 3 [CSSRegions] Region box incorrectly overlaps floating box 4 https://bugs.webkit.org/show_bug.cgi?id=133545 5 6 Reviewed by David Hyatt. 7 8 Add test to check that a region does not incorrectly overlap a floating 9 element in the same formatting context. 10 11 * fast/regions/region-as-bfc-avoids-float-expected.html: Added. 12 * fast/regions/region-as-bfc-avoids-float.html: Added. 13 1 14 2014-06-05 Yoav Weiss <yoav@yoav.ws> 2 15 -
trunk/Source/WebCore/ChangeLog
r169637 r169639 1 2014-06-05 Mihnea Ovidenie <mihnea@adobe.com> 2 3 [CSSRegions] Region box incorrectly overlaps floating box 4 https://bugs.webkit.org/show_bug.cgi?id=133545 5 6 Reviewed by David Hyatt. 7 8 A region box creates a BFC and it should not overlap a floating box in the same formatting context: http://www.w3.org/TR/CSS21/visuren.html#bfc-next-to-float 9 10 Test: fast/regions/region-as-bfc-avoids-float.html 11 12 * rendering/RenderBlock.cpp: 13 (WebCore::RenderBlock::avoidsFloats): 14 1 15 2014-06-05 Yoav Weiss <yoav@yoav.ws> 2 16 -
trunk/Source/WebCore/rendering/RenderBlock.cpp
r169515 r169639 2468 2468 { 2469 2469 // Floats can't intrude into our box if we have a non-auto column count or width. 2470 return RenderBox::avoidsFloats() || !style().hasAutoColumnCount() || !style().hasAutoColumnWidth(); 2470 return RenderBox::avoidsFloats() 2471 || !style().hasAutoColumnCount() 2472 || !style().hasAutoColumnWidth() 2473 || style().hasFlowFrom(); 2471 2474 } 2472 2475
Note: See TracChangeset
for help on using the changeset viewer.