-
mitz@apple.com authored
Reviewed by Dave Hyatt. - fix <rdar://problem/6777374> Generated content with display: run-in causes a crash Test: fast/runin/generated.html * rendering/RenderBlock.cpp: (WebCore::RenderBlock::handleRunInChild): Check if the run-in block is generated, and if so, make the RenderInline anonymous instead of passing a 0 node to the RenderInline constructor. If the run-in itself is generated, do move :before and :after children from the block into the inline, as they will not be regenerated. Changed nested ifs into early returns. LayoutTests: Reviewed by Dave Hyatt. - test for <rdar://problem/6777374> Generated content with display: run-in causes a crash * fast/runin/generated.html: Added. * platform/mac/fast/runin/generated-expected.checksum: Added. * platform/mac/fast/runin/generated-expected.png: Added. * platform/mac/fast/runin/generated-expected.txt: Added. git-svn-id: svn://svn.chromium.org/blink/trunk@42546 bbb929c8-8fbe-4397-9dbb-9b2b20218538
332f02bb