|
Add SVG Text to support the CSS 'text-orientation' property
This patch changes SVGTextLayoutEngine to rely on fonts to orient
glyphs in vertical flow.
As the result, this patch changes:
1. SVG text uses the CSS 'text-orientation' property to orient glyphs
in vertical flow. This is defined in the CSS spec[1] and will give
consistent authoring for CSS and SVG.
2. Vertical alternate forms of glyphs are enabled as defined in the
CSS/SVG specs.
3. The SVG 'glyph-orientation-vertical/glyph-orientation-horizontal'
properties are no longer honored. Removal of these properties will
be in a following patch.
[1] https://drafts.csswg.org/css-writing-modes-3/#glyph-orientation
BUG= 540782, 543397
Committed: https://crrev.com/a5703876c2ba95f3cd5684edeaf91314b0cbd627
Cr-Commit-Position: refs/heads/master@{#354970}
Total comments: 3
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+77 lines, -115 lines) |
Patch |
 |
M |
third_party/WebKit/LayoutTests/TestExpectations
|
View
|
1
2
3
|
1 chunk |
+9 lines, -0 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/LayoutTests/svg/W3C-SVG-1.1/text-align-05-b.svg
|
View
|
1
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/LayoutTests/svg/W3C-SVG-1.1/text-align-06-b.svg
|
View
|
1
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/LayoutTests/svg/W3C-SVG-1.1/text-intro-03-b.svg
|
View
|
1
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/LayoutTests/svg/batik/text/textGlyphOrientationHorizontal.svg
|
View
|
1
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/LayoutTests/svg/batik/text/verticalText.svg
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/LayoutTests/svg/batik/text/verticalTextOnPath.svg
|
View
|
1
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
A |
third_party/WebKit/LayoutTests/svg/text/resources/glyph-orientation-vertical.css
|
View
|
1
|
1 chunk |
+12 lines, -0 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/LayoutTests/svg/text/text-selection-align-05-b.svg
|
View
|
1
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/LayoutTests/svg/text/text-selection-align-06-b.svg
|
View
|
1
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/layout/svg/LayoutSVGInlineText.cpp
|
View
|
|
1 chunk |
+0 lines, -14 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/layout/svg/SVGTextLayoutEngine.cpp
|
View
|
1
2
3
4
|
7 chunks |
+20 lines, -16 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/layout/svg/SVGTextLayoutEngineBaseline.h
|
View
|
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/layout/svg/SVGTextLayoutEngineBaseline.cpp
|
View
|
|
1 chunk |
+0 lines, -83 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/layout/svg/SVGTextMetrics.h
|
View
|
1
2
3
4
|
2 chunks |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/layout/svg/SVGTextMetrics.cpp
|
View
|
|
2 chunks |
+15 lines, -0 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/platform/fonts/FontOrientation.h
|
View
|
1
2
3
4
|
1 chunk |
+9 lines, -0 lines |
0 comments
|
Download
|
Total messages: 16 (6 generated)
|