Changeset 31065 in webkit
- Timestamp:
- Mar 14, 2008, 1:34:01 PM (17 years ago)
- Location:
- trunk
- Files:
-
- 4 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r31047 r31065 1 2008-03-14 Dan Bernstein <mitz@apple.com> 2 3 Reviewed by Darin Adler. 4 5 - test for http://bugs.webkit.org/show_bug.cgi?id=17834 6 REGRESSION: floated first-letter does not work when included in table 7 8 * fast/css/first-letter-float.html: Added. 9 * platform/mac-leopard/fast/css/first-letter-float-expected.checksum: Added. 10 * platform/mac-leopard/fast/css/first-letter-float-expected.png: Added. 11 * platform/mac/fast/css/first-letter-float-expected.txt: Added. 12 1 13 2008-03-13 Antti Koivisto <antti@apple.com> 2 14 -
trunk/WebCore/ChangeLog
r31064 r31065 1 2008-03-14 Dan Bernstein <mitz@apple.com> 2 3 Reviewed by Darin Adler. 4 5 - fix http://bugs.webkit.org/show_bug.cgi?id=17834 6 REGRESSION: floated first-letter does not work when included in table 7 8 Test: fast/css/first-letter-float.html 9 10 * rendering/RenderBlock.cpp: 11 (WebCore::RenderBlock::updateFirstLetter): Changed the search for the 12 first text node to stop at a float if that float is an existing first- 13 letter. 14 1 15 2008-03-14 Sam Weinig <sam@webkit.org> 2 16 -
trunk/WebCore/rendering/RenderBlock.cpp
r30724 r31065 4086 4086 RenderObject* currChild = firstLetterBlock->firstChild(); 4087 4087 while (currChild && currChild->needsLayout() && (!currChild->isReplaced() || currChild->isFloatingOrPositioned()) && !currChild->isText()) { 4088 if (currChild->isFloatingOrPositioned()) 4088 if (currChild->isFloatingOrPositioned()) { 4089 if (currChild->style()->styleType() == RenderStyle::FIRST_LETTER) 4090 break; 4089 4091 currChild = currChild->nextSibling(); 4090 else4092 } else 4091 4093 currChild = currChild->firstChild(); 4092 4094 }
Note:
See TracChangeset
for help on using the changeset viewer.