Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(569)

Unified Diff: third_party/WebKit/Source/web/tests/data/composited_selection_bounds_vertical_lr.html

Issue 1531473004: Fix selection handles in vertical writing modes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Apply code review comments Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/web/tests/data/composited_selection_bounds_vertical_lr.html
diff --git a/third_party/WebKit/Source/web/tests/data/composited_selection_bounds_basic.html b/third_party/WebKit/Source/web/tests/data/composited_selection_bounds_vertical_lr.html
similarity index 76%
copy from third_party/WebKit/Source/web/tests/data/composited_selection_bounds_basic.html
copy to third_party/WebKit/Source/web/tests/data/composited_selection_bounds_vertical_lr.html
index 962418581e36ae592045e802c0453b07ec632c27..b842fea8dfd190c9fbb3ea63dea799ce5709ad08 100644
--- a/third_party/WebKit/Source/web/tests/data/composited_selection_bounds_basic.html
+++ b/third_party/WebKit/Source/web/tests/data/composited_selection_bounds_vertical_lr.html
@@ -6,6 +6,9 @@
* {
font-family: ahem;
}
+ body {
+ -webkit-writing-mode: vertical-lr;
+ }
</style>
<span id="text">
The quick brown fox jumped over the lazy dog.
@@ -17,6 +20,6 @@
range.setEnd(textNode, 25);
document.getSelection().addRange(range);
- window.expectedResult = [document, 68, 8, 68, 20, document, 248, 8, 248, 20];
+ window.expectedResult = [document, 20, 68, 8, 68, document, 8, 248, 20, 248];
</script>

Powered by Google App Engine
This is Rietveld 408576698