Changeset 125271 in webkit
- Timestamp:
- Aug 10, 2012 4:46:01 AM (12 years ago)
- Location:
- trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r125269 r125271 1 2012-08-10 Mihnea Ovidenie <mihnea@adobe.com> 2 3 [CSS Regions] region-overflow: break still renders the content that does not fit in the last region. 4 https://bugs.webkit.org/show_bug.cgi?id=92996 5 6 Reviewed by Julien Chaffraix. 7 8 Modified expected result for original test to match the behavior described in the regions spec. 9 10 * fast/regions/region-overflow-break-expected.html: 11 1 12 2012-08-10 Sudarsana Nagineni <sudarsana.nagineni@linux.intel.com> 2 13 -
trunk/LayoutTests/fast/regions/region-overflow-break-expected.html
r113998 r125271 9 9 #gray, #blue { 10 10 vertical-align:top; 11 overflow:visible; 11 } 12 13 #blue { 14 overflow: hidden; 12 15 } 13 16 … … 34 37 line-height:2; 35 38 color:#00a0e0; 36 text-align:justify;37 clear:none;38 float:left;39 }40 41 #red {42 height:86px;43 width:300px;44 margin-top:-1px;45 margin-left:11px;46 font-size:12px;47 line-height:2;48 color:#800000;49 39 text-align:justify; 50 40 clear:none; … … 80 70 </div> 81 71 82 <div id="red">83 <span style="background-color:#800000">84 This is some content This is some content85 This is some content This is some content86 This is some content This is some content87 This is some content.88 </span>89 </div> -
trunk/Source/WebCore/ChangeLog
r125268 r125271 1 2012-08-10 Mihnea Ovidenie <mihnea@adobe.com> 2 3 [CSS Regions] region-overflow: break still renders the content that does not fit in the last region. 4 https://bugs.webkit.org/show_bug.cgi?id=92996 5 6 Reviewed by Julien Chaffraix. 7 8 Flow content that follows the last break in the last region, if any, should not be rendered 9 for the regions with region-overflow: break. 10 http://www.w3.org/TR/css3-regions/#the-region-overflow-property 11 12 Modified the expected result for existing test fast/regions/region-overflow-break.html 13 to reflect the correct behavior. 14 15 * rendering/RenderRegion.cpp: 16 (WebCore::RenderRegion::regionOversetRect): 17 1 18 2012-08-10 Andrei Poenaru <poenaru@adobe.com> 2 19 -
trunk/Source/WebCore/rendering/RenderRegion.cpp
r125192 r125271 69 69 bool clipX = style()->overflowX() != OVISIBLE; 70 70 bool clipY = style()->overflowY() != OVISIBLE; 71 if ((clipX && clipY) || !isValid() || !m_flowThread) 71 bool isLastRegionWithRegionOverflowBreak = (isLastRegion() && (style()->regionOverflow() == BreakRegionOverflow)); 72 if ((clipX && clipY) || !isValid() || !m_flowThread || isLastRegionWithRegionOverflowBreak) 72 73 return regionRect(); 73 74
Note: See TracChangeset
for help on using the changeset viewer.