| Index: LayoutTests/compositing/squashing/no-squashing-into-fixed-position-that-clips.html
|
| diff --git a/LayoutTests/compositing/squashing/no-squashing-into-fixed-position-that-clips.html b/LayoutTests/compositing/squashing/no-squashing-into-fixed-position-that-clips.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..bfe91c132eff27bf5045974339e11aaddccdc737
|
| --- /dev/null
|
| +++ b/LayoutTests/compositing/squashing/no-squashing-into-fixed-position-that-clips.html
|
| @@ -0,0 +1,45 @@
|
| +<!DOCTYPE html>
|
| +<style>
|
| +.notsquashedelement {
|
| + top: 0;
|
| + right: 0;
|
| + left: 0;
|
| + z-index: 1000;
|
| + height: 60px;
|
| + background-color: green;
|
| + position: fixed;
|
| +}
|
| +
|
| +.fixedpos {
|
| + position: fixed;
|
| + top: 50px;
|
| + right: 0;
|
| + left: 0;
|
| + bottom: 0;
|
| + overflow-y: auto;
|
| + background-color: lightblue;
|
| +}
|
| +
|
| +.compositedlayer {
|
| + position: fixed;
|
| + top: 40px;
|
| + left: 50%;
|
| + width: 24px;
|
| + height: 100px;
|
| + background: lightgray;
|
| + transform: translateZ(0);
|
| +}
|
| +</style>
|
| +<div class="notsquashedelement"></div>
|
| +<div class="fixedpos">
|
| + <div class="compositedlayer"></div>
|
| +</div>
|
| +<pre id="output"></pre>
|
| +<script>
|
| +// Tests that not squashing into an element with a different clip works correctly with fixed-position layers.
|
| +if (window.testRunner)
|
| + window.testRunner.dumpAsText();
|
| +
|
| +if (window.internals)
|
| + output.textContent = window.internals.layerTreeAsText(document);
|
| +</script>
|
|
|