OLD | NEW |
(Empty) | |
| 1 <!DOCTYPE html> |
| 2 <html> |
| 3 <head> |
| 4 <title>Shape Image Threshold - Invalid values</title> |
| 5 <link rel="author" title="Adobe" href="http://html.adobe.com/"> |
| 6 <link rel="author" title="Rebecca Hauck" href="mailto:rhauck@adobe.com"> |
| 7 <link rel="help" href="http://www.w3.org/TR/css-shapes-1/#shape-image-th
reshold-property"> |
| 8 <meta name="assert" content="shape-image-threshold is set to 0 when an i
nvalid value is specified."> |
| 9 <meta name="flags" content="dom"> |
| 10 <script src="../../../../../resources/testharness.js"></script> |
| 11 <script src="../../../../../resources/testharnessreport.js"></script> |
| 12 <script src="support/parsing-utils.js"></script> |
| 13 </head> |
| 14 <body> |
| 15 <div id="log"></div> |
| 16 <script type="text/javascript"> |
| 17 // TODO |
| 18 var shape_image_threshold_invalid_tests = [ |
| 19 {"name": "-0.5" }, |
| 20 {"name": "-100" }, |
| 21 {"name": "nonNumber" }, |
| 22 {"name": "3/4" }, |
| 23 {"name": "20%" } |
| 24 ]; |
| 25 generate_tests( ParsingUtils.testShapeThresholdInlineStyle, |
| 26 ParsingUtils.buildTestCases(shape_image_threshold_invali
d_tests, 'inline - invalid') ); |
| 27 </script> |
| 28 </body> |
| 29 </html> |
OLD | NEW |