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

Unified Diff: sky/tests/raw/render_flex-expected.txt

Issue 1209413004: Instead of applying a transform for every RenderObject, pass down an Offset for where to paint. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 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: sky/tests/raw/render_flex-expected.txt
diff --git a/sky/tests/raw/render_flex-expected.txt b/sky/tests/raw/render_flex-expected.txt
index bfef735fbd23edbbb2c2749158cf0543810b8068..ea395c0e65dbce8ea8000cd577ea6163a65357f7 100644
--- a/sky/tests/raw/render_flex-expected.txt
+++ b/sky/tests/raw/render_flex-expected.txt
@@ -11,27 +11,27 @@ PAINT FOR FRAME #1 ----------------------------------------------
1 | | | drawRect(Rect.fromLTRB(0.0, 0.0, 800.0, 82.5), Paint(color:Color(0xffffff00)))
1 | | paintChild RenderSolidColor at Point(350.0, 82.5)
1 | | | TestRenderCanvas() constructor: 800.0 x 600.0
-1 | | | drawRect(Rect.fromLTRB(0.0, 0.0, 100.0, 100.0), Paint(color:Color(0x7700ffff)))
+1 | | | drawRect(Rect.fromLTRB(350.0, 82.5, 450.0, 182.5), Paint(color:Color(0x7700ffff)))
1 | | paintChild RenderPadding at Point(0.0, 182.5)
1 | | | TestRenderCanvas() constructor: 800.0 x 600.0
-1 | | | paintChild RenderDecoratedBox at Point(10.0, 10.0)
+1 | | | paintChild RenderDecoratedBox at Point(10.0, 192.5)
1 | | | | TestRenderCanvas() constructor: 800.0 x 600.0
-1 | | | | drawRect(Rect.fromLTRB(0.0, 0.0, 780.0, 150.0), Paint(color:Color(0xffffffff)))
-1 | | | | paintChild RenderSolidColor at Point(0.0, 0.0)
+1 | | | | drawRect(Rect.fromLTRB(10.0, 192.5, 790.0, 342.5), Paint(color:Color(0xffffffff)))
+1 | | | | paintChild RenderSolidColor at Point(10.0, 192.5)
1 | | | | | TestRenderCanvas() constructor: 800.0 x 600.0
-1 | | | | | drawRect(Rect.fromLTRB(0.0, 0.0, 780.0, 50.0), Paint(color:Color(0xff00ff00)))
-1 | | | | paintChild RenderSolidColor at Point(0.0, 50.0)
+1 | | | | | drawRect(Rect.fromLTRB(10.0, 192.5, 790.0, 242.5), Paint(color:Color(0xff00ff00)))
+1 | | | | paintChild RenderSolidColor at Point(10.0, 242.5)
1 | | | | | TestRenderCanvas() constructor: 800.0 x 600.0
-1 | | | | | drawRect(Rect.fromLTRB(0.0, 0.0, 780.0, 100.0), Paint(color:Color(0x7700ffff)))
+1 | | | | | drawRect(Rect.fromLTRB(10.0, 242.5, 790.0, 342.5), Paint(color:Color(0x7700ffff)))
1 | | paintChild RenderDecoratedBox at Point(0.0, 352.5)
1 | | | TestRenderCanvas() constructor: 800.0 x 600.0
-1 | | | drawRect(Rect.fromLTRB(0.0, 0.0, 800.0, 247.5), Paint(color:Color(0xff333333)))
-1 | | | paintChild RenderSolidColor at Point(0.0, 0.0)
+1 | | | drawRect(Rect.fromLTRB(0.0, 352.5, 800.0, 600.0), Paint(color:Color(0xff333333)))
+1 | | | paintChild RenderSolidColor at Point(0.0, 352.5)
1 | | | | TestRenderCanvas() constructor: 800.0 x 600.0
-1 | | | | drawRect(Rect.fromLTRB(0.0, 0.0, 266.6666564941406, 247.5), Paint(color:Color(0x77ff00ff)))
-1 | | | paintChild RenderSolidColor at Point(266.6666666666667, 0.0)
+1 | | | | drawRect(Rect.fromLTRB(0.0, 352.5, 266.6666564941406, 600.0), Paint(color:Color(0x77ff00ff)))
+1 | | | paintChild RenderSolidColor at Point(266.6666666666667, 352.5)
1 | | | | TestRenderCanvas() constructor: 800.0 x 600.0
-1 | | | | drawRect(Rect.fromLTRB(0.0, 0.0, 533.3333129882812, 247.5), Paint(color:Color(0xff0000ff)))
+1 | | | | drawRect(Rect.fromLTRB(266.6666564941406, 352.5, 800.0, 600.0), Paint(color:Color(0xff0000ff)))
------------------------------------------------------------------------
CONSOLE: PASS: should flex
CONSOLE:

Powered by Google App Engine
This is Rietveld 408576698