Changeset 83514 in webkit
- Timestamp:
- Apr 11, 2011 3:16:02 PM (13 years ago)
- Location:
- trunk
- Files:
-
- 4 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r83511 r83514 1 2011-04-11 David Hyatt <hyatt@apple.com> 2 3 Reviewed by Dan Bernstein. 4 5 https://bugs.webkit.org/show_bug.cgi?id=58261 6 7 Fix for layout regression on marketwatch.com. When I converted TrailingFloatsRootInlineBox over 8 to the new overflow model, I messed up the math and passed a bottom value where I should have 9 passed a height value. This patch fixes the code to be logically equivalent to the way it 10 was prior to my changes. 11 12 * fast/overflow/trailing-float-linebox.html: Added. 13 * platform/mac/fast/overflow/trailing-float-linebox-expected.checksum: Added. 14 * platform/mac/fast/overflow/trailing-float-linebox-expected.png: Added. 15 * platform/mac/fast/overflow/trailing-float-linebox-expected.txt: Added. 16 1 17 2011-04-11 Adrienne Walker <enne@google.com> 2 18 -
trunk/Source/WebCore/ChangeLog
r83511 r83514 1 2011-04-11 David Hyatt <hyatt@apple.com> 2 3 Reviewed by Dan Bernstein. 4 5 https://bugs.webkit.org/show_bug.cgi?id=58261 6 7 Fix for layout regression on marketwatch.com. When I converted TrailingFloatsRootInlineBox over 8 to the new overflow model, I messed up the math and passed a bottom value where I should have 9 passed a height value. This patch fixes the code to be logically equivalent to the way it 10 was prior to my changes. 11 12 Added fast/overflow/trailing-float-linebox.html. 13 14 * rendering/RenderBlockLineLayout.cpp: 15 (WebCore::RenderBlock::layoutInlineChildren): 16 1 17 2011-04-11 Adrienne Walker <enne@google.com> 2 18 -
trunk/Source/WebCore/rendering/RenderBlockLineLayout.cpp
r83240 r83514 1065 1065 VerticalPositionCache verticalPositionCache; 1066 1066 trailingFloatsLineBox->alignBoxesInBlockDirection(logicalHeight(), textBoxDataMap, verticalPositionCache); 1067 IntRect logicalLayoutOverflow(0, logicalHeight(), 1, bottomLayoutOverflow); 1068 IntRect logicalVisualOverflow(0, logicalHeight(), 1, bottomVisualOverflow); 1067 int blockLogicalHeight = logicalHeight(); 1068 IntRect logicalLayoutOverflow(0, blockLogicalHeight, 1, bottomLayoutOverflow - blockLogicalHeight); 1069 IntRect logicalVisualOverflow(0, blockLogicalHeight, 1, bottomVisualOverflow - blockLogicalHeight); 1069 1070 trailingFloatsLineBox->setOverflowFromLogicalRects(logicalLayoutOverflow, logicalVisualOverflow, trailingFloatsLineBox->lineTop(), trailingFloatsLineBox->lineBottom()); 1070 1071 trailingFloatsLineBox->setBlockLogicalHeight(logicalHeight());
Note: See TracChangeset
for help on using the changeset viewer.