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

Unified Diff: sky/tests/examples/styled_text-expected.txt

Issue 1208993020: Change all child.paint calls to canvas.paintChild and update the test results. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 5 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
« no previous file with comments | « sky/tests/examples/stocks-expected.txt ('k') | sky/tests/examples/tabs-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/tests/examples/styled_text-expected.txt
diff --git a/sky/tests/examples/styled_text-expected.txt b/sky/tests/examples/styled_text-expected.txt
index 77bc3decef375591229f9d97463c6e564b0ee399..47f1ec4d8e114da6ed1f2a88618476d9836d164a 100644
--- a/sky/tests/examples/styled_text-expected.txt
+++ b/sky/tests/examples/styled_text-expected.txt
@@ -11,108 +11,142 @@ PAINT FOR FRAME #2 ----------------------------------------------
2 | | paintChild RenderDecoratedBox at Point(0.0, 56.0)
2 | | | TestPaintingCanvas() constructor: 800.0 x 600.0
2 | | | drawRRect(Instance of 'RRect', Paint(color:Color(0xfffafafa)))
-2 | | | paintChild RenderFlex at Point(8.0, 56.0)
+2 | | | paintChild RenderPadding at Point(0.0, 56.0)
2 | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
-2 | | | | paintChild RenderParagraph at Point(8.0, 163.5)
+2 | | | | paintChild RenderFlex at Point(8.0, 56.0)
2 | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
-2 | | | | | translate(8.0, 163.5)
-2 | | | | | translate(-8.0, -163.5)
-2 | | | | paintChild RenderPadding at Point(8.0, 213.5)
-2 | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
-2 | | | | | paintChild RenderConstrainedBox at Point(72.0, 223.5)
+2 | | | | | paintChild RenderParagraph at Point(8.0, 163.5)
2 | | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
-2 | | | | | | drawPath(Instance of 'Path', Paint(color:Color(0xff000000)))
-2 | | | | | | drawPath(Instance of 'Path', Paint(color:Color(0xff000000)))
-2 | | | | | | drawPath(Instance of 'Path', Paint(color:Color(0x18000000)))
-2 | | | | | | drawPath(Instance of 'Path', Paint(color:Color(0xff000000)))
-2 | | | | paintChild RenderParagraph at Point(8.0, 233.5)
-2 | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
-2 | | | | | translate(8.0, 233.5)
-2 | | | | | translate(-8.0, -233.5)
-2 | | | | paintChild RenderPadding at Point(8.0, 249.5)
-2 | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
-2 | | | | | paintChild RenderConstrainedBox at Point(72.0, 259.5)
+2 | | | | | | translate(8.0, 163.5)
+2 | | | | | | translate(-8.0, -163.5)
+2 | | | | | paintChild RenderPadding at Point(8.0, 213.5)
2 | | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
-2 | | | | | | drawPath(Instance of 'Path', Paint(color:Color(0xff000000)))
-2 | | | | | | drawPath(Instance of 'Path', Paint(color:Color(0xff000000)))
-2 | | | | | | drawPath(Instance of 'Path', Paint(color:Color(0x18000000)))
-2 | | | | | | drawPath(Instance of 'Path', Paint(color:Color(0xff000000)))
-2 | | | | paintChild RenderParagraph at Point(8.0, 269.5)
-2 | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
-2 | | | | | translate(8.0, 269.5)
-2 | | | | | translate(-8.0, -269.5)
-2 | | | | paintChild RenderPadding at Point(8.0, 294.5)
-2 | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
-2 | | | | | paintChild RenderConstrainedBox at Point(72.0, 304.5)
+2 | | | | | | paintChild RenderConstrainedBox at Point(72.0, 223.5)
+2 | | | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
+2 | | | | | | | paintChild RenderDecoratedBox at Point(72.0, 223.5)
+2 | | | | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
+2 | | | | | | | | drawPath(Instance of 'Path', Paint(color:Color(0xff000000)))
+2 | | | | | | | | drawPath(Instance of 'Path', Paint(color:Color(0xff000000)))
+2 | | | | | | | | drawPath(Instance of 'Path', Paint(color:Color(0x18000000)))
+2 | | | | | | | | drawPath(Instance of 'Path', Paint(color:Color(0xff000000)))
+2 | | | | | | | | paintChild RenderConstrainedBox at Point(72.0, 223.5)
+2 | | | | | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
+2 | | | | | paintChild RenderParagraph at Point(8.0, 233.5)
2 | | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
-2 | | | | | | drawPath(Instance of 'Path', Paint(color:Color(0xff000000)))
-2 | | | | | | drawPath(Instance of 'Path', Paint(color:Color(0xff000000)))
-2 | | | | | | drawPath(Instance of 'Path', Paint(color:Color(0x18000000)))
-2 | | | | | | drawPath(Instance of 'Path', Paint(color:Color(0xff000000)))
-2 | | | | paintChild RenderParagraph at Point(8.0, 314.5)
-2 | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
-2 | | | | | translate(8.0, 314.5)
-2 | | | | | translate(-8.0, -314.5)
-2 | | | | paintChild RenderPadding at Point(8.0, 330.5)
-2 | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
-2 | | | | | paintChild RenderConstrainedBox at Point(72.0, 340.5)
+2 | | | | | | translate(8.0, 233.5)
+2 | | | | | | translate(-8.0, -233.5)
+2 | | | | | paintChild RenderPadding at Point(8.0, 249.5)
2 | | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
-2 | | | | | | drawPath(Instance of 'Path', Paint(color:Color(0xff000000)))
-2 | | | | | | drawPath(Instance of 'Path', Paint(color:Color(0xff000000)))
-2 | | | | | | drawPath(Instance of 'Path', Paint(color:Color(0x18000000)))
-2 | | | | | | drawPath(Instance of 'Path', Paint(color:Color(0xff000000)))
-2 | | | | paintChild RenderParagraph at Point(8.0, 350.5)
-2 | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
-2 | | | | | translate(8.0, 350.5)
-2 | | | | | translate(-8.0, -350.5)
-2 | | | | paintChild RenderPadding at Point(8.0, 375.5)
-2 | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
-2 | | | | | paintChild RenderConstrainedBox at Point(72.0, 385.5)
+2 | | | | | | paintChild RenderConstrainedBox at Point(72.0, 259.5)
+2 | | | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
+2 | | | | | | | paintChild RenderDecoratedBox at Point(72.0, 259.5)
+2 | | | | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
+2 | | | | | | | | drawPath(Instance of 'Path', Paint(color:Color(0xff000000)))
+2 | | | | | | | | drawPath(Instance of 'Path', Paint(color:Color(0xff000000)))
+2 | | | | | | | | drawPath(Instance of 'Path', Paint(color:Color(0x18000000)))
+2 | | | | | | | | drawPath(Instance of 'Path', Paint(color:Color(0xff000000)))
+2 | | | | | | | | paintChild RenderConstrainedBox at Point(72.0, 259.5)
+2 | | | | | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
+2 | | | | | paintChild RenderParagraph at Point(8.0, 269.5)
2 | | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
-2 | | | | | | drawPath(Instance of 'Path', Paint(color:Color(0xff000000)))
-2 | | | | | | drawPath(Instance of 'Path', Paint(color:Color(0xff000000)))
-2 | | | | | | drawPath(Instance of 'Path', Paint(color:Color(0x18000000)))
-2 | | | | | | drawPath(Instance of 'Path', Paint(color:Color(0xff000000)))
-2 | | | | paintChild RenderParagraph at Point(8.0, 395.5)
-2 | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
-2 | | | | | translate(8.0, 395.5)
-2 | | | | | translate(-8.0, -395.5)
-2 | | | | paintChild RenderPadding at Point(8.0, 411.5)
-2 | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
-2 | | | | | paintChild RenderConstrainedBox at Point(72.0, 421.5)
+2 | | | | | | translate(8.0, 269.5)
+2 | | | | | | translate(-8.0, -269.5)
+2 | | | | | paintChild RenderPadding at Point(8.0, 294.5)
2 | | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
-2 | | | | | | drawPath(Instance of 'Path', Paint(color:Color(0xff000000)))
-2 | | | | | | drawPath(Instance of 'Path', Paint(color:Color(0xff000000)))
-2 | | | | | | drawPath(Instance of 'Path', Paint(color:Color(0x18000000)))
-2 | | | | | | drawPath(Instance of 'Path', Paint(color:Color(0xff000000)))
-2 | | | | paintChild RenderParagraph at Point(8.0, 431.5)
-2 | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
-2 | | | | | translate(8.0, 431.5)
-2 | | | | | translate(-8.0, -431.5)
-2 | | | | paintChild RenderPadding at Point(8.0, 456.5)
-2 | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
-2 | | | | | paintChild RenderConstrainedBox at Point(72.0, 466.5)
+2 | | | | | | paintChild RenderConstrainedBox at Point(72.0, 304.5)
+2 | | | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
+2 | | | | | | | paintChild RenderDecoratedBox at Point(72.0, 304.5)
+2 | | | | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
+2 | | | | | | | | drawPath(Instance of 'Path', Paint(color:Color(0xff000000)))
+2 | | | | | | | | drawPath(Instance of 'Path', Paint(color:Color(0xff000000)))
+2 | | | | | | | | drawPath(Instance of 'Path', Paint(color:Color(0x18000000)))
+2 | | | | | | | | drawPath(Instance of 'Path', Paint(color:Color(0xff000000)))
+2 | | | | | | | | paintChild RenderConstrainedBox at Point(72.0, 304.5)
+2 | | | | | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
+2 | | | | | paintChild RenderParagraph at Point(8.0, 314.5)
2 | | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
-2 | | | | | | drawPath(Instance of 'Path', Paint(color:Color(0xff000000)))
-2 | | | | | | drawPath(Instance of 'Path', Paint(color:Color(0xff000000)))
-2 | | | | | | drawPath(Instance of 'Path', Paint(color:Color(0x18000000)))
-2 | | | | | | drawPath(Instance of 'Path', Paint(color:Color(0xff000000)))
-2 | | | | paintChild RenderParagraph at Point(8.0, 476.5)
-2 | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
-2 | | | | | translate(8.0, 476.5)
-2 | | | | | translate(-8.0, -476.5)
+2 | | | | | | translate(8.0, 314.5)
+2 | | | | | | translate(-8.0, -314.5)
+2 | | | | | paintChild RenderPadding at Point(8.0, 330.5)
+2 | | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
+2 | | | | | | paintChild RenderConstrainedBox at Point(72.0, 340.5)
+2 | | | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
+2 | | | | | | | paintChild RenderDecoratedBox at Point(72.0, 340.5)
+2 | | | | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
+2 | | | | | | | | drawPath(Instance of 'Path', Paint(color:Color(0xff000000)))
+2 | | | | | | | | drawPath(Instance of 'Path', Paint(color:Color(0xff000000)))
+2 | | | | | | | | drawPath(Instance of 'Path', Paint(color:Color(0x18000000)))
+2 | | | | | | | | drawPath(Instance of 'Path', Paint(color:Color(0xff000000)))
+2 | | | | | | | | paintChild RenderConstrainedBox at Point(72.0, 340.5)
+2 | | | | | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
+2 | | | | | paintChild RenderParagraph at Point(8.0, 350.5)
+2 | | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
+2 | | | | | | translate(8.0, 350.5)
+2 | | | | | | translate(-8.0, -350.5)
+2 | | | | | paintChild RenderPadding at Point(8.0, 375.5)
+2 | | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
+2 | | | | | | paintChild RenderConstrainedBox at Point(72.0, 385.5)
+2 | | | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
+2 | | | | | | | paintChild RenderDecoratedBox at Point(72.0, 385.5)
+2 | | | | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
+2 | | | | | | | | drawPath(Instance of 'Path', Paint(color:Color(0xff000000)))
+2 | | | | | | | | drawPath(Instance of 'Path', Paint(color:Color(0xff000000)))
+2 | | | | | | | | drawPath(Instance of 'Path', Paint(color:Color(0x18000000)))
+2 | | | | | | | | drawPath(Instance of 'Path', Paint(color:Color(0xff000000)))
+2 | | | | | | | | paintChild RenderConstrainedBox at Point(72.0, 385.5)
+2 | | | | | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
+2 | | | | | paintChild RenderParagraph at Point(8.0, 395.5)
+2 | | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
+2 | | | | | | translate(8.0, 395.5)
+2 | | | | | | translate(-8.0, -395.5)
+2 | | | | | paintChild RenderPadding at Point(8.0, 411.5)
+2 | | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
+2 | | | | | | paintChild RenderConstrainedBox at Point(72.0, 421.5)
+2 | | | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
+2 | | | | | | | paintChild RenderDecoratedBox at Point(72.0, 421.5)
+2 | | | | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
+2 | | | | | | | | drawPath(Instance of 'Path', Paint(color:Color(0xff000000)))
+2 | | | | | | | | drawPath(Instance of 'Path', Paint(color:Color(0xff000000)))
+2 | | | | | | | | drawPath(Instance of 'Path', Paint(color:Color(0x18000000)))
+2 | | | | | | | | drawPath(Instance of 'Path', Paint(color:Color(0xff000000)))
+2 | | | | | | | | paintChild RenderConstrainedBox at Point(72.0, 421.5)
+2 | | | | | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
+2 | | | | | paintChild RenderParagraph at Point(8.0, 431.5)
+2 | | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
+2 | | | | | | translate(8.0, 431.5)
+2 | | | | | | translate(-8.0, -431.5)
+2 | | | | | paintChild RenderPadding at Point(8.0, 456.5)
+2 | | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
+2 | | | | | | paintChild RenderConstrainedBox at Point(72.0, 466.5)
+2 | | | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
+2 | | | | | | | paintChild RenderDecoratedBox at Point(72.0, 466.5)
+2 | | | | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
+2 | | | | | | | | drawPath(Instance of 'Path', Paint(color:Color(0xff000000)))
+2 | | | | | | | | drawPath(Instance of 'Path', Paint(color:Color(0xff000000)))
+2 | | | | | | | | drawPath(Instance of 'Path', Paint(color:Color(0x18000000)))
+2 | | | | | | | | drawPath(Instance of 'Path', Paint(color:Color(0xff000000)))
+2 | | | | | | | | paintChild RenderConstrainedBox at Point(72.0, 466.5)
+2 | | | | | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
+2 | | | | | paintChild RenderParagraph at Point(8.0, 476.5)
+2 | | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
+2 | | | | | | translate(8.0, 476.5)
+2 | | | | | | translate(-8.0, -476.5)
2 | | paintChild RenderDecoratedBox at Point(0.0, 0.0)
2 | | | TestPaintingCanvas() constructor: 800.0 x 600.0
2 | | | drawRect(Rect.fromLTRB(0.0, 0.0, 800.0, 56.0), Paint(color:Color(0xff2196f3), drawLooper:true))
-2 | | | paintChild RenderFlex at Point(8.0, 0.0)
+2 | | | paintChild RenderPadding at Point(0.0, 0.0)
2 | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
-2 | | | | paintChild RenderConstrainedBox at Point(8.0, 0.0)
+2 | | | | paintChild RenderFlex at Point(8.0, 0.0)
2 | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
-2 | | | | | paintChild RenderPadding at Point(8.0, 14.0)
+2 | | | | | paintChild RenderConstrainedBox at Point(8.0, 0.0)
2 | | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
-2 | | | | | | paintChild RenderParagraph at Point(32.0, 14.0)
+2 | | | | | | paintChild RenderFlex at Point(8.0, 0.0)
2 | | | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
-2 | | | | | | | translate(32.0, 14.0)
-2 | | | | | | | translate(-32.0, -14.0)
+2 | | | | | | | paintChild RenderPadding at Point(8.0, 14.0)
+2 | | | | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
+2 | | | | | | | | paintChild RenderParagraph at Point(32.0, 14.0)
+2 | | | | | | | | | TestPaintingCanvas() constructor: 800.0 x 600.0
+2 | | | | | | | | | translate(32.0, 14.0)
+2 | | | | | | | | | translate(-32.0, -14.0)
------------------------------------------------------------------------
PAINTED 2 FRAMES
« no previous file with comments | « sky/tests/examples/stocks-expected.txt ('k') | sky/tests/examples/tabs-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698