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 (repaint rects |
| 20 (rect 8 208 192 19) |
| 21 (rect 8 208 200 19) |
| 22 ) |
19 | 23 |
OLD | NEW |