Changeset 31227
- Timestamp:
- 03/21/08 23:57:28 (8 months ago)
- Location:
- trunk
- Files:
-
- 2 added
- 3 modified
-
LayoutTests/ChangeLog (modified) (1 diff)
-
LayoutTests/fast/css-generated-content/empty-content-with-float-crash-expected.txt (added)
-
LayoutTests/fast/css-generated-content/empty-content-with-float-crash.html (added)
-
WebCore/ChangeLog (modified) (1 diff)
-
WebCore/rendering/bidi.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r31225 r31227 1 2008-03-21 Dan Bernstein <mitz@apple.com> 2 3 Reviewed by Oliver Hunt. 4 5 - test for http://bugs.webkit.org/show_bug.cgi?id=17988 6 REGRESSION (r31114-31132): Crash in InlineBox::isDirty() opening chowhound.com 7 8 * fast/css-generated-content/empty-content-with-float-crash-expected.txt: Added. 9 * fast/css-generated-content/empty-content-with-float-crash.html: Added. 10 1 11 2008-03-21 Oliver Hunt <oliver@apple.com> 2 12 -
trunk/WebCore/ChangeLog
r31224 r31227 1 2008-03-21 Dan Bernstein <mitz@apple.com> 2 3 Reviewed by Oliver Hunt. 4 5 - fix http://bugs.webkit.org/show_bug.cgi?id=17988 6 REGRESSION (r31114-31132): Crash in InlineBox::isDirty() opening chowhound.com 7 8 Test: fast/css-generated-content/empty-content-with-float-crash.html 9 10 * rendering/bidi.cpp: 11 (WebCore::RenderBlock::layoutInlineChildren): Added a null check for 12 the case where the block contains no in-flow elements but still lays 13 out as a line flow, which can happen as a result of empty generated 14 content. 15 1 16 2008-03-21 Sam Weinig <sam@webkit.org> 2 17 -
trunk/WebCore/rendering/bidi.cpp
r31213 r31227 940 940 } 941 941 942 if (m_floatingObjects ) {942 if (m_floatingObjects && lastRootBox()) { 943 943 if (lastFloat) { 944 944 for (FloatingObject* f = m_floatingObjects->last(); f != lastFloat; f = m_floatingObjects->prev()) {