Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / paint / invalidation / spv2 / invalidate-invisible-element.html
blob26fe0f1a1370be480d0f8cb2d156bc091266ee60
1 <!-- Based on fast/repaint/invalidate-invisible-element.html -->
2 <!DOCTYPE html>
3 <html>
4 <head>
5 <script src="resources/paint-invalidation-test.js" type="text/javascript"></script>
6 <script type="text/javascript">
7 window.onload = function() {
8 runPaintInvalidationTest();
9 };
11 window.expectedPaintInvalidationObjects = [
12 "LayoutBlockFlow (positioned) DIV id='target'",
14 function paintInvalidationTest() {
15 var target = document.getElementById('target');
16 target.style.visibility = 'visible';
17 getComputedStyle(target).color;
18 target.style.top = '300px';
20 </script>
21 </head>
22 <body>
23 <div id="target"
24 style="visibility:hidden;
25 position: absolute;
26 top: 200px; left: 200px;
27 width: 200px; height: 200px;
28 background-color: redl "></div>
29 </body>
30 </html>