| Index: third_party/WebKit/LayoutTests/compositing/squashing/repaint-child-of-squashed-expected.txt
|
| diff --git a/third_party/WebKit/LayoutTests/compositing/squashing/repaint-child-of-squashed-expected.txt b/third_party/WebKit/LayoutTests/compositing/squashing/repaint-child-of-squashed-expected.txt
|
| index 5c68743300fa5ecfaddbdcc86246c19d6245dc64..76d325429b677ec3db26f6ea2c345cfb2afdd0a5 100644
|
| --- a/third_party/WebKit/LayoutTests/compositing/squashing/repaint-child-of-squashed-expected.txt
|
| +++ b/third_party/WebKit/LayoutTests/compositing/squashing/repaint-child-of-squashed-expected.txt
|
| @@ -1,75 +1,63 @@
|
| 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": "Squashing Containment Layer",
|
| + "shouldFlattenTransform": false
|
| + },
|
| + {
|
| + "name": "LayoutBlockFlow (positioned) DIV class='composited box behind'",
|
| + "position": [50, 50],
|
| + "bounds": [100, 100],
|
| + "contentsOpaque": true,
|
| "drawsContent": true,
|
| - "children": [
|
| - {
|
| - "name": "Squashing Containment Layer",
|
| - "shouldFlattenTransform": false,
|
| - "children": [
|
| - {
|
| - "name": "LayoutBlockFlow (positioned) DIV class='composited box behind'",
|
| - "position": [50, 50],
|
| - "bounds": [100, 100],
|
| - "contentsOpaque": true,
|
| - "drawsContent": true,
|
| - "backgroundColor": "#0000FF"
|
| - },
|
| - {
|
| - "name": "Squashing Layer (first squashed layer: LayoutBlockFlow (positioned) DIV class='box top')",
|
| - "position": [130, 130],
|
| - "bounds": [100, 100],
|
| - "drawsContent": true
|
| - }
|
| - ]
|
| - }
|
| - ]
|
| + "backgroundColor": "#0000FF"
|
| + },
|
| + {
|
| + "name": "Squashing Layer (first squashed layer: LayoutBlockFlow (positioned) DIV class='box top')",
|
| + "position": [130, 130],
|
| + "bounds": [100, 100],
|
| + "drawsContent": true
|
| }
|
| ]
|
| }
|
| CASE 2, change color of "inner" to red
|
| {
|
| - "name": "Content Root Layer",
|
| - "bounds": [800, 600],
|
| - "children": [
|
| + "layers": [
|
| {
|
| "name": "LayoutView #document",
|
| "bounds": [800, 600],
|
| "contentsOpaque": true,
|
| + "drawsContent": true
|
| + },
|
| + {
|
| + "name": "Squashing Containment Layer",
|
| + "shouldFlattenTransform": false
|
| + },
|
| + {
|
| + "name": "LayoutBlockFlow (positioned) DIV class='composited box behind'",
|
| + "position": [50, 50],
|
| + "bounds": [100, 100],
|
| + "contentsOpaque": true,
|
| + "drawsContent": true,
|
| + "backgroundColor": "#0000FF"
|
| + },
|
| + {
|
| + "name": "Squashing Layer (first squashed layer: LayoutBlockFlow (positioned) DIV class='box top')",
|
| + "position": [130, 130],
|
| + "bounds": [100, 100],
|
| "drawsContent": true,
|
| - "children": [
|
| + "paintInvalidations": [
|
| {
|
| - "name": "Squashing Containment Layer",
|
| - "shouldFlattenTransform": false,
|
| - "children": [
|
| - {
|
| - "name": "LayoutBlockFlow (positioned) DIV class='composited box behind'",
|
| - "position": [50, 50],
|
| - "bounds": [100, 100],
|
| - "contentsOpaque": true,
|
| - "drawsContent": true,
|
| - "backgroundColor": "#0000FF"
|
| - },
|
| - {
|
| - "name": "Squashing Layer (first squashed layer: LayoutBlockFlow (positioned) DIV class='box top')",
|
| - "position": [130, 130],
|
| - "bounds": [100, 100],
|
| - "drawsContent": true,
|
| - "paintInvalidations": [
|
| - {
|
| - "object": "LayoutBlockFlow (positioned) DIV id='inner'",
|
| - "rect": [10, 10, 50, 50],
|
| - "reason": "style change"
|
| - }
|
| - ]
|
| - }
|
| - ]
|
| + "object": "LayoutBlockFlow (positioned) DIV id='inner'",
|
| + "rect": [10, 10, 50, 50],
|
| + "reason": "style change"
|
| }
|
| ]
|
| }
|
|
|