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

Side by Side Diff: third_party/WebKit/LayoutTests/paint/selection/invalidation-rect-with-br-includes-newline.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
« no previous file with comments | « third_party/WebKit/LayoutTests/paint/selection/invalidation-rect-includes-newline-for-vertical-rl.html ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/run-after-layout-and-paint.js"></script> 4 <script src="../../resources/run-after-layout-and-paint.js"></script>
5 <script src="resources/selection.js"></script> 5 <script src="resources/selection.js"></script>
6 <script> 6 <script>
7 // Selects two lines with top one ending in a line break and expects a newline 7 // Selects two lines with top one ending in a line break and expects a newline
8 // to be represented. 8 // to be represented.
9 function repaintTest() { 9 function repaintTest() {
10 selectRange(container, 0, container, 3); 10 selectRange(container, 0, container, 3);
11 }; 11 };
12 window.onload = runRepaintTest; 12 window.onload = runRepaintAndPixelTest;
13 </script> 13 </script>
14 <style> 14 <style>
15 div { 15 div {
16 font-family: Ahem; 16 font-family: Ahem;
17 } 17 }
18 </style> 18 </style>
19 <div id="container"> 19 <div id="container">
20 a<br>b 20 a<br>b
21 </div> 21 </div>
OLDNEW
« no previous file with comments | « third_party/WebKit/LayoutTests/paint/selection/invalidation-rect-includes-newline-for-vertical-rl.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698