OLD | NEW |
1 SVG 1.1 dynamic update tests | 1 SVG 1.1 dynamic update tests |
2 | 2 |
3 Stretched text | 3 Stretched text |
4 Tests dynamic updates of the 'textLength' property of the SVGTextElement object | 4 Tests dynamic updates of the 'textLength' property of the SVGTextElement object |
5 | 5 |
6 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | 6 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
7 | 7 |
8 | 8 |
9 PASS textElement.getAttribute('textLength') is null | 9 PASS textElement.getAttribute('textLength') is null |
10 PASS lastLength = textElement.getComputedTextLength(); lastLength > 0 && lastLen
gth < 200 is true | 10 PASS lastLength = textElement.getComputedTextLength(); lastLength > 0 && lastLen
gth < 200 is true |
11 PASS lastLength == textElement.textLength.baseVal.value is true | 11 PASS lastLength == textElement.textLength.baseVal.value is true |
12 PASS textElement.getAttribute('textLength') is "200" | 12 PASS textElement.getAttribute('textLength') is "200" |
13 PASS textElement.textLength.baseVal.value is 200 | 13 PASS textElement.textLength.baseVal.value is 200 |
14 PASS textElement.getComputedTextLength() == lastLength is true | 14 PASS textElement.getComputedTextLength() == lastLength is true |
15 PASS successfullyParsed is true | 15 PASS successfullyParsed is true |
16 | 16 |
17 TEST COMPLETE | 17 TEST COMPLETE |
18 (GraphicsLayer | 18 (repaint rects |
19 (bounds 800.00 600.00) | 19 (rect 8 208 84 19) |
20 (children 1 | 20 (rect 8 208 192 19) |
21 (GraphicsLayer | |
22 (bounds 800.00 600.00) | |
23 (contentsOpaque 1) | |
24 (drawsContent 1) | |
25 (repaint rects | |
26 (rect 8.00 208.00 84.00 19.00) | |
27 (rect 8.00 208.00 192.00 19.00) | |
28 ) | |
29 ) | |
30 ) | |
31 ) | 21 ) |
32 | 22 |
OLD | NEW |