| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <script src="../../resources/js-test.js"></script> | 2 <script src="../../resources/js-test.js"></script> |
| 3 <svg> | 3 <svg> |
| 4 <feDropShadow id=dropshadow></feDropShadow> | 4 <feDropShadow id=dropshadow></feDropShadow> |
| 5 <feGaussianBlur id=gaussian></feGaussianBlur> | 5 <feGaussianBlur id=gaussian></feGaussianBlur> |
| 6 <animate></animate> | 6 <animate></animate> |
| 7 </svg> | 7 </svg> |
| 8 <script> | 8 <script> |
| 9 description('Check that invalid values of arguments throw TypeError.'); | 9 description('Check that invalid values of arguments throw TypeError.'); |
| 10 | 10 |
| (...skipping 15 matching lines...) Expand all Loading... |
| 26 shouldThrow('animateElm.endElementAt(NaN)'); | 26 shouldThrow('animateElm.endElementAt(NaN)'); |
| 27 shouldThrow('animateElm.endElementAt(Infinity)'); | 27 shouldThrow('animateElm.endElementAt(Infinity)'); |
| 28 | 28 |
| 29 debug(''); | 29 debug(''); |
| 30 debug(''); | 30 debug(''); |
| 31 debug('SVGFEDropShadowElement'); | 31 debug('SVGFEDropShadowElement'); |
| 32 | 32 |
| 33 debug(''); | 33 debug(''); |
| 34 debug('setStdDeviation(float stdDeviationX, float stdDeviationY)'); | 34 debug('setStdDeviation(float stdDeviationX, float stdDeviationY)'); |
| 35 shouldNotThrow('dropShadow.setStdDeviation(0, 0)'); | 35 shouldNotThrow('dropShadow.setStdDeviation(0, 0)'); |
| 36 shouldThrow('dropShadow.setStdDeviation(NaN, NaN)'); | 36 shouldThrow('dropShadow.setStdDeviation(NaN, 1)'); |
| 37 shouldThrow('dropShadow.setStdDeviation(Infinity, Infinity)'); | 37 shouldThrow('dropShadow.setStdDeviation(Infinity, 1)'); |
| 38 shouldThrow('dropShadow.setStdDeviation(1, NaN)'); |
| 39 shouldThrow('dropShadow.setStdDeviation(1, Infinity)'); |
| 38 | 40 |
| 39 debug(''); | 41 debug(''); |
| 40 debug(''); | 42 debug(''); |
| 41 debug('SVGFEGaussianBlurElement'); | 43 debug('SVGFEGaussianBlurElement'); |
| 42 | 44 |
| 43 debug(''); | 45 debug(''); |
| 44 debug('setStdDeviation(float stdDeviationX, float stdDeviationY)'); | 46 debug('setStdDeviation(float stdDeviationX, float stdDeviationY)'); |
| 45 shouldNotThrow('gaussian.setStdDeviation(0, 0)'); | 47 shouldNotThrow('gaussian.setStdDeviation(0, 0)'); |
| 46 shouldThrow('gaussian.setStdDeviation(NaN, NaN)'); | 48 shouldThrow('gaussian.setStdDeviation(NaN, 1)'); |
| 47 shouldThrow('gaussian.setStdDeviation(Infinity, Infinity)'); | 49 shouldThrow('gaussian.setStdDeviation(Infinity, 1)'); |
| 50 shouldThrow('gaussian.setStdDeviation(1, NaN)'); |
| 51 shouldThrow('gaussian.setStdDeviation(1, Infinity)'); |
| 48 | 52 |
| 49 </script> | 53 </script> |
| OLD | NEW |