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 'lengthAdjust' property of the SVGTextElement objec
t | 4 Tests dynamic updates of the 'lengthAdjust' property of the SVGTextElement objec
t |
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('lengthAdjust') is null | 9 PASS textElement.getAttribute('lengthAdjust') is null |
10 PASS textElement.lengthAdjust.baseVal is SVGTextContentElement.LENGTHADJUST_SPAC
ING | 10 PASS textElement.lengthAdjust.baseVal is SVGTextContentElement.LENGTHADJUST_SPAC
ING |
11 PASS textElement.textLength.baseVal.value is 200 | 11 PASS textElement.textLength.baseVal.value is 200 |
12 PASS lastLength = textElement.getComputedTextLength(); lastLength > 0 && lastLen
gth < 200 is true | 12 PASS lastLength = textElement.getComputedTextLength(); lastLength > 0 && lastLen
gth < 200 is true |
13 PASS textElement.getAttribute('lengthAdjust') is "spacingAndGlyphs" | 13 PASS textElement.getAttribute('lengthAdjust') is "spacingAndGlyphs" |
14 PASS textElement.lengthAdjust.baseVal is SVGTextContentElement.LENGTHADJUST_SPAC
INGANDGLYPHS | 14 PASS textElement.lengthAdjust.baseVal is SVGTextContentElement.LENGTHADJUST_SPAC
INGANDGLYPHS |
15 PASS textElement.textLength.baseVal.value is 200 | 15 PASS textElement.textLength.baseVal.value is 200 |
16 PASS textElement.getComputedTextLength() == lastLength is true | 16 PASS textElement.getComputedTextLength() == lastLength is true |
17 PASS successfullyParsed is true | 17 PASS successfullyParsed is true |
18 | 18 |
19 TEST COMPLETE | 19 TEST COMPLETE |
20 (GraphicsLayer | 20 (repaint rects |
21 (bounds 800.00 600.00) | 21 (rect 8 208 192 19) |
22 (children 1 | 22 (rect 8 208 200 19) |
23 (GraphicsLayer | |
24 (bounds 800.00 600.00) | |
25 (contentsOpaque 1) | |
26 (drawsContent 1) | |
27 (repaint rects | |
28 (rect 8.00 208.00 192.00 19.00) | |
29 (rect 8.00 208.00 200.00 19.00) | |
30 ) | |
31 ) | |
32 ) | |
33 ) | 23 ) |
34 | 24 |
OLD | NEW |