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

Side by Side Diff: third_party/WebKit/LayoutTests/paint/invalidation/spv2/paint-caret-in-div-with-negative-indent.html

Issue 1366763002: Text expectations of paint/invalidation/spv2 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 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 <!-- Based on fast/repaint/paint-caret-in-div-with-negative-indent.html --> 1 <!-- Based on fast/repaint/paint-caret-in-div-with-negative-indent.html -->
2 <!DOCTYPE html> 2 <!DOCTYPE html>
3 <html> 3 <html>
4 <head> 4 <head>
5 <style> 5 <style>
6 #editable { 6 #editable {
7 font: 20px/1 Ahem; 7 font: 20px/1 Ahem;
8 width: 50px; 8 width: 50px;
9 height: 1em; 9 height: 1em;
10 margin-left: 500px; 10 margin-left: 500px;
11 margin-top: 200px; 11 margin-top: 200px;
12 background: green; 12 background: green;
13 text-indent: -150px; 13 text-indent: -150px;
14 outline: none; 14 outline: none;
15 } 15 }
16 </style> 16 </style>
17 <script src="resources/paint-invalidation-test.js" type="text/javascript"></ script> 17 <script src="resources/paint-invalidation-test.js" type="text/javascript"></ script>
18 <script type="text/javascript"> 18 <script type="text/javascript">
19 if (window.testRunner)
20 testRunner.dumpAsTextWithPixelResults();
21 window.expectedPaintInvalidationObjects = [
22 "LayoutBlockFlow DIV id='editable'",
23 ];
24 function paintInvalidationTest() { 19 function paintInvalidationTest() {
25 document.getElementById('editable').focus(); 20 document.getElementById('editable').focus();
26 } 21 }
27 </script> 22 </script>
28 </head> 23 </head>
29 <body onload="runPaintInvalidationTest();"> 24 <body onload="runPaintInvalidationTest();">
30 <div id="editable" contenteditable="true"></div> 25 <div id="editable" contenteditable="true"></div>
31 </body> 26 </body>
32 </html> 27 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698