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

Unified Diff: LayoutTests/paint/selection/text-selection-newline-vertical.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-vertical.html
diff --git a/LayoutTests/paint/selection/text-selection-newline.html b/LayoutTests/paint/selection/text-selection-newline-vertical.html
similarity index 56%
copy from LayoutTests/paint/selection/text-selection-newline.html
copy to LayoutTests/paint/selection/text-selection-newline-vertical.html
index 200a49ece6cb4bd3863a8c5f2b9a31b0afe5b75f..bffaabd9770bf57f3e32a2b9c2da94c70f732408 100644
--- a/LayoutTests/paint/selection/text-selection-newline.html
+++ b/LayoutTests/paint/selection/text-selection-newline-vertical.html
@@ -7,13 +7,15 @@
<style>
div {
font-family: Ahem;
- width: 2em;
+ height: 2em;
+ -webkit-writing-mode: vertical-lr;
}
</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, since newline selection highlighting
+ is currently only enabled for horizontal text. -->
<div id="container">
xx y
</div>
« no previous file with comments | « LayoutTests/paint/selection/text-selection-newline-rtl.html ('k') | Source/core/layout/line/InlineTextBox.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698