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

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

Issue 2406723002: Auto-rebaseline for r424089 (Closed)
Patch Set: Created 4 years, 2 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 5a4fe273e9700488efb8c25c7044fbd246daac61..c42aa4bb95b88f59db4e412c406b1e8d1a533dc6 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,44 +2,36 @@ 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": [
+ "layers": [
{
"name": "LayoutView #document",
"bounds": [800, 600],
"contentsOpaque": true,
+ "drawsContent": true
+ },
+ {
+ "name": "Squashing Containment Layer",
+ "shouldFlattenTransform": false
+ },
+ {
+ "name": "LayoutBlockFlow (positioned) DIV id='forceComposited' class='composited underneath'",
+ "position": [60, 60],
+ "bounds": [100, 100],
+ "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,
- "drawsContent": true,
- "backgroundColor": "#808080"
- },
- {
- "name": "Squashing Layer (first squashed layer: LayoutBlockFlow (positioned) DIV id='A' class='overlap1')",
- "position": [140, 140],
- "bounds": [260, 260],
- "drawsContent": true
- }
- ]
- }
- ]
+ "backgroundColor": "#808080"
+ },
+ {
+ "name": "Squashing Layer (first squashed layer: LayoutBlockFlow (positioned) DIV id='A' class='overlap1')",
+ "position": [140, 140],
+ "bounds": [260, 260],
+ "drawsContent": true
}
]
}
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": [
+ "layers": [
{
"name": "LayoutView #document",
"bounds": [800, 600],

Powered by Google App Engine
This is Rietveld 408576698