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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/repaint/caret-outside-block.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 <html> 1 <html>
2 <head> 2 <head>
3 <script src="resources/text-based-repaint.js"></script> 3 <script src="resources/text-based-repaint.js"></script>
4 <script> 4 <script>
5 function repaintTest() 5 function repaintTest()
6 { 6 {
7 var target = document.getElementById("target"); 7 var target = document.getElementById("target");
8 getSelection().setBaseAndExtent(target.firstChild, 43, target.firstC hild, 43); 8 getSelection().setBaseAndExtent(target.firstChild, 43, target.firstC hild, 43);
9 } 9 }
10 </script> 10 </script>
11 </head> 11 </head>
12 <body onload="runRepaintTest()"> 12 <body onload="runRepaintAndPixelTest()">
13 <div id="target" style="-webkit-user-modify: read-write; text-align: right; outline: none;">The caret should be at the end of this line</div> 13 <div id="target" style="-webkit-user-modify: read-write; text-align: right; outline: none;">The caret should be at the end of this line</div>
14 </body> 14 </body>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698