https://bugs.webkit.org/show_bug.cgi?id=46995, make direction propagate up to the...
authorhyatt@apple.com <hyatt@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 1 Oct 2010 17:43:59 +0000 (17:43 +0000)
committerhyatt@apple.com <hyatt@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 1 Oct 2010 17:43:59 +0000 (17:43 +0000)
commitfb228be7779570feaa290c4f15072d6140a6459e
treee958956858c913a2a2b430a25b0356629d21ee18
parent011c77664997e56c3fd8deaed2d51c591af90aad
https://bugs.webkit.org/show_bug.cgi?id=46995, make direction propagate up to the viewport from the root element.

Reviewed by Dan Bernstein.

WebCore:

Added fast/css/rtl-to-viewport.html

* css/CSSStyleSelector.cpp:
(WebCore::CSSStyleSelector::styleForDocument):
* rendering/RenderBox.cpp:
(WebCore::RenderBox::styleDidChange):

LayoutTests:

* fast/css/rtl-to-viewport.html: Added.
* platform/mac/fast/css/rtl-to-viewport-expected.checksum: Added.
* platform/mac/fast/css/rtl-to-viewport-expected.png: Added.
* platform/mac/fast/css/rtl-to-viewport-expected.txt: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@68897 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/fast/css/rtl-to-viewport.html [new file with mode: 0644]
LayoutTests/platform/mac/fast/css/rtl-to-viewport-expected.checksum [new file with mode: 0644]
LayoutTests/platform/mac/fast/css/rtl-to-viewport-expected.png [new file with mode: 0644]
LayoutTests/platform/mac/fast/css/rtl-to-viewport-expected.txt [new file with mode: 0644]
WebCore/ChangeLog
WebCore/css/CSSStyleSelector.cpp
WebCore/rendering/RenderBox.cpp