Index: third_party/WebKit/LayoutTests/compositing/squashing/squashed-layer-loses-graphicslayer-expected.txt |
diff --git a/third_party/WebKit/LayoutTests/compositing/squashing/squashed-layer-loses-graphicslayer-expected.txt b/third_party/WebKit/LayoutTests/compositing/squashing/squashed-layer-loses-graphicslayer-expected.txt |
index 78dc63e511f41cb7a0d79c4e7e36283c03aa8f82..5a4fe273e9700488efb8c25c7044fbd246daac61 100644 |
--- a/third_party/WebKit/LayoutTests/compositing/squashing/squashed-layer-loses-graphicslayer-expected.txt |
+++ b/third_party/WebKit/LayoutTests/compositing/squashing/squashed-layer-loses-graphicslayer-expected.txt |
@@ -2,17 +2,21 @@ A squashing Layer that becomes non-composited should correctly send a repaint in |
CASE 1, original layer tree: |
{ |
+ "name": "Content Root Layer", |
"bounds": [800, 600], |
"children": [ |
{ |
+ "name": "LayoutView #document", |
"bounds": [800, 600], |
"contentsOpaque": true, |
"drawsContent": true, |
"children": [ |
{ |
+ "name": "Squashing Containment Layer", |
"shouldFlattenTransform": false, |
"children": [ |
{ |
+ "name": "LayoutBlockFlow (positioned) DIV id='forceComposited' class='composited underneath'", |
"position": [60, 60], |
"bounds": [100, 100], |
"contentsOpaque": true, |
@@ -20,6 +24,7 @@ CASE 1, original layer tree: |
"backgroundColor": "#808080" |
}, |
{ |
+ "name": "Squashing Layer (first squashed layer: LayoutBlockFlow (positioned) DIV id='A' class='overlap1')", |
"position": [140, 140], |
"bounds": [260, 260], |
"drawsContent": true |
@@ -32,9 +37,11 @@ CASE 1, original layer tree: |
} |
CASE 2, The original composited layer is no longer composited, which then also removes all squashing layers. The important point is that there should be an appropriate repaint to the root GraphicsLayer: |
{ |
+ "name": "Content Root Layer", |
"bounds": [800, 600], |
"children": [ |
{ |
+ "name": "LayoutView #document", |
"bounds": [800, 600], |
"contentsOpaque": true, |
"drawsContent": true, |
@@ -61,6 +68,24 @@ CASE 2, The original composited layer is no longer composited, which then also r |
} |
] |
} |
+ ], |
+ "objectPaintInvalidations": [ |
+ { |
+ "object": "LayoutBlockFlow (positioned) DIV id='forceComposited' class='underneath'", |
+ "reason": "subtree" |
+ }, |
+ { |
+ "object": "LayoutBlockFlow (positioned) DIV id='A' class='overlap1'", |
+ "reason": "compositing update" |
+ }, |
+ { |
+ "object": "LayoutBlockFlow (positioned) DIV id='B' class='overlap2'", |
+ "reason": "compositing update" |
+ }, |
+ { |
+ "object": "LayoutBlockFlow (positioned) DIV id='C' class='overlap3'", |
+ "reason": "compositing update" |
+ } |
] |
} |