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

Unified Diff: LayoutTests/compositing/layer-creation/fixed-position-nonscrollable-body-mismatch-containers-expected.txt

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-nonscrollable-body-mismatch-containers-expected.txt
diff --git a/LayoutTests/compositing/contents-opaque/layer-opacity-expected.txt b/LayoutTests/compositing/layer-creation/fixed-position-nonscrollable-body-mismatch-containers-expected.txt
similarity index 57%
copy from LayoutTests/compositing/contents-opaque/layer-opacity-expected.txt
copy to LayoutTests/compositing/layer-creation/fixed-position-nonscrollable-body-mismatch-containers-expected.txt
index 19e8f4d139bc87c898f3e304d56098e80bda2e45..e85080cedb7e2d5d755a5b94237c4ee2e720cd15 100644
--- a/LayoutTests/compositing/contents-opaque/layer-opacity-expected.txt
+++ b/LayoutTests/compositing/layer-creation/fixed-position-nonscrollable-body-mismatch-containers-expected.txt
@@ -1,3 +1,5 @@
+Even though the fixed-position element's container is nonscrollable, it should still be composited because one of its ancestors is scrolling.
+
(GraphicsLayer
(bounds 800.00 600.00)
(children 1
@@ -6,12 +8,11 @@
(contentsOpaque 1)
(children 1
(GraphicsLayer
- (position 8.00 8.00)
+ (position 10.00 100.00)
(bounds 100.00 100.00)
- (opacity 0.50)
(contentsOpaque 1)
(drawsContent 1)
- (backgroundColor #008000)
+ (backgroundColor #00FF00)
)
)
)

Powered by Google App Engine
This is Rietveld 408576698