| Index: third_party/WebKit/LayoutTests/paint/invalidation/invalidate-descendants-when-receiving-paint-layer.html
|
| diff --git a/third_party/WebKit/LayoutTests/paint/invalidation/invalidate-descendants-when-receiving-paint-layer.html b/third_party/WebKit/LayoutTests/paint/invalidation/invalidate-descendants-when-receiving-paint-layer.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..69ca61351a782db9c59137b6f388f2e73d2bd67a
|
| --- /dev/null
|
| +++ b/third_party/WebKit/LayoutTests/paint/invalidation/invalidate-descendants-when-receiving-paint-layer.html
|
| @@ -0,0 +1,17 @@
|
| +<!DOCTYPE html>
|
| +<script src="../../fast/repaint/resources/text-based-repaint.js"></script>
|
| +<script>
|
| +function repaintTest() {
|
| + target.style.opacity = 0.2;
|
| +}
|
| +onload = runRepaintTest;
|
| +</script>
|
| +<!--Tests paint invalidation on a non-stacking-context squashing layer when a sublayer is created
|
| +and the descendants of the sublayer changes paint invalidation container. Passes if we invalidate
|
| +the descendants of the layer on the squashing layer.-->
|
| +<div style="will-change: transform; position: fixed"></div>
|
| +<div style="position: relative; border: 1px solid black;">
|
| + <div id="target" style="opacity: 1; height: 50px; width: 50px;">
|
| + <div id="child" style="width: 100px; height: 100px"></div>
|
| + </div>
|
| +</div>
|
|
|