Column progression wrong after enabling pagination on RTL document
authorantti@apple.com <antti@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 2 Feb 2017 17:06:25 +0000 (17:06 +0000)
committerantti@apple.com <antti@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 2 Feb 2017 17:06:25 +0000 (17:06 +0000)
commitc7e27f03324cad4a2f62f41b7c60be4f7bf7ef3e
tree676e1ef066f0e7a14deb902d137484704fa19d2e
parent75da4c4958791ee32fce82ebfeadf353dfdcd594
Column progression wrong after enabling pagination on RTL document
https://bugs.webkit.org/show_bug.cgi?id=167733
<rdar://problem/29012252>

Reviewed by Zalan Bujtas.

Source/WebCore:

Column progression depends on document direction but was not updated when direction changed.

Test: fast/multicol/pagination/pagination-dynamic-rtl.html

* rendering/RenderBox.cpp:
(WebCore::RenderBox::styleDidChange):

    Update column styles if document direction changes.

LayoutTests:

* fast/multicol/pagination/pagination-dynamic-rtl-expected.html: Added.
* fast/multicol/pagination/pagination-dynamic-rtl.html: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@211564 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/fast/multicol/pagination/pagination-dynamic-rtl-expected.html [new file with mode: 0644]
LayoutTests/fast/multicol/pagination/pagination-dynamic-rtl.html [new file with mode: 0644]
Source/WebCore/ChangeLog
Source/WebCore/rendering/RenderBox.cpp