Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / paint / invalidation / spv2 / fixed-position-transparency-with-overflow.html
blobab9f4e59e55e823000804fe5f1e09c285edb99c9
1 <!-- Based on fast/repaint/fixed-position-transparency-with-overflow.html -->
2 <html>
3 <head>
4 <link rel="stylesheet" href="../../../fast/repaint/resources/default.css">
5 <script src="resources/paint-invalidation-test.js" type="text/javascript"></script>
6 <script type="text/javascript">
7 window.expectedPaintInvalidationObjects = [
8 "LayoutBlockFlow (relative positioned) DIV id='container' class='relative blue'",
9 "LayoutBlockFlow (positioned) DIV class='absolute green'",
11 function paintInvalidationTest()
13 document.getElementById('container').style.opacity = '0.4';
15 </script>
16 </head>
17 <body style="height:2000px;" onload="runPaintInvalidationTest()">
18 <!-- You should see 2 rectangles touching on one corner in the output: a green one (top left) and a green one. -->
19 <div id="container" style="top: 200px;" class="relative blue"><div style="top:100px; left:100px;" class="absolute green"></div></div>
20 </body>
21 </html>