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

Side by Side Diff: third_party/WebKit/LayoutTests/paint/selection/invalidation-rect-includes-newline-for-vertical-lr.html

Issue 1988313004: Test pixel results for repaint tests testing selection, etc. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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 <script src="../../resources/ahem.js"></script> 2 <script src="../../resources/ahem.js"></script>
3 <script src="../../fast/repaint/resources/text-based-repaint.js"></script> 3 <script src="../../fast/repaint/resources/text-based-repaint.js"></script>
4 <script src="resources/selection.js"></script> 4 <script src="resources/selection.js"></script>
5 <script> 5 <script>
6 // Selects two lines and expects a newline to be represented. 6 // Selects two lines and expects a newline to be represented.
7 function repaintTest() { 7 function repaintTest() {
8 selectRange(container, 0, container, 1); 8 selectRange(container, 0, container, 1);
9 }; 9 };
10 window.onload = runRepaintTest; 10 window.onload = runRepaintAndPixelTest;
11 </script> 11 </script>
12 <style> 12 <style>
13 div { 13 div {
14 font-family: Ahem; 14 font-family: Ahem;
15 height: 2em; 15 height: 2em;
16 -webkit-writing-mode: vertical-lr; 16 -webkit-writing-mode: vertical-lr;
17 } 17 }
18 </style> 18 </style>
19 <div id="container"> 19 <div id="container">
20 xx y 20 xx y
21 </div> 21 </div>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698