Test tspan element styling and relative position adjustments.
Run the test. No interaction required.
The test has passed if:
"You are not a banana" is displayed with the word "not" in bold green, with the rest of the sentence in normal blue.
"But you are a peach!" is displayed with the word "are" in bold green raised above the baseline, and "a peach!" lowered below the baseline.
"Cute and fuzzy" is displayed like there was spaces between each character, and "fuzzy" is displayed on a line below "Cute and".
$RCSfile: text-tspan-01-b.svg,v $Basics of tspan: changing visual properties and positioning.
You are not a banana.
Text: "You are not a banana."'tspan' changes visual attributes of "not",to green, bold.
But youare a peach!Text: "But you are a peach!"Using dx,dy, 'tspan' raises "are",'tspan' lowers "a peach!"Cute and fuzzy.Text: "Cute and fuzzy."'tspan' char-by-char placement of "Cute and",'tspan' char-by-char "fuzzy", below it.$Revision: 1.10 $