Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / paint / invalidation / spv2 / text-in-relative-positioned-inline.html
blobb6fbc2b721b13cb0feb2a9775f758a508d5c7ce3
1 <!-- Based on fast/repaint/text-in-relative-positioned-inline.html -->
2 <head>
3 <script src="resources/paint-invalidation-test.js"></script>
4 <script>
5 window.expectedPaintInvalidationObjects = [
6 "InlineTextBox 'ab'",
7 "LayoutText #text",
8 "InlineFlowBox",
9 "LayoutInline (relative positioned) SPAN id='target'",
10 "LayoutText #text",
11 "RootInlineBox",
13 function paintInvalidationTest()
15 document.getElementById("target").style.display = "none";
17 </script>
18 </head>
19 <body onload="runPaintInvalidationTest()">
20 <div style="margin-left: 100px; font: 100px; -webkit-font-smoothing: none; height: 100px;">
21 <span id="target" style="position: relative; left: -100px; color: red;">ab</span>
22 </div>
23 <div style="width: 100px; height: 100px; background-color: green; margin-top: -100px;"></div>
24 </body>