[CSS Regions] Layout Test for selection direction
authorrego@igalia.com <rego@igalia.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 17 Sep 2013 18:04:40 +0000 (18:04 +0000)
committerrego@igalia.com <rego@igalia.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 17 Sep 2013 18:04:40 +0000 (18:04 +0000)
commit0047436bad8a09d5419c86f579c50e82abd2827e
tree32e0bf2f876fa593a7007ec02e11a862f99ae1ed
parent0c9eb567f47fc59edc8071b2d267318cf19edd23
[CSS Regions] Layout Test for selection direction
https://bugs.webkit.org/show_bug.cgi?id=121501

Reviewed by Darin Adler.

Selection follows DOM tree, so the highlighted text in this test case is
the opposite to what the user is actually selecting. This was not
working properly from r139197 to r155058, so adding a Layout Test to
prevent future breaks. It is a reftest comparing regions and absolute
positions behavior.

* fast/regions/selection-direction-expected.html: Added.
* fast/regions/selection-direction.html: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@155974 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/fast/regions/selection-direction-expected.html [new file with mode: 0644]
LayoutTests/fast/regions/selection-direction.html [new file with mode: 0644]