| Index: LayoutTests/compositing/squashing/no-squashing-for-filters.html
|
| diff --git a/LayoutTests/compositing/squashing/no-squashing-for-filters.html b/LayoutTests/compositing/squashing/no-squashing-for-filters.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..d775fa5790d75b41d46a34ead0a73e054b1a3fe5
|
| --- /dev/null
|
| +++ b/LayoutTests/compositing/squashing/no-squashing-for-filters.html
|
| @@ -0,0 +1,19 @@
|
| +<!DOCTYPE html>
|
| +<style>
|
| +.trysquashed {
|
| + width: 50px; height: 50px; background: lightgray
|
| +}
|
| +</style>
|
| +<div style="width: 100px; height: 100px; transform: translateZ(0); background: lightblue"></div>
|
| +<div class="trysquashed" style="position: absolute; top: 0px; left: 0px; -webkit-filter: drop-shadow(1px 1px 2px #000)"></div>
|
| +<div class="trysquashed" style="position: absolute; top: 50px; left: 50px;"></div>
|
| +
|
| +<pre id="layers"></pre>
|
| +<script>
|
| +// Tests that layers with filters are not squashed.
|
| +if (window.testRunner)
|
| + window.testRunner.dumpAsText();
|
| +var layersResult = document.getElementById('layers');
|
| +if (window.internals)
|
| + layersResult.innerText = window.internals.layerTreeAsText(document);
|
| +</script>
|
|
|