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

Side by Side 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: 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 unified diff | Download patch
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <script src="../../resources/ahem.js"></script> 4 <script src="../../resources/ahem.js"></script>
5 <script src="../../resources/run-after-layout-and-paint.js"></script> 5 <script src="../../resources/run-after-layout-and-paint.js"></script>
6 <script src="resources/selection.js"></script> 6 <script src="resources/selection.js"></script>
7 <style> 7 <style>
8 div { 8 div {
9 font-family: Ahem; 9 font-family: Ahem;
10 width: 2em; 10 height: 2em;
11 -webkit-writing-mode: vertical-lr;
11 } 12 }
12 </style> 13 </style>
13 </head> 14 </head>
14 <body onload="selectRange(container, 0, container, 1);"> 15 <body onload="selectRange(container, 0, container, 1);">
15 <!-- Two lines in one block which should wrap and include space representing 16 <!-- Two lines in one block which should wrap and *not* include space representi ng
16 a newline only at the end of the first line. --> 17 a newline at the end of the first line, since newline selection highlightin g
18 is currently only enabled for horizontal text. -->
17 <div id="container"> 19 <div id="container">
18 xx y 20 xx y
19 </div> 21 </div>
20 </body> 22 </body>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698