|
First step at getting rid of anonymous blocks and continuations.
-Add RenderParagraph and display:paragraph. This is the only
render type that's allowed to contain inlines or text.
-If you put text nodes directly in a non-paragraph, wrap them
in an anonymous paragraph. This may not be the place we want
to end up, but it's a good stopgap to make it so we don't
crash in this case.
-Make StyleAdjuster force that non-paragraph blocks only contain
RenderBlock subclasses and that paragraphs and inlines only contain
inlines.
-Considerably simplify addChildIgnoringAnonymousColumnBlocks
now that we only create anonymous blocks for the case of
text nodes in non-paragraphs. Also get rid of the behavior
where we try to group multiple nodes into a single
anonymous block.
R=esprehn@chromium.org
Committed: https://chromium.googlesource.com/external/mojo/+/f8bae4e0a89b2be24df547d35d01ea05580e2ec4
Total comments: 4
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+326 lines, -402 lines) |
Patch |
|
M |
sky/engine/core/core.gni
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
sky/engine/core/css/CSSPrimitiveValueMappings.h
|
View
|
1
2
3
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
|
M |
sky/engine/core/css/CSSValueKeywords.in
|
View
|
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
|
M |
sky/engine/core/css/resolver/StyleAdjuster.h
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
|
M |
sky/engine/core/css/resolver/StyleAdjuster.cpp
|
View
|
1
2
3
|
3 chunks |
+50 lines, -10 lines |
0 comments
|
Download
|
|
M |
sky/engine/core/rendering/RenderBlock.h
|
View
|
|
2 chunks |
+2 lines, -3 lines |
0 comments
|
Download
|
|
M |
sky/engine/core/rendering/RenderBlock.cpp
|
View
|
1
2
3
|
7 chunks |
+21 lines, -205 lines |
0 comments
|
Download
|
|
M |
sky/engine/core/rendering/RenderBlockFlow.cpp
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
|
M |
sky/engine/core/rendering/RenderBox.cpp
|
View
|
|
1 chunk |
+0 lines, -41 lines |
0 comments
|
Download
|
|
M |
sky/engine/core/rendering/RenderObject.h
|
View
|
1
2
3
|
3 chunks |
+4 lines, -2 lines |
0 comments
|
Download
|
|
M |
sky/engine/core/rendering/RenderObject.cpp
|
View
|
1
2
3
|
3 chunks |
+6 lines, -11 lines |
0 comments
|
Download
|
|
A |
sky/engine/core/rendering/RenderParagraph.h
|
View
|
1
2
3
|
1 chunk |
+29 lines, -0 lines |
0 comments
|
Download
|
|
A |
sky/engine/core/rendering/RenderParagraph.cpp
|
View
|
1
2
3
|
1 chunk |
+27 lines, -0 lines |
0 comments
|
Download
|
|
M |
sky/engine/core/rendering/style/RenderStyleConstants.h
|
View
|
1
2
3
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
sky/examples/city-list/city-list.sky
|
View
|
1
2
3
|
3 chunks |
+6 lines, -0 lines |
0 comments
|
Download
|
|
M |
sky/tests/framework/flights-app-expected.txt
|
View
|
1
2
|
2 chunks |
+97 lines, -93 lines |
0 comments
|
Download
|
|
A |
sky/tests/layout/continuations.sky
|
View
|
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
|
A |
sky/tests/layout/continuations-expected.txt
|
View
|
|
1 chunk |
+13 lines, -0 lines |
0 comments
|
Download
|
|
M |
sky/tests/lowlevel/abarth.sky
|
View
|
|
1 chunk |
+7 lines, -0 lines |
0 comments
|
Download
|
|
M |
sky/tests/lowlevel/hello-world-expected.txt
|
View
|
|
1 chunk |
+3 lines, -2 lines |
0 comments
|
Download
|
|
M |
sky/tests/lowlevel/iframe-expected.txt
|
View
|
1
2
3
|
1 chunk |
+3 lines, -2 lines |
0 comments
|
Download
|
|
M |
sky/tests/lowlevel/scrollbar-expected.txt
|
View
|
|
1 chunk |
+45 lines, -30 lines |
0 comments
|
Download
|
Total messages: 7 (2 generated)
|