Changeset 53432 in webkit
- Timestamp:
- Jan 18, 2010, 2:20:13 PM (15 years ago)
- Location:
- trunk
- Files:
-
- 4 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r53427 r53432 1 2010-01-18 Dan Bernstein <mitz@apple.com> 2 3 Reviewed by Darin Adler. 4 5 REGRESSION (r53420): incomplete repaint of bottom of bugs.webkit.org comment field 6 https://bugs.webkit.org/show_bug.cgi?id=33809 7 8 * fast/repaint/trailing-floats-root-line-box-overflow-expected.checksum: Added. 9 * fast/repaint/trailing-floats-root-line-box-overflow-expected.png: Added. 10 * fast/repaint/trailing-floats-root-line-box-overflow-expected.txt: Added. 11 * fast/repaint/trailing-floats-root-line-box-overflow.html: Added. 12 1 13 2010-01-18 Alexey Proskuryakov <ap@apple.com> 2 14 -
trunk/WebCore/ChangeLog
r53431 r53432 1 2010-01-18 Dan Bernstein <mitz@apple.com> 2 3 Reviewed by Darin Adler. 4 5 REGRESSION (r53420): incomplete repaint of bottom of bugs.webkit.org comment field 6 https://bugs.webkit.org/show_bug.cgi?id=33809 7 8 Test: fast/repaint/trailing-floats-root-line-box-overflow.html 9 10 * rendering/RenderBlockLineLayout.cpp: 11 (WebCore::RenderBlock::layoutInlineChildren): Copy bottom overflow from the last 12 root box to the trailing floats box, which is becoming the last root box. This is 13 needed because painting code assumes that the last line in a block is the one with the 14 lowest overflow bottom. 15 1 16 2010-01-18 Csaba Osztrogonác <ossy@webkit.org> 2 17 -
trunk/WebCore/rendering/RenderBlockLineLayout.cpp
r53420 r53432 1128 1128 // include the padding incorrectly. -dwh 1129 1129 if (checkForFloatsFromLastLine) { 1130 int bottomVisualOverflow = lastRootBox()->bottomVisualOverflow(); 1131 int bottomLayoutOverflow = lastRootBox()->bottomLayoutOverflow(); 1130 1132 TrailingFloatsRootInlineBox* trailingFloatsLineBox = new (renderArena()) TrailingFloatsRootInlineBox(this); 1131 1133 m_lineBoxes.appendLineBox(trailingFloatsLineBox); 1132 1134 trailingFloatsLineBox->setConstructed(); 1133 1135 trailingFloatsLineBox->verticallyAlignBoxes(height()); 1136 trailingFloatsLineBox->setVerticalOverflowPositions(height(), bottomLayoutOverflow, height(), bottomVisualOverflow, 0); 1134 1137 trailingFloatsLineBox->setBlockHeight(height()); 1135 1138 }
Note:
See TracChangeset
for help on using the changeset viewer.