Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(201)

Unified Diff: LayoutTests/compositing/squashing/attempting-to-squash-into-compositing-container.html

Issue 277763002: Prevent squashing into your own compositing container (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix whitespace nit Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | LayoutTests/compositing/squashing/attempting-to-squash-into-compositing-container-expected.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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>
« no previous file with comments | « no previous file | LayoutTests/compositing/squashing/attempting-to-squash-into-compositing-container-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698