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

Unified Diff: LayoutTests/paint/selection/text-selection-newline-rtl.html

Issue 1355913004: Disable newline selection highlighting for vertical and RTL text. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@474759_invalidate_br_and_horiz_only
Patch Set: Merge changes. Created 5 years, 3 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: LayoutTests/paint/selection/text-selection-newline-rtl.html
diff --git a/LayoutTests/paint/selection/text-selection-newline.html b/LayoutTests/paint/selection/text-selection-newline-rtl.html
similarity index 63%
copy from LayoutTests/paint/selection/text-selection-newline.html
copy to LayoutTests/paint/selection/text-selection-newline-rtl.html
index 200a49ece6cb4bd3863a8c5f2b9a31b0afe5b75f..dffb821be1975dc5e067b5c007c8f26b6d25179f 100644
--- a/LayoutTests/paint/selection/text-selection-newline.html
+++ b/LayoutTests/paint/selection/text-selection-newline-rtl.html
@@ -6,14 +6,16 @@
<script src="resources/selection.js"></script>
<style>
div {
+ direction: rtl;
font-family: Ahem;
+ unicode-bidi: bidi-override;
width: 2em;
}
</style>
</head>
<body onload="selectRange(container, 0, container, 1);">
-<!-- Two lines in one block which should wrap and include space representing
- a newline only at the end of the first line. -->
+<!-- Two lines in one block which should wrap and *not* include space representing
+ a newline at the end of the first line as RTL is not yet supported. -->
<div id="container">
xx y
</div>

Powered by Google App Engine
This is Rietveld 408576698