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

Unified Diff: LayoutTests/compositing/geometry/fixed-position-composited-switch.html

Issue 13828004: Avoid compositing fixed-position elements if they cannot scroll (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 8 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
Index: LayoutTests/compositing/geometry/fixed-position-composited-switch.html
diff --git a/LayoutTests/compositing/geometry/fixed-position-composited-switch.html b/LayoutTests/compositing/geometry/fixed-position-composited-switch.html
index 98510943006419965f8c6ce51be405f5b3473d70..fea615590a718a846a831c5f6392b2adfc65b3ef 100644
--- a/LayoutTests/compositing/geometry/fixed-position-composited-switch.html
+++ b/LayoutTests/compositing/geometry/fixed-position-composited-switch.html
@@ -54,7 +54,11 @@
</script>
</head>
-<body>
+
+<!-- Fixed position elements may skip compositing without a scrollable
+ancestor. To make sure this test covers the intended scenario, we have to force
+something (like the FrameView) to be scrolling, i.e. make a tall body element. -->
+<body style="height: 4000px;">
<!-- Fixed position element should get its own layer -->
<pre id="layertree"></pre>
<div id="tall"></div>

Powered by Google App Engine
This is Rietveld 408576698