<rdar://problem/11787030> In vertical writing modes, child following float-clearing...
authormitz@apple.com <mitz@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 2 Jul 2012 19:11:31 +0000 (19:11 +0000)
committermitz@apple.com <mitz@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 2 Jul 2012 19:11:31 +0000 (19:11 +0000)
commit3129ee6ad728094f3b34b04c0fa18f68acb2eafd
treec9f40c9daba91429d7dbccef091aa08a8527b1c5
parent078f898b345f7e4f7fb5d0a9f31469448d114da3
<rdar://problem/11787030> In vertical writing modes, child following float-clearing block has incorrect logical top
https://bugs.webkit.org/show_bug.cgi?id=90359

Reviewed by Anders Carlsson.

Source/WebCore:

Test: fast/writing-mode/logical-height-after-clear.html

* rendering/RenderBlock.cpp:
(WebCore::RenderBlock::clearFloatsIfNeeded): Changed to use logicalTop() and logicalHeight()
instead of y() and height().

LayoutTests:

* fast/writing-mode/logical-height-after-clear-expected.html: Added.
* fast/writing-mode/logical-height-after-clear.html: Added.
* platform/mac/fast/multicol/vertical-lr/float-avoidance-expected.png:
* platform/mac/fast/multicol/vertical-lr/float-avoidance-expected.txt:
* platform/mac/fast/multicol/vertical-rl/float-avoidance-expected.png:
* platform/mac/fast/multicol/vertical-rl/float-avoidance-expected.txt:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@121697 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/fast/writing-mode/logical-height-after-clear-expected.html [new file with mode: 0644]
LayoutTests/fast/writing-mode/logical-height-after-clear.html [new file with mode: 0644]
LayoutTests/platform/mac/fast/multicol/vertical-lr/float-avoidance-expected.png
LayoutTests/platform/mac/fast/multicol/vertical-lr/float-avoidance-expected.txt
LayoutTests/platform/mac/fast/multicol/vertical-rl/float-avoidance-expected.png
LayoutTests/platform/mac/fast/multicol/vertical-rl/float-avoidance-expected.txt
Source/WebCore/ChangeLog
Source/WebCore/rendering/RenderBlock.cpp