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

Unified Diff: LayoutTests/compositing/layer-creation/fixed-position-change-out-of-view-in-view.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/layer-creation/fixed-position-change-out-of-view-in-view.html
diff --git a/LayoutTests/compositing/layer-creation/fixed-position-change-out-of-view-in-view.html b/LayoutTests/compositing/layer-creation/fixed-position-change-out-of-view-in-view.html
index 480557cf8c214a4916a7415456ce5cf58deb2811..46a722d5747591f5b5fa678a24c01dc1a074988d 100644
--- a/LayoutTests/compositing/layer-creation/fixed-position-change-out-of-view-in-view.html
+++ b/LayoutTests/compositing/layer-creation/fixed-position-change-out-of-view-in-view.html
@@ -26,7 +26,10 @@
</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;">
Layer tree when the fixed elements are out-of-view (should be blank):
<pre id="layerTree1"></pre>
Layer tree when the fixed elements are in-view (both fixed elements should have layers):

Powered by Google App Engine
This is Rietveld 408576698