flutter_flutter/tests/layout/ellipsis-expected.txt
Ojan Vafai b9f182a6bd Stop rendering text inside flex boxes.
Text can only only inside paragraphs and inlines. This patch makes it
so we stop putting such text nodes in the render tree at all if their
parent is not a paragraph or an inline.

This is the final step in making it so that we don't create anonymous
renderers, which fixes a crash in the new custom layout code.

R=eseidel@chromium.org

Review URL: https://codereview.chromium.org/1077473002
2015-04-09 11:40:03 -07:00

19 lines
823 B
Plaintext

layer at (0,0) size 800x600
RenderView {#document} at (0,0) size 800x600
RenderFlexibleBox {sky} at (0,0) size 800x50
layer at (0,0) size 56x25
RenderParagraph {p} at (0,0) size 56x25 [border: (3px solid #FF0000)]
RenderText {#text} at (3,3) size 96x19
text run at (3,3) width 96: "These lines "
RenderInline {p} at (0,0) size 54x19 [border: (3px solid #FF0000)]
RenderText {#text} at (98,3) size 54x19
text run at (98,3) width 54: "should"
RenderText {#text} at (151,3) size 99x19
text run at (151,3) width 99: " all ellipsize."
layer at (0,25) size 56x25
RenderParagraph {p} at (0,25) size 56x25 [border: (3px solid #FF0000)]
RenderInline {span} at (0,0) size 117x19
RenderText {#text} at (3,3) size 117x19
text run at (3,3) width 117: "As should this."