OLD | NEW |
1 PASS layerTree is window.internals.layerTreeAsText(document) | 1 PASS layerTree is window.internals.layerTreeAsText(document) |
2 PASS successfullyParsed is true | 2 PASS successfullyParsed is true |
3 | 3 |
4 TEST COMPLETE | 4 TEST COMPLETE |
5 The layer trees before and after should be the same, except for the position of
the 50x50 sized composited fixed position layer. | 5 The layer trees before and after should be the same, except for the position of
the 50x50 sized composited fixed position layer. |
6 BEFORE: | 6 BEFORE: |
7 { | 7 { |
| 8 "name": "Content Root Layer", |
8 "bounds": [2008, 2016], | 9 "bounds": [2008, 2016], |
9 "children": [ | 10 "children": [ |
10 { | 11 { |
| 12 "name": "LayoutView #document", |
11 "bounds": [2008, 2016], | 13 "bounds": [2008, 2016], |
12 "contentsOpaque": true, | 14 "contentsOpaque": true, |
13 "drawsContent": true, | 15 "drawsContent": true, |
14 "children": [ | 16 "children": [ |
15 { | 17 { |
| 18 "name": "LayoutBlockFlow (positioned) DIV class='positionedAndTransfor
med fixed'", |
16 "position": [20, -80], | 19 "position": [20, -80], |
17 "bounds": [50, 50], | 20 "bounds": [50, 50], |
18 "contentsOpaque": true, | 21 "contentsOpaque": true, |
19 "drawsContent": true, | 22 "drawsContent": true, |
20 "backgroundColor": "#C0C0C0", | 23 "backgroundColor": "#C0C0C0", |
21 "transform": [ | 24 "transform": [ |
22 [1, 0, 0, 0], | 25 [1, 0, 0, 0], |
23 [0, 1, 0, 0], | 26 [0, 1, 0, 0], |
24 [0, 0, 1, 0], | 27 [0, 0, 1, 0], |
25 [0, 100, 0, 1] | 28 [0, 100, 0, 1] |
26 ] | 29 ] |
27 } | 30 } |
28 ] | 31 ] |
29 } | 32 } |
30 ] | 33 ] |
31 } | 34 } |
32 AFTER: | 35 AFTER: |
33 { | 36 { |
| 37 "name": "Content Root Layer", |
34 "bounds": [2008, 2016], | 38 "bounds": [2008, 2016], |
35 "children": [ | 39 "children": [ |
36 { | 40 { |
| 41 "name": "LayoutView #document", |
37 "bounds": [2008, 2016], | 42 "bounds": [2008, 2016], |
38 "contentsOpaque": true, | 43 "contentsOpaque": true, |
39 "drawsContent": true, | 44 "drawsContent": true, |
40 "children": [ | 45 "children": [ |
41 { | 46 { |
| 47 "name": "LayoutBlockFlow (positioned) DIV class='positionedAndTransfor
med fixed'", |
42 "position": [20, -70], | 48 "position": [20, -70], |
43 "bounds": [50, 50], | 49 "bounds": [50, 50], |
44 "contentsOpaque": true, | 50 "contentsOpaque": true, |
45 "drawsContent": true, | 51 "drawsContent": true, |
46 "backgroundColor": "#C0C0C0", | 52 "backgroundColor": "#C0C0C0", |
47 "transform": [ | 53 "transform": [ |
48 [1, 0, 0, 0], | 54 [1, 0, 0, 0], |
49 [0, 1, 0, 0], | 55 [0, 1, 0, 0], |
50 [0, 0, 1, 0], | 56 [0, 0, 1, 0], |
51 [0, 100, 0, 1] | 57 [0, 100, 0, 1] |
52 ] | 58 ] |
53 } | 59 } |
54 ] | 60 ] |
55 } | 61 } |
56 ] | 62 ] |
57 } | 63 } |
58 | 64 |
OLD | NEW |