Tests the rotate attribute in the tspan element.
-
Tests the case where more characters than rotate values are
supplied. In this case the last rotate value should propogate to
subsequent characters in the element and child tspan elements that
do not contain a rotate value.
-
Tests the case where more values than characters are supplied. In
this case each character should be rotated by the designated value
remaining unused values propogate to any child tspan elements that
do not contain a rotate value.
-
Tests the case where an ansestor of a tspan element specifies a
rotate value but the tspan itself doesn't. In this case the tspan
should use the current rotate value specified by the ansestor
element.
-
Tests the case where a tspan or text element specifies a rotate
value and contains a text string that is broken due to nested child
tspan. In this case characters after the child tspan element must
be rotated by the current rotate value.
Run the test. No interaction required.
For this test to pass the text "Not all characters in the text have a
specified rotation" must be displayed in green without any red showing.
If any red shows the test is a fail.
Rotation values:
-
The characters in the text "Not" must be rotated by 5,15 and 25
degrees respectively.
-
The first 3 characters in the text "all characters" must be -10,-20
and -30 degrees respectively. Subsequent characters in the text must
be each rotated by -40 degrees.
-
All the characters in the text "text have a" must be rotated by -40
degrees.
-
The characters in the text "in the" must be rotated by 70,60,50,40,30
and 20 degrees respectively. Note: the space in the text consumes a
rotate value.
-
All the characters in the text "specified" must be rotated by -10
degrees.
-
All the characters in the text "rotation" must be rotated by 55
degrees.