blob: c8337193db8e3ca3a31a346e3bca558b8a2820d7 [file] [log] [blame]
SVG 1.1 dynamic update tests
Stretched text
Tests dynamic updates of the 'lengthAdjust' property of the SVGTextElement object
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS textElement.getAttribute('lengthAdjust') is null
PASS textElement.lengthAdjust.baseVal is SVGTextContentElement.LENGTHADJUST_SPACING
PASS textElement.textLength.baseVal.value is 200
PASS lastLength = textElement.getComputedTextLength(); lastLength > 0 && lastLength < 200 is true
PASS textElement.getAttribute('lengthAdjust') is "spacingAndGlyphs"
PASS textElement.lengthAdjust.baseVal is SVGTextContentElement.LENGTHADJUST_SPACINGANDGLYPHS
PASS textElement.textLength.baseVal.value is 200
PASS textElement.getComputedTextLength() == lastLength is true
PASS successfullyParsed is true
TEST COMPLETE