Changeset 84119 in webkit
- Timestamp:
- Apr 17, 2011 7:10:04 PM (13 years ago)
- Location:
- trunk
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r84110 r84119 1 2011-04-17 Dan Bernstein <mitz@apple.com> 2 3 Reviewed by Maciej Stachowiak. 4 5 REGRESSION (r84096): <br> moved to the right in fast/block/float/032.html 6 https://bugs.webkit.org/show_bug.cgi?id=58736 7 8 Revert to the correct results. 9 10 * platform/chromium-win/fast/block/float/032-expected.txt: 11 * platform/gtk/fast/block/float/032-expected.txt: 12 * platform/mac/fast/block/float/032-expected.txt: 13 * platform/qt/fast/block/float/032-expected.txt: 14 1 15 2011-04-17 Gavin Peters <gavinp@chromium.org> 2 16 -
trunk/LayoutTests/platform/chromium-win/fast/block/float/032-expected.txt
r84098 r84119 36 36 RenderText {#text} at (0,0) size 0x0 37 37 RenderBlock (anonymous) at (0,760) size 769x20 38 RenderBR {BR} at ( 105,0) size 0x1938 RenderBR {BR} at (0,0) size 0x19 39 39 RenderBlock {DIV} at (0,780) size 769x110 [border: (5px solid #000000)] 40 40 RenderBlock (floating) {DIV} at (5,5) size 100x100 [bgcolor=#008000] -
trunk/LayoutTests/platform/gtk/fast/block/float/032-expected.txt
r84098 r84119 36 36 RenderText {#text} at (0,0) size 0x0 37 37 RenderBlock (anonymous) at (0,755) size 768x19 38 RenderBR {BR} at ( 105,0) size 0x1938 RenderBR {BR} at (0,0) size 0x19 39 39 RenderBlock {DIV} at (0,774) size 768x110 [border: (5px solid #000000)] 40 40 RenderBlock (floating) {DIV} at (5,5) size 100x100 [bgcolor=#008000] -
trunk/LayoutTests/platform/mac/fast/block/float/032-expected.txt
r84098 r84119 36 36 RenderText {#text} at (0,0) size 0x0 37 37 RenderBlock (anonymous) at (0,750) size 769x18 38 RenderBR {BR} at ( 105,0) size 0x1838 RenderBR {BR} at (0,0) size 0x18 39 39 RenderBlock {DIV} at (0,768) size 769x110 [border: (5px solid #000000)] 40 40 RenderBlock (floating) {DIV} at (5,5) size 100x100 [bgcolor=#008000] -
trunk/LayoutTests/platform/qt/fast/block/float/032-expected.txt
r84098 r84119 36 36 RenderText {#text} at (0,0) size 0x0 37 37 RenderBlock (anonymous) at (0,755) size 784x19 38 RenderBR {BR} at ( 105,0) size 0x1938 RenderBR {BR} at (0,0) size 0x19 39 39 RenderBlock {DIV} at (0,774) size 784x110 [border: (5px solid #000000)] 40 40 RenderBlock (floating) {DIV} at (5,5) size 100x100 [bgcolor=#008000] -
trunk/Source/WebCore/ChangeLog
r84117 r84119 1 2011-04-17 Dan Bernstein <mitz@apple.com> 2 3 Reviewed by Maciej Stachowiak. 4 5 REGRESSION (r84096): <br> moved to the right in fast/block/float/032.html 6 https://bugs.webkit.org/show_bug.cgi?id=58736 7 8 * rendering/RenderBlockLineLayout.cpp: 9 (WebCore::RenderBlock::appendFloatingObjectToLastLine): It is enough to extend the float so 10 that it touches the bottom of the previous line, since RenderBlock::markLinesDirtyInBlockRange() 11 always dirties the line after the last one in the range. 12 1 13 2011-04-17 Patrick Gansterer <paroga@webkit.org> 2 14 -
trunk/Source/WebCore/rendering/RenderBlockLineLayout.cpp
r84107 r84119 718 718 { 719 719 // Ensure that the float touches the line. 720 if (logicalBottomForFloat(floatingObject) < lastRootBox()->blockLogicalHeight()) 721 setLogicalHeightForFloat(floatingObject, lastRootBox()->blockLogicalHeight() - logicalTopForFloat(floatingObject)); 720 if (RootInlineBox* previousLine = lastRootBox()->prevRootBox()) { 721 if (logicalBottomForFloat(floatingObject) < previousLine->blockLogicalHeight()) 722 setLogicalHeightForFloat(floatingObject, previousLine->blockLogicalHeight() - logicalTopForFloat(floatingObject)); 723 } 722 724 723 725 lastRootBox()->appendFloat(floatingObject->renderer());
Note: See TracChangeset
for help on using the changeset viewer.