| Index: third_party/WebKit/LayoutTests/compositing/squashing/squash-transform-repainting-transformed-child-expected.txt
|
| diff --git a/third_party/WebKit/LayoutTests/compositing/squashing/squash-transform-repainting-transformed-child-expected.txt b/third_party/WebKit/LayoutTests/compositing/squashing/squash-transform-repainting-transformed-child-expected.txt
|
| index a281ba9242a16d8fd2e6ef568298770f5647d0ab..d2a689100ae811efe12a2004c997f7e5f38d16dd 100644
|
| --- a/third_party/WebKit/LayoutTests/compositing/squashing/squash-transform-repainting-transformed-child-expected.txt
|
| +++ b/third_party/WebKit/LayoutTests/compositing/squashing/squash-transform-repainting-transformed-child-expected.txt
|
| @@ -1,105 +1,93 @@
|
| CASE 1, original layer tree
|
| {
|
| - "name": "Content Root Layer",
|
| - "bounds": [800, 600],
|
| - "children": [
|
| + "layers": [
|
| {
|
| "name": "LayoutView #document",
|
| "bounds": [800, 600],
|
| "contentsOpaque": true,
|
| + "drawsContent": true
|
| + },
|
| + {
|
| + "name": "LayoutBlockFlow (positioned) DIV class='composited box behind'",
|
| + "position": [100, 100],
|
| + "bounds": [100, 100],
|
| + "contentsOpaque": true,
|
| "drawsContent": true,
|
| - "children": [
|
| - {
|
| - "name": "LayoutBlockFlow (positioned) DIV class='composited box behind'",
|
| - "position": [100, 100],
|
| - "bounds": [100, 100],
|
| - "contentsOpaque": true,
|
| - "drawsContent": true,
|
| - "backgroundColor": "#0000FF"
|
| - },
|
| - {
|
| - "name": "Squashing Containment Layer",
|
| - "shouldFlattenTransform": false,
|
| - "children": [
|
| - {
|
| - "name": "LayoutBlockFlow (positioned) DIV class='box middle'",
|
| - "position": [20, 20],
|
| - "bounds": [100, 100],
|
| - "contentsOpaque": true,
|
| - "drawsContent": true,
|
| - "backgroundColor": "#00FF00",
|
| - "transform": [
|
| - [0.927183854566787, 0.374606593415912, 0, 0],
|
| - [-0.374606593415912, 0.927183854566787, 0, 0],
|
| - [0, 0, 1, 0],
|
| - [0, 0, 0, 1]
|
| - ]
|
| - },
|
| - {
|
| - "name": "Squashing Layer (first squashed layer: LayoutBlockFlow (positioned) DIV class='box top')",
|
| - "position": [180, 180],
|
| - "bounds": [100, 100],
|
| - "drawsContent": true
|
| - }
|
| - ]
|
| - }
|
| + "backgroundColor": "#0000FF"
|
| + },
|
| + {
|
| + "name": "Squashing Containment Layer",
|
| + "shouldFlattenTransform": false
|
| + },
|
| + {
|
| + "name": "LayoutBlockFlow (positioned) DIV class='box middle'",
|
| + "position": [20, 20],
|
| + "bounds": [100, 100],
|
| + "contentsOpaque": true,
|
| + "drawsContent": true,
|
| + "backgroundColor": "#00FF00",
|
| + "transform": [
|
| + [0.927183854566787, 0.374606593415912, 0, 0],
|
| + [-0.374606593415912, 0.927183854566787, 0, 0],
|
| + [0, 0, 1, 0],
|
| + [0, 0, 0, 1]
|
| ]
|
| + },
|
| + {
|
| + "name": "Squashing Layer (first squashed layer: LayoutBlockFlow (positioned) DIV class='box top')",
|
| + "position": [180, 180],
|
| + "bounds": [100, 100],
|
| + "drawsContent": true
|
| }
|
| ]
|
| }
|
| CASE 2, hovering over the outer div
|
| {
|
| - "name": "Content Root Layer",
|
| - "bounds": [800, 600],
|
| - "children": [
|
| + "layers": [
|
| {
|
| "name": "LayoutView #document",
|
| "bounds": [800, 600],
|
| "contentsOpaque": true,
|
| + "drawsContent": true
|
| + },
|
| + {
|
| + "name": "LayoutBlockFlow (positioned) DIV class='composited box behind'",
|
| + "position": [100, 100],
|
| + "bounds": [100, 100],
|
| + "contentsOpaque": true,
|
| "drawsContent": true,
|
| - "children": [
|
| - {
|
| - "name": "LayoutBlockFlow (positioned) DIV class='composited box behind'",
|
| - "position": [100, 100],
|
| - "bounds": [100, 100],
|
| - "contentsOpaque": true,
|
| - "drawsContent": true,
|
| - "backgroundColor": "#0000FF"
|
| - },
|
| + "backgroundColor": "#0000FF"
|
| + },
|
| + {
|
| + "name": "Squashing Containment Layer",
|
| + "shouldFlattenTransform": false
|
| + },
|
| + {
|
| + "name": "LayoutBlockFlow (positioned) DIV class='box middle'",
|
| + "position": [20, 20],
|
| + "bounds": [100, 100],
|
| + "contentsOpaque": true,
|
| + "drawsContent": true,
|
| + "backgroundColor": "#008000",
|
| + "transform": [
|
| + [0.927183854566787, 0.374606593415912, 0, 0],
|
| + [-0.374606593415912, 0.927183854566787, 0, 0],
|
| + [0, 0, 1, 0],
|
| + [0, 0, 0, 1]
|
| + ],
|
| + "paintInvalidations": [
|
| {
|
| - "name": "Squashing Containment Layer",
|
| - "shouldFlattenTransform": false,
|
| - "children": [
|
| - {
|
| - "name": "LayoutBlockFlow (positioned) DIV class='box middle'",
|
| - "position": [20, 20],
|
| - "bounds": [100, 100],
|
| - "contentsOpaque": true,
|
| - "drawsContent": true,
|
| - "backgroundColor": "#008000",
|
| - "transform": [
|
| - [0.927183854566787, 0.374606593415912, 0, 0],
|
| - [-0.374606593415912, 0.927183854566787, 0, 0],
|
| - [0, 0, 1, 0],
|
| - [0, 0, 0, 1]
|
| - ],
|
| - "paintInvalidations": [
|
| - {
|
| - "object": "LayoutBlockFlow (positioned) DIV class='box middle'",
|
| - "rect": [0, 0, 100, 100],
|
| - "reason": "style change"
|
| - }
|
| - ]
|
| - },
|
| - {
|
| - "name": "Squashing Layer (first squashed layer: LayoutBlockFlow (positioned) DIV class='box top')",
|
| - "position": [180, 180],
|
| - "bounds": [100, 100],
|
| - "drawsContent": true
|
| - }
|
| - ]
|
| + "object": "LayoutBlockFlow (positioned) DIV class='box middle'",
|
| + "rect": [0, 0, 100, 100],
|
| + "reason": "style change"
|
| }
|
| ]
|
| + },
|
| + {
|
| + "name": "Squashing Layer (first squashed layer: LayoutBlockFlow (positioned) DIV class='box top')",
|
| + "position": [180, 180],
|
| + "bounds": [100, 100],
|
| + "drawsContent": true
|
| }
|
| ],
|
| "objectPaintInvalidations": [
|
| @@ -111,62 +99,56 @@ CASE 2, hovering over the outer div
|
| }
|
| CASE 3, hovering over the inner div
|
| {
|
| - "name": "Content Root Layer",
|
| - "bounds": [800, 600],
|
| - "children": [
|
| + "layers": [
|
| {
|
| "name": "LayoutView #document",
|
| "bounds": [800, 600],
|
| "contentsOpaque": true,
|
| + "drawsContent": true
|
| + },
|
| + {
|
| + "name": "LayoutBlockFlow (positioned) DIV class='composited box behind'",
|
| + "position": [100, 100],
|
| + "bounds": [100, 100],
|
| + "contentsOpaque": true,
|
| "drawsContent": true,
|
| - "children": [
|
| + "backgroundColor": "#0000FF"
|
| + },
|
| + {
|
| + "name": "Squashing Containment Layer",
|
| + "shouldFlattenTransform": false
|
| + },
|
| + {
|
| + "name": "LayoutBlockFlow (positioned) DIV class='box middle'",
|
| + "position": [20, 20],
|
| + "bounds": [100, 100],
|
| + "contentsOpaque": true,
|
| + "drawsContent": true,
|
| + "backgroundColor": "#008000",
|
| + "transform": [
|
| + [0.927183854566787, 0.374606593415912, 0, 0],
|
| + [-0.374606593415912, 0.927183854566787, 0, 0],
|
| + [0, 0, 1, 0],
|
| + [0, 0, 0, 1]
|
| + ],
|
| + "paintInvalidations": [
|
| {
|
| - "name": "LayoutBlockFlow (positioned) DIV class='composited box behind'",
|
| - "position": [100, 100],
|
| - "bounds": [100, 100],
|
| - "contentsOpaque": true,
|
| - "drawsContent": true,
|
| - "backgroundColor": "#0000FF"
|
| + "object": "LayoutBlockFlow (positioned) DIV class='box middle'",
|
| + "rect": [0, 0, 100, 100],
|
| + "reason": "style change"
|
| },
|
| {
|
| - "name": "Squashing Containment Layer",
|
| - "shouldFlattenTransform": false,
|
| - "children": [
|
| - {
|
| - "name": "LayoutBlockFlow (positioned) DIV class='box middle'",
|
| - "position": [20, 20],
|
| - "bounds": [100, 100],
|
| - "contentsOpaque": true,
|
| - "drawsContent": true,
|
| - "backgroundColor": "#008000",
|
| - "transform": [
|
| - [0.927183854566787, 0.374606593415912, 0, 0],
|
| - [-0.374606593415912, 0.927183854566787, 0, 0],
|
| - [0, 0, 1, 0],
|
| - [0, 0, 0, 1]
|
| - ],
|
| - "paintInvalidations": [
|
| - {
|
| - "object": "LayoutBlockFlow (positioned) DIV class='box middle'",
|
| - "rect": [0, 0, 100, 100],
|
| - "reason": "style change"
|
| - },
|
| - {
|
| - "object": "LayoutBlockFlow (positioned) DIV class='smallbox'",
|
| - "rect": [12, 17, 66, 66],
|
| - "reason": "style change"
|
| - }
|
| - ]
|
| - },
|
| - {
|
| - "name": "Squashing Layer (first squashed layer: LayoutBlockFlow (positioned) DIV class='box top')",
|
| - "position": [180, 180],
|
| - "bounds": [100, 100],
|
| - "drawsContent": true
|
| - }
|
| - ]
|
| + "object": "LayoutBlockFlow (positioned) DIV class='smallbox'",
|
| + "rect": [12, 17, 66, 66],
|
| + "reason": "style change"
|
| }
|
| ]
|
| + },
|
| + {
|
| + "name": "Squashing Layer (first squashed layer: LayoutBlockFlow (positioned) DIV class='box top')",
|
| + "position": [180, 180],
|
| + "bounds": [100, 100],
|
| + "drawsContent": true
|
| }
|
| ],
|
| "objectPaintInvalidations": [
|
|
|