Changeset 19601 in webkit
- Timestamp:
- Feb 13, 2007 5:09:04 AM (17 years ago)
- Location:
- trunk
- Files:
-
- 4 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r19600 r19601 1 2007-02-13 Mitz Pettel <mitz@webkit.org> 2 3 Reviewed by Hyatt. 4 5 - test for http://bugs.webkit.org/show_bug.cgi?id=12746 6 REGRESSION (r13853): List item's first line overflows containing div 7 8 * fast/lists/item-not-in-list-line-wrapping-expected.checksum: Added. 9 * fast/lists/item-not-in-list-line-wrapping-expected.png: Added. 10 * fast/lists/item-not-in-list-line-wrapping-expected.txt: Added. 11 * fast/lists/item-not-in-list-line-wrapping.html: Added. 12 1 13 2007-02-13 Rob Buis <buis@kde.org> 2 14 -
trunk/WebCore/ChangeLog
r19600 r19601 1 2007-02-13 Mitz Pettel <mitz@webkit.org> 2 3 Reviewed by Hyatt. 4 5 - fix http://bugs.webkit.org/show_bug.cgi?id=12746 6 REGRESSION (r13853): List item's first line overflows containing div 7 8 Test: fast/lists/item-not-in-list-line-wrapping.html 9 10 * rendering/bidi.cpp: 11 (WebCore::RenderBlock::findNextLineBreak): Use the list marker's isInside() 12 instead of looking at its style()->listStylePosition(), since if the 13 list item is not in a list, the marker is inside regardless of the style. 14 1 15 2007-02-13 Rob Buis <buis@kde.org> 2 16 -
trunk/WebCore/rendering/bidi.cpp
r19569 r19601 32 32 #include "RenderArena.h" 33 33 #include "RenderLayer.h" 34 #include "RenderListMarker.h" 34 35 #include "RenderView.h" 35 36 #include "break_lines.h" … … 2192 2193 trailingSpaceObject = 0; 2193 2194 2194 if (o->isListMarker() && o->style()->listStylePosition() == OUTSIDE) {2195 if (o->isListMarker() && !static_cast<RenderListMarker*>(o)->isInside()) { 2195 2196 // The marker must not have an effect on whitespace at the start 2196 2197 // of the line. We start ignoring spaces to make sure that any additional … … 2526 2527 2527 2528 if (!last->isFloatingOrPositioned() && last->isReplaced() && autoWrap && 2528 (!last->isListMarker() || last->style()->listStylePosition()==INSIDE)) {2529 (!last->isListMarker() || static_cast<RenderListMarker*>(last)->isInside())) { 2529 2530 // Go ahead and add in tmpW. 2530 2531 w += tmpW;
Note: See TracChangeset
for help on using the changeset viewer.