| CASE 1, original layer tree |
| { |
| "layers": [ |
| { |
| "name": "Scrolling Contents Layer", |
| "bounds": [800, 600], |
| "contentsOpaque": true, |
| "backgroundColor": "#FFFFFF" |
| }, |
| { |
| "name": "LayoutBlockFlow (positioned) DIV class='composited box behind'", |
| "bounds": [100, 100], |
| "contentsOpaque": true, |
| "backgroundColor": "#0000FF", |
| "transform": 1 |
| }, |
| { |
| "name": "Squashing Layer (first squashed layer: LayoutBlockFlow (positioned) DIV class='box middle')", |
| "position": [-96, -96], |
| "bounds": [276, 276], |
| "transform": 1 |
| } |
| ], |
| "transforms": [ |
| { |
| "id": 1, |
| "transform": [ |
| [1, 0, 0, 0], |
| [0, 1, 0, 0], |
| [0, 0, 1, 0], |
| [100, 100, 0, 1] |
| ] |
| } |
| ] |
| } |
| |
| CASE 2, hovering over the outer div |
| { |
| "layers": [ |
| { |
| "name": "Scrolling Contents Layer", |
| "bounds": [800, 600], |
| "contentsOpaque": true, |
| "backgroundColor": "#FFFFFF" |
| }, |
| { |
| "name": "LayoutBlockFlow (positioned) DIV class='composited box behind'", |
| "bounds": [100, 100], |
| "contentsOpaque": true, |
| "backgroundColor": "#0000FF", |
| "transform": 1 |
| }, |
| { |
| "name": "Squashing Layer (first squashed layer: LayoutBlockFlow (positioned) DIV class='box middle')", |
| "position": [-96, -96], |
| "bounds": [276, 276], |
| "paintInvalidations": [ |
| { |
| "object": "LayoutBlockFlow (positioned) DIV class='box middle'", |
| "rect": [0, 0, 132, 132], |
| "reason": "background" |
| } |
| ], |
| "transform": 1 |
| } |
| ], |
| "transforms": [ |
| { |
| "id": 1, |
| "transform": [ |
| [1, 0, 0, 0], |
| [0, 1, 0, 0], |
| [0, 0, 1, 0], |
| [100, 100, 0, 1] |
| ] |
| } |
| ] |
| } |
| |
| CASE 3, hovering over the inner div |
| { |
| "layers": [ |
| { |
| "name": "Scrolling Contents Layer", |
| "bounds": [800, 600], |
| "contentsOpaque": true, |
| "backgroundColor": "#FFFFFF" |
| }, |
| { |
| "name": "LayoutBlockFlow (positioned) DIV class='composited box behind'", |
| "bounds": [100, 100], |
| "contentsOpaque": true, |
| "backgroundColor": "#0000FF", |
| "transform": 1 |
| }, |
| { |
| "name": "Squashing Layer (first squashed layer: LayoutBlockFlow (positioned) DIV class='box middle')", |
| "position": [-96, -96], |
| "bounds": [276, 276], |
| "paintInvalidations": [ |
| { |
| "object": "LayoutBlockFlow (positioned) DIV class='box middle'", |
| "rect": [0, 0, 132, 132], |
| "reason": "background" |
| }, |
| { |
| "object": "LayoutBlockFlow (positioned) DIV class='smallbox'", |
| "rect": [26, 28, 71, 72], |
| "reason": "background" |
| } |
| ], |
| "transform": 1 |
| } |
| ], |
| "transforms": [ |
| { |
| "id": 1, |
| "transform": [ |
| [1, 0, 0, 0], |
| [0, 1, 0, 0], |
| [0, 0, 1, 0], |
| [100, 100, 0, 1] |
| ] |
| } |
| ] |
| } |
| |