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

Unified Diff: LayoutTests/virtual/softwarecompositing/squashing/squashed-layer-loses-graphicslayer-expected.txt

Issue 311813005: Issue repaints for RenderLayers that get new composited backings after (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Merged. Created 6 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: LayoutTests/virtual/softwarecompositing/squashing/squashed-layer-loses-graphicslayer-expected.txt
diff --git a/LayoutTests/virtual/softwarecompositing/squashing/squashed-layer-loses-graphicslayer-expected.txt b/LayoutTests/virtual/softwarecompositing/squashing/squashed-layer-loses-graphicslayer-expected.txt
deleted file mode 100644
index 7859764e2a6881f731c0618b25a8b5724cf550a5..0000000000000000000000000000000000000000
--- a/LayoutTests/virtual/softwarecompositing/squashing/squashed-layer-loses-graphicslayer-expected.txt
+++ /dev/null
@@ -1,50 +0,0 @@
-A squashing RenderLayer that becomes non-composited should correctly send a repaint invalidation to the new container GraphicsLayer that it paints into. When run interactively, hovering over the force-composited gray div should not cause other layers to disappear.
-
-CASE 1, original layer tree:
-(GraphicsLayer
- (bounds 800.00 600.00)
- (children 1
- (GraphicsLayer
- (bounds 800.00 600.00)
- (contentsOpaque 1)
- (drawsContent 1)
- (children 1
- (GraphicsLayer
- (children 2
- (GraphicsLayer
- (position 60.00 60.00)
- (bounds 100.00 100.00)
- (contentsOpaque 1)
- (drawsContent 1)
- (backgroundColor #808080)
- )
- (GraphicsLayer
- (position 140.00 140.00)
- (bounds 260.00 260.00)
- (drawsContent 1)
- )
- )
- )
- )
- )
- )
-)
-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:
-(GraphicsLayer
- (bounds 800.00 600.00)
- (children 1
- (GraphicsLayer
- (bounds 800.00 600.00)
- (contentsOpaque 1)
- (drawsContent 1)
- (repaint rects
- (rect 300.00 300.00 100.00 100.00)
- (rect 220.00 220.00 100.00 100.00)
- (rect 140.00 140.00 100.00 100.00)
- (rect 60.00 60.00 100.00 100.00)
- (rect 60.00 60.00 100.00 100.00)
- )
- )
- )
-)
-

Powered by Google App Engine
This is Rietveld 408576698