Changeset 117633 in webkit
- Timestamp:
- May 18, 2012 2:42:31 PM (12 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r117632 r117633 1 2012-05-18 Terry Anderson <tdanderson@chromium.org> 2 3 Percentage height replaced elements sometimes cause overflow of table contents 4 https://bugs.webkit.org/show_bug.cgi?id=85581 5 6 Reviewed by Eric Seidel. 7 8 * fast/replaced/table-replaced-element-expected.txt: Added. 9 * fast/replaced/table-replaced-element.html: Added. 10 New layout test. 11 1 12 2012-05-18 Tony Chang <tony@chromium.org> 2 13 -
trunk/Source/WebCore/ChangeLog
r117625 r117633 1 2012-05-18 Terry Anderson <tdanderson@chromium.org> 2 3 Percentage height replaced elements sometimes cause overflow of table contents 4 https://bugs.webkit.org/show_bug.cgi?id=85581 5 6 Reviewed by Eric Seidel. 7 8 Test: fast/replaced/table-replaced-element.html 9 10 * rendering/RenderBox.cpp: 11 (WebCore::RenderBox::computeReplacedLogicalHeightUsing): 12 This change guarantees that the containing block of a replaced element with percentage 13 height will be marked as having a percentage height descendant. 14 1 15 2012-05-18 Viatcheslav Ostapenko <ostapenko.viatcheslav@nokia.com> 2 16 -
trunk/Source/WebCore/rendering/RenderBox.cpp
r117482 r117633 2325 2325 return valueForLength(logicalHeight, availableHeight - borderAndPaddingLogicalHeight()); 2326 2326 } 2327 toRenderBlock(cb)->addPercentHeightDescendant(const_cast<RenderBox*>(this)); 2327 2328 cb = cb->containingBlock(); 2328 toRenderBlock(cb)->addPercentHeightDescendant(const_cast<RenderBox*>(this));2329 2329 } 2330 2330 }
Note: See TracChangeset
for help on using the changeset viewer.