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

Unified Diff: LayoutTests/compositing/layer-creation/fixed-position-out-of-view-scaled.html

Issue 13828004: Avoid compositing fixed-position elements if they cannot scroll (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebased and addressed feedback 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-out-of-view-scaled.html
diff --git a/LayoutTests/compositing/layer-creation/fixed-position-out-of-view-scaled.html b/LayoutTests/compositing/layer-creation/fixed-position-out-of-view-scaled.html
index 96c953041e6713d9e095d0d39b1e053450b6ce3d..3a795aba7c69c584ae8217beed9ec752c3e6865d 100644
--- a/LayoutTests/compositing/layer-creation/fixed-position-out-of-view-scaled.html
+++ b/LayoutTests/compositing/layer-creation/fixed-position-out-of-view-scaled.html
@@ -35,7 +35,11 @@
}
</script>
</head>
-<body>
+
+<!-- Fixed position elements may skip compositing without a scrollable
+ancestor. To make sure this test covers the intended scenario, we force the
+body element to be tall, so that the FrameView is scrolling. -->
+<body style="height: 4000px;">
<div style="height: 1000px">
Not scaled:
<pre id="layerTree"></pre>

Powered by Google App Engine
This is Rietveld 408576698