Changeset 52607 in webkit
- Timestamp:
- Dec 28, 2009 10:25:16 PM (14 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r52606 r52607 1 2009-12-28 Mike Moretti <webkit9@mordent.com> 2 3 Reviewed by Darin Adler. 4 5 Fix bug 28245 - problem with inserting a span into a long text block causing a crash because of a null string 6 7 * fast/dom/insert-span-into-long-text-bug-28245-expected.txt: Added. 8 * fast/dom/insert-span-into-long-text-bug-28245.html: Added. 9 1 10 2009-12-28 Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk> 2 11 -
trunk/WebCore/ChangeLog
r52605 r52607 1 2009-12-28 Mike Moretti <webkit9@mordent.com> 2 3 Reviewed by Darin Adler. 4 5 Fix bug 28245 - problem with inserting a span into a long text block causing a crash because of a null string 6 7 Test: fast/dom/insert-span-into-long-text-bug-28245.html 8 9 * rendering/RenderBlockLineLayout.cpp: 10 (WebCore::RenderBlock::findNextLineBreak): 11 1 12 2009-12-28 Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk> 2 13 -
trunk/WebCore/rendering/RenderBlockLineLayout.cpp
r51527 r52607 1928 1928 } 1929 1929 if (lineWasTooWide || w + tmpW > width) { 1930 if (lBreak.obj && shouldPreserveNewline(lBreak.obj) && lBreak.obj->isText() && !toRenderText(lBreak.obj)->isWordBreak() && toRenderText(lBreak.obj)->characters()[lBreak.pos] == '\n') {1930 if (lBreak.obj && shouldPreserveNewline(lBreak.obj) && lBreak.obj->isText() && toRenderText(lBreak.obj)->textLength() && !toRenderText(lBreak.obj)->isWordBreak() && toRenderText(lBreak.obj)->characters()[lBreak.pos] == '\n') { 1931 1931 if (!stoppedIgnoringSpaces && pos > 0) { 1932 1932 // We need to stop right before the newline and then start up again.
Note: See TracChangeset
for help on using the changeset viewer.