| Index: third_party/WebKit/LayoutTests/compositing/overflow/clip-parent-reset.html
|
| diff --git a/third_party/WebKit/LayoutTests/compositing/overflow/clip-parent-reset.html b/third_party/WebKit/LayoutTests/compositing/overflow/clip-parent-reset.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..53cde6618720201bd2ee4f034027c1a5cb155526
|
| --- /dev/null
|
| +++ b/third_party/WebKit/LayoutTests/compositing/overflow/clip-parent-reset.html
|
| @@ -0,0 +1,14 @@
|
| +<!DOCTYPE html>
|
| +<div style="width:150px; height:150px; overflow:hidden; opacity:0.8; background:red;">
|
| + <div style="width:100px; height:100px; overflow:hidden;">
|
| + <div id="bug" style="width:200px; height:200px; position:absolute; transform:translateZ(0); background:green;">
|
| + </div>
|
| + </div>
|
| +</div>
|
| +This test verifies the clip parent of a layer gets correctly reset when it gained a non-composited clip.
|
| +<script src="../../resources/run-after-layout-and-paint.js"></script>
|
| +<script>
|
| +runAfterLayoutAndPaint(function() {
|
| + document.getElementById("bug").style.position = "static";
|
| +}, true);
|
| +</script>
|
|
|