Test 'text-anchor' and the 'baseline-shift' properties (vertical).
The leftmost three lines test the three values for property 'text-anchor': start, middle and end.
The next three lines test property 'baseline-shift'.
The fourth line tests 'baseline-shift:7' (i.e., a length for 'baseline-shift').
The red text should shift right by 7 pixels.
The fifth line tests 'baseline-shift:-70%' (i.e., a percentage for 'baseline-shift').
The red text should shift left by 70% of the 'font-size'.
The sixth line tests the three keywords 'sub', 'super' and 'normal'.
You should see a subscript, superscript and return to normal.
text-align-03-f
Test 'text-anchor' and the 'baseline-shift' properties (vertical).
Test 'text-anchor' and the 'baseline-shift' properties (vertical).
text-anchor
baseline-shift
start
middle
end
noneshift by 7none
noneshift by -70%none
nonesubsuperno shift
Scalable Vector Graphics (SVG) v1.1 Conformance Suite
Copyright 2002 W3C. All Rights Reserved.
text-align-03-f
$Revision: 1.1 $
Release 1.0