19 lines
639 B
Plaintext
19 lines
639 B
Plaintext
SVG 1.1 dynamic update tests
|
|
|
|
Stretched text
|
|
Tests dynamic updates of the 'textLength' attribute of the SVGTextElement object
|
|
|
|
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
|
|
|
|
|
|
PASS textElement.getAttribute('textLength') is null
|
|
PASS lastLength = textElement.getComputedTextLength(); lastLength > 0 && lastLength < 200 is true
|
|
PASS lastLength == textElement.textLength.baseVal.value is true
|
|
PASS textElement.getAttribute('textLength') is "200"
|
|
PASS textElement.textLength.baseVal.value is 200
|
|
PASS textElement.getComputedTextLength() == lastLength is true
|
|
PASS successfullyParsed is true
|
|
|
|
TEST COMPLETE
|
|
|