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

Issue 1077473002: Stop rendering text inside flex boxes. (Closed)

Created:
5 years, 8 months ago by ojan
Modified:
5 years, 8 months ago
Reviewers:
eseidel, Hixie
CC:
abarth-chromium, mojo-reviews_chromium.org, qsr+mojo_chromium.org
Base URL:
https://github.com/domokit/mojo.git@master
Target Ref:
refs/heads/master
Project:
mojo
Visibility:
Public.

Description

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 Committed: https://chromium.googlesource.com/external/mojo/+/1ea0e439342f8764af422ab6f02d9431844b606c

Patch Set 1 #

Total comments: 3

Patch Set 2 : make p default to display: paragraph #

Unified diffs Side-by-side diffs Delta from patch set Stats (+115 lines, -213 lines) Patch
M sky/engine/core/css/resolver/StyleResolver.cpp View 1 1 chunk +3 lines, -0 lines 0 comments Download
M sky/engine/core/dom/Text.cpp View 1 chunk +3 lines, -0 lines 0 comments Download
M sky/engine/core/rendering/RenderBlock.h View 2 chunks +0 lines, -5 lines 0 comments Download
M sky/engine/core/rendering/RenderBlock.cpp View 2 chunks +3 lines, -38 lines 0 comments Download
M sky/engine/core/rendering/RenderObject.h View 2 chunks +3 lines, -10 lines 0 comments Download
M sky/engine/core/rendering/RenderObject.cpp View 1 chunk +0 lines, -16 lines 0 comments Download
M sky/engine/core/rendering/RenderParagraph.h View 1 chunk +0 lines, -2 lines 0 comments Download
M sky/engine/core/rendering/RenderParagraph.cpp View 1 chunk +0 lines, -7 lines 0 comments Download
M sky/engine/core/rendering/style/RenderStyle.h View 2 chunks +1 line, -2 lines 0 comments Download
M sky/engine/core/rendering/style/RenderStyle.cpp View 2 chunks +1 line, -10 lines 0 comments Download
M sky/examples/home.sky View 1 chunk +1 line, -0 lines 0 comments Download
M sky/tests/clipping/background-opaque-clipped-gradients.sky View 1 1 chunk +1 line, -1 line 0 comments Download
M sky/tests/clipping/background-opaque-clipped-gradients-expected.txt View 1 chunk +1 line, -1 line 0 comments Download
M sky/tests/editing/backspace.sky View 1 1 chunk +1 line, -2 lines 0 comments Download
M sky/tests/editing/replace.sky View 1 1 chunk +1 line, -2 lines 0 comments Download
M sky/tests/editing/selection.sky View 1 1 chunk +1 line, -2 lines 0 comments Download
M sky/tests/editing/typing.sky View 1 1 chunk +1 line, -2 lines 0 comments Download
M sky/tests/harness/reftest-mismatch.sky View 1 1 chunk +1 line, -1 line 0 comments Download
M sky/tests/layout/borderbox-percent-padding.sky View 1 2 chunks +3 lines, -6 lines 0 comments Download
D sky/tests/layout/continuations.sky View 1 chunk +0 lines, -4 lines 0 comments Download
D sky/tests/layout/continuations-expected.txt View 1 chunk +0 lines, -12 lines 0 comments Download
A sky/tests/layout/custom-dirty-bits.sky View 1 chunk +16 lines, -0 lines 0 comments Download
A sky/tests/layout/custom-dirty-bits-expected.txt View 1 chunk +4 lines, -0 lines 0 comments Download
M sky/tests/layout/document-elementFromPoint.sky View 1 chunk +1 line, -1 line 0 comments Download
M sky/tests/layout/ellipsis.sky View 1 2 chunks +1 line, -9 lines 0 comments Download
M sky/tests/layout/ellipsis-expected.txt View 1 chunk +12 lines, -15 lines 0 comments Download
M sky/tests/layout/position-absolute.sky View 1 3 chunks +4 lines, -5 lines 0 comments Download
M sky/tests/layout/position-absolute-expected.txt View 1 1 chunk +1 line, -1 line 0 comments Download
M sky/tests/layout/position-absolute-pixels.sky View 1 3 chunks +4 lines, -5 lines 0 comments Download
M sky/tests/lowlevel/filters.sky View 1 1 chunk +1 line, -1 line 0 comments Download
M sky/tests/lowlevel/hello-world.sky View 1 1 chunk +1 line, -1 line 0 comments Download
M sky/tests/lowlevel/hello-world-expected.txt View 1 chunk +1 line, -1 line 0 comments Download
M sky/tests/lowlevel/home.sky View 1 2 chunks +5 lines, -5 lines 0 comments Download
M sky/tests/lowlevel/home-expected.txt View 1 1 chunk +6 lines, -8 lines 0 comments Download
M sky/tests/lowlevel/iframe.sky View 1 1 chunk +3 lines, -3 lines 0 comments Download
M sky/tests/lowlevel/iframe-expected.txt View 1 1 chunk +18 lines, -23 lines 0 comments Download
M sky/tests/lowlevel/style-basic.sky View 1 2 chunks +3 lines, -3 lines 0 comments Download
M sky/tests/lowlevel/text.sky View 1 1 chunk +2 lines, -2 lines 0 comments Download
M sky/tests/modules/basic.sky View 1 1 chunk +1 line, -1 line 0 comments Download
M sky/tests/modules/import-syntax-error.sky View 1 1 chunk +1 line, -1 line 0 comments Download
M sky/tests/modules/import-without-export.sky View 1 1 chunk +1 line, -1 line 0 comments Download
M sky/tests/modules/imports-can-import.sky View 1 1 chunk +1 line, -1 line 0 comments Download
M sky/tests/modules/imports-can-load-404s.sky View 1 1 chunk +1 line, -1 line 0 comments Download
M sky/tests/parser/comments.sky View 1 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 6 (1 generated)
ojan
5 years, 8 months ago (2015-04-09 02:07:35 UTC) #2
eseidel
This change is going to need to be announced. I think we should seriously consider ...
5 years, 8 months ago (2015-04-09 05:19:56 UTC) #3
eseidel
lgtm
5 years, 8 months ago (2015-04-09 05:20:03 UTC) #4
ojan
On 2015/04/09 at 05:19:56, eseidel wrote: > This change is going to need to be ...
5 years, 8 months ago (2015-04-09 18:32:53 UTC) #5
ojan
5 years, 8 months ago (2015-04-09 18:40:07 UTC) #6
Message was sent while issue was closed.
Committed patchset #2 (id:20001) manually as
1ea0e439342f8764af422ab6f02d9431844b606c (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698