Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(87)

Unified Diff: third_party/WebKit/LayoutTests/compositing/squashing/squashed-layer-loses-graphicslayer-expected.txt

Issue 2084643002: Auto-rebaseline for r400605 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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"
+ }
]
}

Powered by Google App Engine
This is Rietveld 408576698