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

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

Issue 195893026: Fix restrictions on squashing with incompatible scroll. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix typo 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | Source/core/rendering/compositing/RenderLayerCompositor.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 1
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) 15 (drawsContent 1)
16 (backgroundColor #0000FF) 16 (backgroundColor #0000FF)
17 (children 1 17 (children 1
18 (GraphicsLayer 18 (GraphicsLayer
19 (bounds 50.00 50.00) 19 (children 2
20 (contentsOpaque 1) 20 (GraphicsLayer
21 (drawsContent 1) 21 (bounds 50.00 50.00)
22 (backgroundColor #FF0000) 22 (contentsOpaque 1)
23 (drawsContent 1)
24 (backgroundColor #FF0000)
25 )
26 (GraphicsLayer
27 (position 100.00 50.00)
28 (bounds 200.00 4000.00)
29 (drawsContent 1)
30 )
31 )
23 ) 32 )
24 ) 33 )
25 ) 34 )
26 (GraphicsLayer
27 (position 100.00 50.00)
28 (bounds 200.00 4000.00)
29 (contentsOpaque 1)
30 (drawsContent 1)
31 (backgroundColor #00FFFF)
32 )
33 ) 35 )
34 ) 36 )
35 ) 37 )
36 ) 38 )
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: 39 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:
38 (GraphicsLayer 40 (GraphicsLayer
39 (bounds 785.00 4050.00) 41 (bounds 785.00 4050.00)
40 (children 1 42 (children 1
41 (GraphicsLayer 43 (GraphicsLayer
42 (bounds 785.00 4050.00) 44 (bounds 785.00 4050.00)
43 (contentsOpaque 1) 45 (contentsOpaque 1)
44 (drawsContent 1) 46 (drawsContent 1)
45 (children 2 47 (children 1
46 (GraphicsLayer 48 (GraphicsLayer
47 (position 0.00 80.00) 49 (position 0.00 80.00)
48 (bounds 400.00 200.00) 50 (bounds 400.00 200.00)
49 (contentsOpaque 1) 51 (contentsOpaque 1)
50 (drawsContent 1) 52 (drawsContent 1)
51 (backgroundColor #0000FF) 53 (backgroundColor #0000FF)
52 (children 1 54 (children 1
53 (GraphicsLayer 55 (GraphicsLayer
54 (bounds 50.00 50.00) 56 (children 2
55 (contentsOpaque 1) 57 (GraphicsLayer
56 (drawsContent 1) 58 (bounds 50.00 50.00)
57 (backgroundColor #FF0000) 59 (contentsOpaque 1)
60 (drawsContent 1)
61 (backgroundColor #FF0000)
62 )
63 (GraphicsLayer
64 (position 100.00 -30.00)
65 (bounds 200.00 4000.00)
66 (drawsContent 1)
67 )
68 )
58 ) 69 )
59 ) 70 )
60 ) 71 )
61 (GraphicsLayer
62 (position 100.00 50.00)
63 (bounds 200.00 4000.00)
64 (contentsOpaque 1)
65 (drawsContent 1)
66 (backgroundColor #00FFFF)
67 )
68 ) 72 )
69 ) 73 )
70 ) 74 )
71 ) 75 )
72 76
OLDNEW
« no previous file with comments | « no previous file | Source/core/rendering/compositing/RenderLayerCompositor.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698