| Index: LayoutTests/paint/invalidation/spv2/mix-blend-mode-separate-stacking-context.html
|
| diff --git a/LayoutTests/fast/repaint/mix-blend-mode-separate-stacking-context.html b/LayoutTests/paint/invalidation/spv2/mix-blend-mode-separate-stacking-context.html
|
| similarity index 62%
|
| copy from LayoutTests/fast/repaint/mix-blend-mode-separate-stacking-context.html
|
| copy to LayoutTests/paint/invalidation/spv2/mix-blend-mode-separate-stacking-context.html
|
| index d17ca18820f7bf753bbacbaaff5465392ed629a7..7f38ae6fe2f88be5d27f4fa652eeb696a62a369f 100644
|
| --- a/LayoutTests/fast/repaint/mix-blend-mode-separate-stacking-context.html
|
| +++ b/LayoutTests/paint/invalidation/spv2/mix-blend-mode-separate-stacking-context.html
|
| @@ -1,3 +1,4 @@
|
| +<!-- Based on fast/repaint/mix-blend-mode-separate-stacking-context.html -->
|
| <!DOCTYPE HTML>
|
| <html>
|
| <head>
|
| @@ -9,10 +10,10 @@
|
| float: left;
|
| }
|
| </style>
|
| -<script src="resources/text-based-repaint.js" type="text/javascript"></script>
|
| +<script src="resources/paint-invalidation-test.js" type="text/javascript"></script>
|
| <!-- Repaint test to ensure that setting a blend mode dynamically triggers this operation
|
| only with the contents of the nearest ancestor stacking context. -->
|
| -<body onload="runRepaintTest()">
|
| +<body onload="runPaintInvalidationTest()">
|
| <div style="background: green; position: relative; z-index: -1;">
|
| <div id="first" style="mix-blend-mode: normal; background-color: blue;"></div>
|
| </div>
|
| @@ -27,7 +28,17 @@
|
| </div>
|
|
|
| <script>
|
| - function repaintTest() {
|
| + window.expectedPaintInvalidationObjects = [
|
| + "LayoutBlockFlow (floating) DIV id='second'",
|
| + "LayoutBlockFlow (relative positioned) (floating) DIV",
|
| + "LayoutBlockFlow (floating) DIV id='first'",
|
| + "LayoutBlockFlow (relative positioned) (floating) DIV",
|
| + "LayoutBlockFlow (floating) DIV id='second'",
|
| + "LayoutBlockFlow (floating) DIV id='third'",
|
| + "LayoutBlockFlow (relative positioned) (floating) DIV id='fourth'",
|
| + "LayoutBlockFlow (floating) DIV",
|
| + ];
|
| + function paintInvalidationTest() {
|
| document.getElementById('first').style.mixBlendMode = "multiply";
|
| document.getElementById('second').style.mixBlendMode = "normal";
|
| document.getElementById('third').style.mixBlendMode = "multiply";
|
|
|