OLD | NEW |
1 This tests to make sure that baseVal and animVal are tied when animation is not
enabled: | 1 This tests to make sure that baseVal and animVal are tied when animation is not
enabled: |
2 svg.x.baseVal.value = 0 | 2 svg.x.baseVal.value = 0 |
3 svg.x.animVal.value = 0 | 3 svg.x.animVal.value = 0 |
4 setting svg.x.baseVal.value = 10 | 4 setting svg.x.baseVal.value = 10 |
5 svg.x.baseVal.value = 10 | 5 svg.x.baseVal.value = 10 |
6 svg.x.animVal.value = 10 | 6 svg.x.animVal.value = 10 |
7 SUCCESS (1 of 2) | 7 SUCCESS (1 of 2) |
8 setting svg.x.animVal.value = 5 | 8 setting svg.x.animVal.value = 5 |
9 caught exception: NoModificationAllowedError: DOM Exception 7 | 9 caught exception: An attempt was made to modify an object where modifications ar
e not allowed. |
10 svg.x.baseVal.value = 10 | 10 svg.x.baseVal.value = 10 |
11 svg.x.animVal.value = 10 | 11 svg.x.animVal.value = 10 |
12 SUCCESS (2 of 2) | 12 SUCCESS (2 of 2) |
OLD | NEW |