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 (repaint rects | 20 (repaint rects |
| 21 (rect 200 209 8 18) |
21 (rect 8 209 192 18) | 22 (rect 8 209 192 18) |
22 (rect 8 209 200 18) | 23 (rect 8 209 200 18) |
23 ) | 24 ) |
24 | 25 |
OLD | NEW |