Chromium Code Reviews

Unified Diff: LayoutTests/svg/custom/alignment-baseline-modes.svg

Issue 331863014: Fix *-baseline computation for {text-,}after-edge/ideographic/baseline (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase. Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
« no previous file with comments | « LayoutTests/TestExpectations ('k') | Source/core/rendering/svg/SVGTextLayoutEngineBaseline.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/svg/custom/alignment-baseline-modes.svg
diff --git a/LayoutTests/svg/custom/alignment-baseline-modes.svg b/LayoutTests/svg/custom/alignment-baseline-modes.svg
index cd3e6c601fadb485b5ac2f2fb0fba80f545b5334..c3744ec82cf723fc821b0869ba4787bf912e8632 100644
--- a/LayoutTests/svg/custom/alignment-baseline-modes.svg
+++ b/LayoutTests/svg/custom/alignment-baseline-modes.svg
@@ -59,4 +59,9 @@
<text x="10" y="15" font-size="20" dominant-baseline="text-before-edge">This <tspan alignment-baseline="alphabetic">is a</tspan> test</text>
<line x1="10" x2="110" y1="15" y2="15" stroke="red"/>
</g>
+
+<g transform="translate(0 360)">
+ <text x="10" y="15" font-size="20" dominant-baseline="text-before-edge">This <tspan alignment-baseline="baseline">is a</tspan> test</text>
+ <line x1="10" x2="110" y1="15" y2="15" stroke="red"/>
+</g>
</svg>
« no previous file with comments | « LayoutTests/TestExpectations ('k') | Source/core/rendering/svg/SVGTextLayoutEngineBaseline.cpp » ('j') | no next file with comments »

Powered by Google App Engine