-
mitz@apple.com authored
Reviewed by Dave Hyatt. - fix <rdar://problem/5729411> REGRESSION (r29834): Float contained in relative-positioned block is painted twice Test: fast/block/float/relative-painted-twice.html * rendering/RenderBlock.cpp: (WebCore::RenderBlock::addOverhangingFloats): Added another case where the child should not take over painting the float: when they do not have the same enclosing layer. In that case, the float is already being painted by one of its closer ancestors. LayoutTests: Reviewed by Dave Hyatt. - test for <rdar://problem/5729411> REGRESSION (r29834): Float contained in relative-positioned block is painted twice * fast/block/float/relative-painted-twice.html: Added. * platform/mac-leopard/fast/block/float/relative-painted-twice-expected.checksum: Added. * platform/mac-leopard/fast/block/float/relative-painted-twice-expected.png: Added. * platform/mac/fast/block/float/relative-painted-twice-expected.txt: Added. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@30067 268f45cc-cd09-0410-ab3c-d52691b4dbfc
4d13840b