Incorrect pagination in flipped-blocks writing modes with border/padding before
authormitz@apple.com <mitz@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 19 Oct 2011 22:42:12 +0000 (22:42 +0000)
committermitz@apple.com <mitz@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 19 Oct 2011 22:42:12 +0000 (22:42 +0000)
commite42cc035a631d5a4fd8a69549543288866950f26
tree9e69aae90219753f97e319c7b017e6963df02095
parent27c8191063afcc42e04eaf52b0667f42d43dd4c2
Incorrect pagination in flipped-blocks writing modes with border/padding before
https://bugs.webkit.org/show_bug.cgi?id=70444

Reviewed by Darin Adler.

Source/WebCore:

Test: fast/multicol/flipped-blocks-border-after.html

* rendering/LayoutState.cpp:
(WebCore::LayoutState::LayoutState): Account for flipped blocks when adjusting the page offset.

LayoutTests:

* fast/multicol/flipped-blocks-border-after-expected.png: Added.
* fast/multicol/flipped-blocks-border-after-expected.txt: Added.
* fast/multicol/flipped-blocks-border-after.html: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@97888 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/fast/multicol/flipped-blocks-border-after-expected.png [new file with mode: 0644]
LayoutTests/fast/multicol/flipped-blocks-border-after-expected.txt [new file with mode: 0644]
LayoutTests/fast/multicol/flipped-blocks-border-after.html [new file with mode: 0644]
Source/WebCore/ChangeLog
Source/WebCore/rendering/LayoutState.cpp