| Index: LayoutTests/paint/invalidation/composited-non-stacking-context-descendant-move.html
|
| diff --git a/LayoutTests/paint/invalidation/composited-non-stacking-context-descendant-move.html b/LayoutTests/paint/invalidation/composited-non-stacking-context-descendant-move.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..a464f5cb9a5021c0a84cd7d42c2a116a4077e4fe
|
| --- /dev/null
|
| +++ b/LayoutTests/paint/invalidation/composited-non-stacking-context-descendant-move.html
|
| @@ -0,0 +1,40 @@
|
| +<!DOCTYPE html>
|
| +<style>
|
| +body {
|
| + margin: 0;
|
| +}
|
| +
|
| +#indicator {
|
| + position: absolute;
|
| + top: 200px;
|
| + width: 100px;
|
| + height: 100px;
|
| + background-color: red;
|
| +}
|
| +
|
| +#block {
|
| + position: relative;
|
| + width: 100px;
|
| + height: 100px;
|
| + top: 100px;
|
| + background-color: green;
|
| +}
|
| +
|
| +#composited-non-stacking-context {
|
| + width: 20px;
|
| + height: 20px;
|
| + background-color: white;
|
| + backface-visibility: hidden;
|
| +}
|
| +</style>
|
| +<div id="indicator"></div>
|
| +<div id="composited-non-stacking-context">
|
| + <div id="block"></div>
|
| +</div>
|
| +This test passes if there is a green square without red.
|
| +<script src="../../resources/run-after-layout-and-paint.js"></script>
|
| +<script>
|
| +runAfterLayoutAndPaint(function() {
|
| + document.getElementById("block").style.top = "200px";
|
| +}, true);
|
| +</script>
|
|
|