From e5e8909c1b44eab09e403941eb9cefde3a39af2e Mon Sep 17 00:00:00 2001 From: Ojan Vafai Date: Thu, 8 Jan 2015 17:20:00 -0800 Subject: [PATCH] Fix crash in continuations. Style sharing didn't play nicely with elements getting their display adjusted based off the parent's display. We style share without doing adjusting, so we need to avoid style sharing if adjusting would result in a different style. Particularly, we need to make sure that the display coercion would happen in the same way. R=esprehn@chromium.org Review URL: https://codereview.chromium.org/839153002 --- engine/src/flutter/tests/TestExpectations | 2 -- engine/src/flutter/tests/layout/continuations-expected.txt | 6 +++--- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/engine/src/flutter/tests/TestExpectations b/engine/src/flutter/tests/TestExpectations index b7727fce3d..656b58abb8 100644 --- a/engine/src/flutter/tests/TestExpectations +++ b/engine/src/flutter/tests/TestExpectations @@ -22,5 +22,3 @@ https://github.com/domokit/mojo/issues/24 mutation-observer/observe-attributes.s # This test only fails on the bots: crbug.com/434822 inspector/page-agent-get-resource-tree.sky [ Pass Failure ] - -crbug.com/446739 layout/continuations.sky [ Crash ] diff --git a/engine/src/flutter/tests/layout/continuations-expected.txt b/engine/src/flutter/tests/layout/continuations-expected.txt index c88d5e8c2f..34f1562ab3 100644 --- a/engine/src/flutter/tests/layout/continuations-expected.txt +++ b/engine/src/flutter/tests/layout/continuations-expected.txt @@ -3,9 +3,9 @@ layer at (0,0) size 800x600 layer at (0,0) size 800x19 RenderBlock {sky} at (0,0) size 800x19 RenderBlock {div} at (0,0) size 800x19 - RenderBlock {span} at (0,0) size 800x19 - RenderBlock {div} at (0,0) size 25.22x19 - RenderBlock (anonymous) at (0,0) size 25.22x19 + RenderParagraph {span} at (0,0) size 800x19 + RenderBlock (inline-block) {div} at (0,0) size 25.22x19 + RenderParagraph (anonymous) at (0,0) size 25.22x19 RenderText {#text} at (0,0) size 26x19 text run at (0,0) width 26: "foo" RenderText {#text} at (25,0) size 27x19