|
Use the baseline information exposed by C++ to pipe baseline data through RenderBox.
This also fixes the C++ side to give the right baseline information.
Previously it was giving the baseline distance for the font, but not
for the actual laid-out text.
I considered also providing a "defaultBaseline" accessor that returns
the distance for the actual dominant baseline, but it turns out right
now we never decide the baseline is ideographic. We always use the
alphabetic baseline. We should probably fix that...
R=eseidel@chromium.org
Committed: https://chromium.googlesource.com/external/mojo/+/134f2e4b8c004d70caca54182064cd945da805d5
Total comments: 3
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+225 lines, -15 lines) |
Patch |
 |
M |
sky/engine/core/dom/Element.cpp
|
View
|
1
2
3
4
5
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
sky/engine/core/rendering/RenderBlock.h
|
View
|
1
2
3
4
5
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
sky/engine/core/rendering/RenderBlock.cpp
|
View
|
1
2
3
4
5
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
sky/engine/core/rendering/RenderBox.h
|
View
|
1
2
3
4
5
|
2 chunks |
+16 lines, -1 line |
0 comments
|
Download
|
 |
M |
sky/engine/core/rendering/RenderFlexibleBox.h
|
View
|
1
2
3
4
5
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
sky/engine/core/rendering/RenderFlexibleBox.cpp
|
View
|
1
2
3
4
5
|
4 chunks |
+5 lines, -5 lines |
0 comments
|
Download
|
 |
M |
sky/engine/core/rendering/RenderParagraph.h
|
View
|
1
2
3
4
5
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
sky/engine/core/rendering/RenderParagraph.cpp
|
View
|
1
2
3
4
5
|
1 chunk |
+9 lines, -2 lines |
0 comments
|
Download
|
 |
A |
sky/examples/rendering/baseline.dart
|
View
|
1
2
3
4
|
1 chunk |
+78 lines, -0 lines |
0 comments
|
Download
|
 |
M |
sky/sdk/lib/rendering/block.dart
|
View
|
1
2
3
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
sky/sdk/lib/rendering/box.dart
|
View
|
1
2
3
|
5 chunks |
+79 lines, -0 lines |
0 comments
|
Download
|
 |
M |
sky/sdk/lib/rendering/flex.dart
|
View
|
1
2
3
|
7 chunks |
+13 lines, -0 lines |
0 comments
|
Download
|
 |
M |
sky/sdk/lib/rendering/paragraph.dart
|
View
|
1
2
3
|
1 chunk |
+10 lines, -0 lines |
0 comments
|
Download
|
 |
M |
sky/sdk/lib/rendering/stack.dart
|
View
|
1
2
3
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
Total messages: 9 (1 generated)
|