| Index: third_party/WebKit/LayoutTests/compositing/squashing/add-remove-squashed-layers-expected.txt
|
| diff --git a/third_party/WebKit/LayoutTests/compositing/squashing/add-remove-squashed-layers-expected.txt b/third_party/WebKit/LayoutTests/compositing/squashing/add-remove-squashed-layers-expected.txt
|
| index 49a7939d101ff79cbef894501a11171e49cc9dd1..0837c2b53edce5ee76a0e8defa40c01930a020ce 100644
|
| --- a/third_party/WebKit/LayoutTests/compositing/squashing/add-remove-squashed-layers-expected.txt
|
| +++ b/third_party/WebKit/LayoutTests/compositing/squashing/add-remove-squashed-layers-expected.txt
|
| @@ -38,6 +38,13 @@ CASE 2, overlap3 gets added:
|
| "bounds": [800, 600],
|
| "contentsOpaque": true,
|
| "drawsContent": true,
|
| + "paintInvalidations": [
|
| + {
|
| + "object": "LayoutBlockFlow (positioned) DIV id='C' class='overlap3'",
|
| + "rect": [0, 0, 0, 0],
|
| + "reason": "layer"
|
| + }
|
| + ],
|
| "children": [
|
| {
|
| "shouldFlattenTransform": false,
|
| @@ -53,8 +60,12 @@ CASE 2, overlap3 gets added:
|
| "position": [140, 140],
|
| "bounds": [260, 260],
|
| "drawsContent": true,
|
| - "repaintRects": [
|
| - [160, 160, 100, 100]
|
| + "paintInvalidations": [
|
| + {
|
| + "object": "LayoutBlockFlow (positioned) DIV id='C' class='overlap3'",
|
| + "rect": [160, 160, 100, 100],
|
| + "reason": "location change"
|
| + }
|
| ]
|
| }
|
| ]
|
| @@ -86,8 +97,12 @@ CASE 3, overlap2 gets removed. Since this does not resize the layer, there shoul
|
| "position": [140, 140],
|
| "bounds": [260, 260],
|
| "drawsContent": true,
|
| - "repaintRects": [
|
| - [80, 80, 100, 100]
|
| + "paintInvalidations": [
|
| + {
|
| + "object": "LayoutBlockFlow (positioned) DIV id='B' class='overlap2'",
|
| + "rect": [80, 80, 100, 100],
|
| + "reason": "layoutObject removal"
|
| + }
|
| ]
|
| }
|
| ]
|
| @@ -119,10 +134,22 @@ CASE 4, overlap1 gets removed:
|
| "position": [300, 300],
|
| "bounds": [100, 100],
|
| "drawsContent": true,
|
| - "repaintRects": [
|
| - [160, 160, 100, 100],
|
| - [0, 0, 100, 100],
|
| - [0, 0, 100, 100]
|
| + "paintInvalidations": [
|
| + {
|
| + "object": "LayoutBlockFlow (positioned) DIV id='A' class='overlap1'",
|
| + "rect": [0, 0, 100, 100],
|
| + "reason": "layoutObject removal"
|
| + },
|
| + {
|
| + "object": "LayoutBlockFlow (positioned) DIV id='C' class='overlap3'",
|
| + "rect": [160, 160, 100, 100],
|
| + "reason": "layer"
|
| + },
|
| + {
|
| + "object": "LayoutBlockFlow (positioned) DIV id='C' class='overlap3'",
|
| + "rect": [0, 0, 100, 100],
|
| + "reason": "location change"
|
| + }
|
| ]
|
| }
|
| ]
|
| @@ -139,6 +166,13 @@ CASE 5, overlap2 gets added back:
|
| "bounds": [800, 600],
|
| "contentsOpaque": true,
|
| "drawsContent": true,
|
| + "paintInvalidations": [
|
| + {
|
| + "object": "LayoutBlockFlow (positioned) DIV id='B' class='overlap2'",
|
| + "rect": [0, 0, 0, 0],
|
| + "reason": "layer"
|
| + }
|
| + ],
|
| "children": [
|
| {
|
| "shouldFlattenTransform": false,
|
| @@ -154,10 +188,22 @@ CASE 5, overlap2 gets added back:
|
| "position": [220, 220],
|
| "bounds": [180, 180],
|
| "drawsContent": true,
|
| - "repaintRects": [
|
| - [80, 80, 100, 100],
|
| - [0, 0, 100, 100],
|
| - [0, 0, 100, 100]
|
| + "paintInvalidations": [
|
| + {
|
| + "object": "LayoutBlockFlow (positioned) DIV id='B' class='overlap2'",
|
| + "rect": [0, 0, 100, 100],
|
| + "reason": "layoutObject insertion"
|
| + },
|
| + {
|
| + "object": "LayoutBlockFlow (positioned) DIV id='C' class='overlap3'",
|
| + "rect": [0, 0, 100, 100],
|
| + "reason": "layer"
|
| + },
|
| + {
|
| + "object": "LayoutBlockFlow (positioned) DIV id='C' class='overlap3'",
|
| + "rect": [80, 80, 100, 100],
|
| + "reason": "location change"
|
| + }
|
| ]
|
| }
|
| ]
|
| @@ -174,6 +220,13 @@ CASE 6, overlap1 gets added back, and overlap3 gets removed:
|
| "bounds": [800, 600],
|
| "contentsOpaque": true,
|
| "drawsContent": true,
|
| + "paintInvalidations": [
|
| + {
|
| + "object": "LayoutBlockFlow (positioned) DIV id='A' class='overlap1'",
|
| + "rect": [0, 0, 0, 0],
|
| + "reason": "layer"
|
| + }
|
| + ],
|
| "children": [
|
| {
|
| "shouldFlattenTransform": false,
|
| @@ -189,11 +242,27 @@ CASE 6, overlap1 gets added back, and overlap3 gets removed:
|
| "position": [140, 140],
|
| "bounds": [180, 180],
|
| "drawsContent": true,
|
| - "repaintRects": [
|
| - [80, 80, 100, 100],
|
| - [80, 80, 100, 100],
|
| - [0, 0, 100, 100],
|
| - [0, 0, 100, 100]
|
| + "paintInvalidations": [
|
| + {
|
| + "object": "LayoutBlockFlow (positioned) DIV id='A' class='overlap1'",
|
| + "rect": [0, 0, 100, 100],
|
| + "reason": "layoutObject insertion"
|
| + },
|
| + {
|
| + "object": "LayoutBlockFlow (positioned) DIV id='B' class='overlap2'",
|
| + "rect": [0, 0, 100, 100],
|
| + "reason": "layer"
|
| + },
|
| + {
|
| + "object": "LayoutBlockFlow (positioned) DIV id='B' class='overlap2'",
|
| + "rect": [80, 80, 100, 100],
|
| + "reason": "location change"
|
| + },
|
| + {
|
| + "object": "LayoutBlockFlow (positioned) DIV id='C' class='overlap3'",
|
| + "rect": [80, 80, 100, 100],
|
| + "reason": "layoutObject removal"
|
| + }
|
| ]
|
| }
|
| ]
|
|
|