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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/repaint/paint-caret-in-div-with-negative-indent.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 <html> 2 <html>
3 <head> 3 <head>
4 <style> 4 <style>
5 #editable { 5 #editable {
6 font: 20px/1 Ahem; 6 font: 20px/1 Ahem;
7 width: 50px; 7 width: 50px;
8 height: 1em; 8 height: 1em;
9 margin-left: 500px; 9 margin-left: 500px;
10 margin-top: 200px; 10 margin-top: 200px;
11 background: green; 11 background: green;
12 text-indent: -150px; 12 text-indent: -150px;
13 outline: none; 13 outline: none;
14 } 14 }
15 </style> 15 </style>
16 <script src="resources/text-based-repaint.js" type="text/javascript"></scrip t> 16 <script src="resources/text-based-repaint.js" type="text/javascript"></scrip t>
17 <script type="text/javascript"> 17 <script type="text/javascript">
18 function repaintTest() { 18 function repaintTest() {
19 document.getElementById('editable').focus(); 19 document.getElementById('editable').focus();
20 } 20 }
21 </script> 21 </script>
22 </head> 22 </head>
23 <body onload="runRepaintTest();"> 23 <body onload="runRepaintAndPixelTest();">
24 <div id="editable" contenteditable="true"></div> 24 <div id="editable" contenteditable="true"></div>
25 </body> 25 </body>
26 </html> 26 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698