Index: LayoutTests/compositing/squashing/attempting-to-squash-into-compositing-container.html |
diff --git a/LayoutTests/compositing/squashing/attempting-to-squash-into-compositing-container.html b/LayoutTests/compositing/squashing/attempting-to-squash-into-compositing-container.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..6bfc21e54a883d41a32e29d037660f16171db0b3 |
--- /dev/null |
+++ b/LayoutTests/compositing/squashing/attempting-to-squash-into-compositing-container.html |
@@ -0,0 +1,15 @@ |
+<!DOCTYPE html> |
+<div style="overflow-y: auto; height: 500px; width: 500px; background-color: pink; "> |
+ <div style="position: absolute; top: 0; width: 20px; height: 20px; background-color: green;"></div> |
+ <div style="height: 5000px; background-color: yellow;"></div> |
+</div> |
+<div style="background-color: lightgreen; position: fixed; top: 50px; left: 10px; height: 400px; width: 400px;"> |
+ <div style="background-color: lightblue; position: fixed; top: 75px; left: 10px; height: 300px; width: 300px;"></div> |
+ <div style="background-color: salmon; height: 200px; position: absolute; width: 200px"></div> |
+</div> |
+<script> |
+if (window.testRunner) { |
+ internals.settings.setAcceleratedCompositingForOverflowScrollEnabled(true); |
+ internals.settings.setLayerSquashingEnabled(true); |
+} |
+</script> |