-
mitz@apple.com authored
Reviewed by Dave Hyatt. - fix https://bugs.webkit.org/show_bug.cgi?id=18809 Forms with block level generated content and absolutely positioned labels break inline layout (fixed on reflow) Test: fast/block/basic/adding-near-anonymous-block.html * rendering/RenderBlock.cpp: (WebCore::RenderBlock::addChildToFlow): When adding a floating or positioned object, if it follows an anonymous block, put it inside the anonymous block. When adding an inline, check if it comes after an anonymous block and put it in the anonymous block. LayoutTests: Reviewed by Dave Hyatt. - test, updated test and updated results for https://bugs.webkit.org/show_bug.cgi?id=18809 Forms with block level generated content and absolutely positioned labels break inline layout (fixed on reflow) * fast/block/basic/adding-near-anonymous-block.html: Added. * media/video-controls-rendering.html: Changed to work around https://bugs.webkit.org/show_bug.cgi?id=18857 which now affects this test in its original form. * platform/mac/css1/box_properties/clear-expected.txt: * platform/mac/fast/block/basic/adding-near-anonymous-block-expected.checksum: Added. * platform/mac/fast/block/basic/adding-near-anonymous-block-expected.png: Added. * platform/mac/fast/block/basic/adding-near-anonymous-block-expected.txt: Added. * platform/mac/fast/forms/input-align-image-expected.txt: * platform/mac/media/audio-controls-rendering-expected.txt: * platform/mac/media/video-controls-rendering-expected.txt: * platform/mac/tables/mozilla/bugs/bug51140-expected.txt: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@32872 268f45cc-cd09-0410-ab3c-d52691b4dbfc
cd6deb7d