| Index: third_party/WebKit/LayoutTests/paint/invalidation/composited-view-background-descendant-background-change.html
|
| diff --git a/third_party/WebKit/LayoutTests/paint/invalidation/composited-view-background-descendant-background-change.html b/third_party/WebKit/LayoutTests/paint/invalidation/composited-view-background-descendant-background-change.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..e8f1fdb8643abfd78ff1358d5b0686c53e5428f8
|
| --- /dev/null
|
| +++ b/third_party/WebKit/LayoutTests/paint/invalidation/composited-view-background-descendant-background-change.html
|
| @@ -0,0 +1,18 @@
|
| +<!DOCTYPE html>
|
| +<script>
|
| +if (window.internal)
|
| + internal.settings.setPreferCompositingToLCDText(true);
|
| +</script>
|
| +<body style="background: linear-gradient(white, lightgray); background-attachment: fixed">
|
| +<div id="div" style="width: 100px; height: 100px; background-color: red"></div>
|
| +<div style="height: 2000px; position: relative">
|
| +Tests descendant background change in a view having composited background.
|
| +Passes if there is a green square.
|
| +</div>
|
| +</body>
|
| +<script src="../../resources/run-after-layout-and-paint.js"></script>
|
| +<script>
|
| +runAfterLayoutAndPaint(function() {
|
| + div.style.backgroundColor = 'green';
|
| +}, true);
|
| +</script>
|
|
|