Chromium Code Reviews| Index: LayoutTests/paint/invalidation/invalidate-when-receiving-paint-layer.html |
| diff --git a/LayoutTests/paint/invalidation/invalidate-when-receiving-paint-layer.html b/LayoutTests/paint/invalidation/invalidate-when-receiving-paint-layer.html |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..d68bbb456d391728e8342de925423c6786b87e9a |
| --- /dev/null |
| +++ b/LayoutTests/paint/invalidation/invalidate-when-receiving-paint-layer.html |
| @@ -0,0 +1,18 @@ |
| +<!doctype HTML> |
| +<div style="will-change: transform; position: fixed"></div> |
| +<div style="position: relative; border: 1px solid black;"> |
| + <div id="target" style="opacity: 1; height: 100px; width: 200px;"> |
|
chrishtr
2015/09/14 23:07:52
First we paint two composited layers: one for the
|
| + This text should be very light |
| + </div> |
| +</div> |
| +<script src="../../resources/run-after-layout-and-paint.js"></script> |
| +<script> |
| +if (window.testRunner) |
| + window.testRunner.waitUntilDone(); |
| +onload = function() { |
| + runAfterLayoutAndPaint(function() { |
| + target.style.opacity = 0.2; |
| + testRunner.notifyDone(); |
| + }); |
| +} |
| +</script> |