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

Unified Diff: Source/WebKit/chromium/tests/data/layer_background_color.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: Source/WebKit/chromium/tests/data/layer_background_color.html
diff --git a/Source/WebKit/chromium/tests/data/layer_background_color.html b/Source/WebKit/chromium/tests/data/layer_background_color.html
index 9e53e63a97130b80783306a13ad27ea81030b7ed..05786c944c65ff8e4582f859306f1d34931c4418 100644
--- a/Source/WebKit/chromium/tests/data/layer_background_color.html
+++ b/Source/WebKit/chromium/tests/data/layer_background_color.html
@@ -13,7 +13,11 @@
}
</style>
<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 id="layer" class="composited">
inner layer
</div>

Powered by Google App Engine
This is Rietveld 408576698