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

Side by Side Diff: LayoutTests/compositing/squashing/squash-above-fixed-2-expected.txt

Issue 183833020: Re-land "Drop background color optimization for composited layers" (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Make Mac test bot pass Created 6 years, 9 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 unified diff | Download patch
OLDNEW
1 This scenario verifies that the cyan "container" element scrolls properly with s quashing enabled. 1 This scenario verifies that the cyan "container" element scrolls properly with s quashing enabled.
2 2
3 CASE 1, original layer tree: 3 CASE 1, original layer tree:
4 (GraphicsLayer 4 (GraphicsLayer
5 (bounds 785.00 4050.00) 5 (bounds 785.00 4050.00)
6 (children 1 6 (children 1
7 (GraphicsLayer 7 (GraphicsLayer
8 (bounds 785.00 4050.00) 8 (bounds 785.00 4050.00)
9 (contentsOpaque 1) 9 (contentsOpaque 1)
10 (drawsContent 1) 10 (drawsContent 1)
11 (children 2 11 (children 2
12 (GraphicsLayer 12 (GraphicsLayer
13 (bounds 400.00 200.00) 13 (bounds 400.00 200.00)
14 (contentsOpaque 1) 14 (contentsOpaque 1)
15 (drawsContent 1)
16 (backgroundColor #0000FF)
15 (children 1 17 (children 1
16 (GraphicsLayer 18 (GraphicsLayer
17 (bounds 50.00 50.00) 19 (bounds 50.00 50.00)
18 (contentsOpaque 1) 20 (contentsOpaque 1)
21 (drawsContent 1)
22 (backgroundColor #FF0000)
19 ) 23 )
20 ) 24 )
21 ) 25 )
22 (GraphicsLayer 26 (GraphicsLayer
23 (position 100.00 50.00) 27 (position 100.00 50.00)
24 (bounds 200.00 4000.00) 28 (bounds 200.00 4000.00)
25 (contentsOpaque 1) 29 (contentsOpaque 1)
30 (drawsContent 1)
31 (backgroundColor #00FFFF)
26 ) 32 )
27 ) 33 )
28 ) 34 )
29 ) 35 )
30 ) 36 )
31 CASE 2, scrolling y to 80, the "container" element should remain positioned with respect to the scrolled document, the fixed-pos layer compensates for the new s croll position: 37 CASE 2, scrolling y to 80, the "container" element should remain positioned with respect to the scrolled document, the fixed-pos layer compensates for the new s croll position:
32 (GraphicsLayer 38 (GraphicsLayer
33 (bounds 785.00 4050.00) 39 (bounds 785.00 4050.00)
34 (children 1 40 (children 1
35 (GraphicsLayer 41 (GraphicsLayer
36 (bounds 785.00 4050.00) 42 (bounds 785.00 4050.00)
37 (contentsOpaque 1) 43 (contentsOpaque 1)
38 (drawsContent 1) 44 (drawsContent 1)
39 (children 2 45 (children 2
40 (GraphicsLayer 46 (GraphicsLayer
41 (position 0.00 80.00) 47 (position 0.00 80.00)
42 (bounds 400.00 200.00) 48 (bounds 400.00 200.00)
43 (contentsOpaque 1) 49 (contentsOpaque 1)
50 (drawsContent 1)
51 (backgroundColor #0000FF)
44 (children 1 52 (children 1
45 (GraphicsLayer 53 (GraphicsLayer
46 (bounds 50.00 50.00) 54 (bounds 50.00 50.00)
47 (contentsOpaque 1) 55 (contentsOpaque 1)
56 (drawsContent 1)
57 (backgroundColor #FF0000)
48 ) 58 )
49 ) 59 )
50 ) 60 )
51 (GraphicsLayer 61 (GraphicsLayer
52 (position 100.00 50.00) 62 (position 100.00 50.00)
53 (bounds 200.00 4000.00) 63 (bounds 200.00 4000.00)
54 (contentsOpaque 1) 64 (contentsOpaque 1)
65 (drawsContent 1)
66 (backgroundColor #00FFFF)
55 ) 67 )
56 ) 68 )
57 ) 69 )
58 ) 70 )
59 ) 71 )
60 72
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698