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' attribute of the SVGTextElement obje
ct | 4 Tests dynamic updates of the 'lengthAdjust' attribute of the SVGTextElement obje
ct |
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.lengthAdjust.baseVal is SVGTextContentElement.LENGTHADJUST_SPAC
INGANDGLYPHS | 13 PASS textElement.lengthAdjust.baseVal is SVGTextContentElement.LENGTHADJUST_SPAC
INGANDGLYPHS |
14 PASS textElement.textLength.baseVal.value is 200 | 14 PASS textElement.textLength.baseVal.value is 200 |
15 PASS textElement.getComputedTextLength() == lastLength is true | 15 PASS textElement.getComputedTextLength() == lastLength is true |
16 PASS successfullyParsed is true | 16 PASS successfullyParsed is true |
17 | 17 |
18 TEST COMPLETE | 18 TEST COMPLETE |
19 (GraphicsLayer | 19 (repaint rects |
20 (bounds 800.00 600.00) | 20 (rect 8 208 192 19) |
21 (children 1 | 21 (rect 8 208 200 19) |
22 (GraphicsLayer | |
23 (bounds 800.00 600.00) | |
24 (contentsOpaque 1) | |
25 (drawsContent 1) | |
26 (repaint rects | |
27 (rect 8.00 208.00 192.00 19.00) | |
28 (rect 8.00 208.00 200.00 19.00) | |
29 ) | |
30 ) | |
31 ) | |
32 ) | 22 ) |
33 | 23 |
OLD | NEW |