haikuwebkit/LayoutTests/svg/dynamic-updates/SVGTextElement-dom-lengthAd...

20 lines
752 B
Plaintext

SVG 1.1 dynamic update tests
Stretched text
Tests dynamic updates of the 'lengthAdjust' attribute 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.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