| 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 "layers": [ |
| 9 "bounds": [2008, 2016], | |
| 10 "children": [ | |
| 11 { | 9 { |
| 12 "name": "LayoutView #document", | 10 "name": "LayoutView #document", |
| 13 "bounds": [2008, 2016], | 11 "bounds": [2008, 2016], |
| 14 "contentsOpaque": true, | 12 "contentsOpaque": true, |
| 13 "drawsContent": true |
| 14 }, |
| 15 { |
| 16 "name": "LayoutBlockFlow (positioned) DIV class='positionedAndTransformed
fixed'", |
| 17 "position": [20, -80], |
| 18 "bounds": [50, 50], |
| 19 "contentsOpaque": true, |
| 15 "drawsContent": true, | 20 "drawsContent": true, |
| 16 "children": [ | 21 "backgroundColor": "#C0C0C0", |
| 17 { | 22 "transform": [ |
| 18 "name": "LayoutBlockFlow (positioned) DIV class='positionedAndTransfor
med fixed'", | 23 [1, 0, 0, 0], |
| 19 "position": [20, -80], | 24 [0, 1, 0, 0], |
| 20 "bounds": [50, 50], | 25 [0, 0, 1, 0], |
| 21 "contentsOpaque": true, | 26 [0, 100, 0, 1] |
| 22 "drawsContent": true, | |
| 23 "backgroundColor": "#C0C0C0", | |
| 24 "transform": [ | |
| 25 [1, 0, 0, 0], | |
| 26 [0, 1, 0, 0], | |
| 27 [0, 0, 1, 0], | |
| 28 [0, 100, 0, 1] | |
| 29 ] | |
| 30 } | |
| 31 ] | 27 ] |
| 32 } | 28 } |
| 33 ] | 29 ] |
| 34 } | 30 } |
| 35 AFTER: | 31 AFTER: |
| 36 { | 32 { |
| 37 "name": "Content Root Layer", | 33 "layers": [ |
| 38 "bounds": [2008, 2016], | |
| 39 "children": [ | |
| 40 { | 34 { |
| 41 "name": "LayoutView #document", | 35 "name": "LayoutView #document", |
| 42 "bounds": [2008, 2016], | 36 "bounds": [2008, 2016], |
| 43 "contentsOpaque": true, | 37 "contentsOpaque": true, |
| 38 "drawsContent": true |
| 39 }, |
| 40 { |
| 41 "name": "LayoutBlockFlow (positioned) DIV class='positionedAndTransformed
fixed'", |
| 42 "position": [20, -70], |
| 43 "bounds": [50, 50], |
| 44 "contentsOpaque": true, |
| 44 "drawsContent": true, | 45 "drawsContent": true, |
| 45 "children": [ | 46 "backgroundColor": "#C0C0C0", |
| 46 { | 47 "transform": [ |
| 47 "name": "LayoutBlockFlow (positioned) DIV class='positionedAndTransfor
med fixed'", | 48 [1, 0, 0, 0], |
| 48 "position": [20, -70], | 49 [0, 1, 0, 0], |
| 49 "bounds": [50, 50], | 50 [0, 0, 1, 0], |
| 50 "contentsOpaque": true, | 51 [0, 100, 0, 1] |
| 51 "drawsContent": true, | |
| 52 "backgroundColor": "#C0C0C0", | |
| 53 "transform": [ | |
| 54 [1, 0, 0, 0], | |
| 55 [0, 1, 0, 0], | |
| 56 [0, 0, 1, 0], | |
| 57 [0, 100, 0, 1] | |
| 58 ] | |
| 59 } | |
| 60 ] | 52 ] |
| 61 } | 53 } |
| 62 ] | 54 ] |
| 63 } | 55 } |
| 64 | 56 |
| OLD | NEW |