| Index: LayoutTests/paint/invalidation/spv2/absolute-position-change-containing-block.html
|
| diff --git a/LayoutTests/paint/invalidation/spv2/absolute-position-change-containing-block.html b/LayoutTests/paint/invalidation/spv2/absolute-position-change-containing-block.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..71e43468b8bdfdde1aeb907a569e6cba0e3b787f
|
| --- /dev/null
|
| +++ b/LayoutTests/paint/invalidation/spv2/absolute-position-change-containing-block.html
|
| @@ -0,0 +1,26 @@
|
| +<!-- Based on fast/repaint/absolute-position-change-containing-block.html -->
|
| +<html>
|
| +<head>
|
| + <link rel="stylesheet" href="../../../fast/repaint/resources/default.css">
|
| + <script src="resources/paint-invalidation-test.js" type="text/javascript"></script>
|
| + <script type="text/javascript">
|
| + window.expectedPaintInvalidationObjects = [
|
| + "LayoutBlockFlow (positioned) DIV id='container' class='fixed blue'",
|
| + "LayoutBlockFlow (positioned) DIV class='absolute green'",
|
| + "LayoutBlockFlow DIV id='container' class='fixed blue'",
|
| + "LayoutBlockFlow (positioned) DIV class='absolute green'",
|
| + "LayoutBlockFlow BODY",
|
| + "LayoutBlockFlow DIV id='container' class='fixed blue'",
|
| + "LayoutBlockFlow (positioned) DIV class='absolute green'",
|
| + ];
|
| + function paintInvalidationTest()
|
| + {
|
| + document.getElementById('container').style.position = 'static';
|
| + }
|
| + </script>
|
| +</head>
|
| +<body style="height:2000px;" onload="runPaintInvalidationTest()">
|
| + <!-- You should see 2 overlapping rectangles in the output: a green one (on top) and a blue one. -->
|
| + <div id="container" style="top: 5000px;" class="fixed blue"><div style="top:100px; left:100px;" class="absolute green"></div></div>
|
| +</body>
|
| +</html>
|
|
|