Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / paint / invalidation / spv2 / paint-caret-in-div-with-negative-indent.html
blob0f91386401976c76291560e3aac607087e9578f1
1 <!-- Based on fast/repaint/paint-caret-in-div-with-negative-indent.html -->
2 <!DOCTYPE html>
3 <html>
4 <head>
5 <style>
6 #editable {
7 font: 20px/1 Ahem;
8 width: 50px;
9 height: 1em;
10 margin-left: 500px;
11 margin-top: 200px;
12 background: green;
13 text-indent: -150px;
14 outline: none;
16 </style>
17 <script src="resources/paint-invalidation-test.js" type="text/javascript"></script>
18 <script type="text/javascript">
19 if (window.testRunner)
20 testRunner.dumpAsTextWithPixelResults();
21 window.expectedPaintInvalidationObjects = [
22 "LayoutBlockFlow DIV id='editable'",
24 function paintInvalidationTest() {
25 document.getElementById('editable').focus();
27 </script>
28 </head>
29 <body onload="runPaintInvalidationTest();">
30 <div id="editable" contenteditable="true"></div>
31 </body>
32 </html>