OLD | NEW |
1 CONSOLE ERROR: Error: Invalid value for <rect> attribute x=" " | 1 CONSOLE ERROR: Error: Invalid value for <rect> attribute x=" " |
2 CONSOLE ERROR: Error: Invalid value for <rect> attribute x="foo" | 2 CONSOLE ERROR: Error: Invalid value for <rect> attribute x="foo" |
3 CONSOLE ERROR: Error: Invalid value for <rect> attribute x="10foo" | 3 CONSOLE ERROR: Error: Invalid value for <rect> attribute x="10foo" |
4 CONSOLE ERROR: Error: Invalid value for <rect> attribute x="px" | 4 CONSOLE ERROR: Error: Invalid value for <rect> attribute x="px" |
5 CONSOLE ERROR: Error: Invalid value for <rect> attribute x="10px " | |
6 CONSOLE ERROR: Error: Invalid value for <rect> attribute x="10% " | |
7 CONSOLE ERROR: Error: Invalid value for <rect> attribute x="10 % " | 5 CONSOLE ERROR: Error: Invalid value for <rect> attribute x="10 % " |
8 CONSOLE ERROR: Error: Invalid value for <rect> attribute x="10 %" | 6 CONSOLE ERROR: Error: Invalid value for <rect> attribute x="10 %" |
9 CONSOLE ERROR: Error: Invalid value for <rect> attribute x="10 px " | 7 CONSOLE ERROR: Error: Invalid value for <rect> attribute x="10 px " |
10 CONSOLE ERROR: Error: Invalid value for <rect> attribute x="10 px" | 8 CONSOLE ERROR: Error: Invalid value for <rect> attribute x="10 px" |
11 Tests handling of invalid SVG length units. | 9 Tests handling of invalid SVG length units. |
12 | 10 |
13 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | 11 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
14 | 12 |
15 | 13 |
16 PASS rect.setAttribute('x', ''); rect.x.baseVal.valueAsString is '0' | 14 PASS rect.setAttribute('x', ''); rect.x.baseVal.valueAsString is '0' |
17 PASS rect.setAttribute('x', ' '); rect.x.baseVal.valueAsString is '0' | 15 PASS rect.setAttribute('x', ' '); rect.x.baseVal.valueAsString is '0' |
18 PASS rect.setAttribute('x', 'foo'); rect.x.baseVal.valueAsString is '0' | 16 PASS rect.setAttribute('x', 'foo'); rect.x.baseVal.valueAsString is '0' |
19 PASS rect.setAttribute('x', '10foo'); rect.x.baseVal.valueAsString is '0' | 17 PASS rect.setAttribute('x', '10foo'); rect.x.baseVal.valueAsString is '0' |
20 PASS rect.setAttribute('x', 'px'); rect.x.baseVal.valueAsString is '0' | 18 PASS rect.setAttribute('x', 'px'); rect.x.baseVal.valueAsString is '0' |
21 PASS rect.setAttribute('x', '10px '); rect.x.baseVal.valueAsString is '0' | 19 PASS rect.setAttribute('x', '10px '); rect.x.baseVal.valueAsString is '10px' |
22 PASS rect.setAttribute('x', '10% '); rect.x.baseVal.valueAsString is '0' | 20 PASS rect.setAttribute('x', '10% '); rect.x.baseVal.valueAsString is '10%' |
23 PASS rect.setAttribute('x', '10 % '); rect.x.baseVal.valueAsString is '0' | 21 PASS rect.setAttribute('x', '10 % '); rect.x.baseVal.valueAsString is '0' |
24 PASS rect.setAttribute('x', '10 %'); rect.x.baseVal.valueAsString is '0' | 22 PASS rect.setAttribute('x', '10 %'); rect.x.baseVal.valueAsString is '0' |
25 PASS rect.setAttribute('x', '10 px '); rect.x.baseVal.valueAsString is '0' | 23 PASS rect.setAttribute('x', '10 px '); rect.x.baseVal.valueAsString is '0' |
26 PASS rect.setAttribute('x', '10 px'); rect.x.baseVal.valueAsString is '0' | 24 PASS rect.setAttribute('x', '10 px'); rect.x.baseVal.valueAsString is '0' |
27 PASS rect.setAttribute('x', '10'); rect.x.baseVal.valueAsString is '10' | 25 PASS rect.setAttribute('x', '10'); rect.x.baseVal.valueAsString is '10' |
28 PASS rect.setAttribute('x', '10%'); rect.x.baseVal.valueAsString is '10%' | 26 PASS rect.setAttribute('x', '10%'); rect.x.baseVal.valueAsString is '10%' |
29 PASS rect.setAttribute('x', '10em'); rect.x.baseVal.valueAsString is '10em' | 27 PASS rect.setAttribute('x', '10em'); rect.x.baseVal.valueAsString is '10em' |
30 PASS rect.setAttribute('x', '10ex'); rect.x.baseVal.valueAsString is '10ex' | 28 PASS rect.setAttribute('x', '10ex'); rect.x.baseVal.valueAsString is '10ex' |
31 PASS rect.setAttribute('x', '10px'); rect.x.baseVal.valueAsString is '10px' | 29 PASS rect.setAttribute('x', '10px'); rect.x.baseVal.valueAsString is '10px' |
32 PASS rect.setAttribute('x', '10cm'); rect.x.baseVal.valueAsString is '10cm' | 30 PASS rect.setAttribute('x', '10cm'); rect.x.baseVal.valueAsString is '10cm' |
33 PASS rect.setAttribute('x', '10mm'); rect.x.baseVal.valueAsString is '10mm' | 31 PASS rect.setAttribute('x', '10mm'); rect.x.baseVal.valueAsString is '10mm' |
34 PASS rect.setAttribute('x', '10pt'); rect.x.baseVal.valueAsString is '10pt' | 32 PASS rect.setAttribute('x', '10pt'); rect.x.baseVal.valueAsString is '10pt' |
35 PASS rect.setAttribute('x', '10pc'); rect.x.baseVal.valueAsString is '10pc' | 33 PASS rect.setAttribute('x', '10pc'); rect.x.baseVal.valueAsString is '10pc' |
36 PASS successfullyParsed is true | 34 PASS successfullyParsed is true |
37 | 35 |
38 TEST COMPLETE | 36 TEST COMPLETE |
39 | 37 |
OLD | NEW |