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

Unified Diff: LayoutTests/compositing/layer-creation/fixed-position-nonscrollable-body-overlap-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-overlap-expected.txt
diff --git a/LayoutTests/compositing/layer-creation/fixed-position-nonscrollable-body-overlap-expected.txt b/LayoutTests/compositing/layer-creation/fixed-position-nonscrollable-body-overlap-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e5c28a8695713906bdbb40d19adb616547c18332
--- /dev/null
+++ b/LayoutTests/compositing/layer-creation/fixed-position-nonscrollable-body-overlap-expected.txt
@@ -0,0 +1,28 @@
+Even though we can opt-out of fixed-position compositing for unscrollable fixed-position containers, we still need to composite fixed-position layers that need compositing for other reasons such as overlap.
+
+(GraphicsLayer
+ (bounds 800.00 4024.00)
+ (children 1
+ (GraphicsLayer
+ (bounds 800.00 4024.00)
+ (contentsOpaque 1)
+ (children 2
+ (GraphicsLayer
+ (position 10.00 100.00)
+ (bounds 100.00 100.00)
+ (contentsOpaque 1)
+ (drawsContent 1)
+ (backgroundColor #FF0000)
+ )
+ (GraphicsLayer
+ (position 10.00 100.00)
+ (bounds 100.00 100.00)
+ (contentsOpaque 1)
+ (drawsContent 1)
+ (backgroundColor #00FF00)
+ )
+ )
+ )
+ )
+)
+

Powered by Google App Engine
This is Rietveld 408576698