Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / paint / invalidation / spv2 / invisible-objects.html
blob6fb8a824513b39cf0055757709b05ec11dafba54
1 <!-- Based on fast/repaint/invisible-objects.html -->
2 <html>
3 <head>
4 <script src="resources/paint-invalidation-test.js"></script>
5 <script>
6 window.expectedPaintInvalidationObjects = [
7 "InlineTextBox ''",
8 "RootInlineBox",
9 "LayoutText #text",
10 "InlineTextBox 'is invisible'",
12 function paintInvalidationTest()
14 document.getElementById("block").style.height = "100px";
15 document.getElementById("inline").innerText = "is invisible";
17 </script>
18 </head>
19 <body onload="runPaintInvalidationTest()">
20 <div style="visibility: hidden; position: relative;">
21 <span id="inline">Invisible text</span>
22 </div>
23 <div style="visibility: hidden; position: relative;">
24 <div id="block" style="height: 50px;"></div>
25 </div>
26 </body>
27 </html>