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

Side by Side 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. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « LayoutTests/TestExpectations ('k') | Source/core/rendering/svg/SVGTextLayoutEngineBaseline.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <?xml version="1.0"?> 1 <?xml version="1.0"?>
2 <svg xmlns="http://www.w3.org/2000/svg" width="400" height="400"> 2 <svg xmlns="http://www.w3.org/2000/svg" width="400" height="400">
3 <g> 3 <g>
4 <text x="10" y="15" font-size="20" dominant-baseline="auto">This <tspan alignment-baseline="alphabetic">is a</tspan> test</text> 4 <text x="10" y="15" font-size="20" dominant-baseline="auto">This <tspan alignment-baseline="alphabetic">is a</tspan> test</text>
5 <line x1="10" x2="110" y1="15" y2="15" stroke="red"/> 5 <line x1="10" x2="110" y1="15" y2="15" stroke="red"/>
6 </g> 6 </g>
7 7
8 <g transform="translate(0 30)"> 8 <g transform="translate(0 30)">
9 <text x="10" y="15" font-size="20" dominant-baseline="use-script">This < tspan alignment-baseline="alphabetic">is a</tspan> test</text> 9 <text x="10" y="15" font-size="20" dominant-baseline="use-script">This < tspan alignment-baseline="alphabetic">is a</tspan> test</text>
10 <line x1="10" x2="110" y1="15" y2="15" stroke="red"/> 10 <line x1="10" x2="110" y1="15" y2="15" stroke="red"/>
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 52
53 <g transform="translate(0 300)"> 53 <g transform="translate(0 300)">
54 <text x="10" y="15" font-size="20" dominant-baseline="text-after-edge">T his <tspan alignment-baseline="alphabetic">is a</tspan> test</text> 54 <text x="10" y="15" font-size="20" dominant-baseline="text-after-edge">T his <tspan alignment-baseline="alphabetic">is a</tspan> test</text>
55 <line x1="10" x2="110" y1="15" y2="15" stroke="red"/> 55 <line x1="10" x2="110" y1="15" y2="15" stroke="red"/>
56 </g> 56 </g>
57 57
58 <g transform="translate(0 330)"> 58 <g transform="translate(0 330)">
59 <text x="10" y="15" font-size="20" dominant-baseline="text-before-edge"> This <tspan alignment-baseline="alphabetic">is a</tspan> test</text> 59 <text x="10" y="15" font-size="20" dominant-baseline="text-before-edge"> This <tspan alignment-baseline="alphabetic">is a</tspan> test</text>
60 <line x1="10" x2="110" y1="15" y2="15" stroke="red"/> 60 <line x1="10" x2="110" y1="15" y2="15" stroke="red"/>
61 </g> 61 </g>
62
63 <g transform="translate(0 360)">
64 <text x="10" y="15" font-size="20" dominant-baseline="text-before-edge"> This <tspan alignment-baseline="baseline">is a</tspan> test</text>
65 <line x1="10" x2="110" y1="15" y2="15" stroke="red"/>
66 </g>
62 </svg> 67 </svg>
OLDNEW
« 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
This is Rietveld 408576698