OLD | NEW |
(Empty) | |
| 1 <!DOCTYPE html> |
| 2 <html> |
| 3 <head> |
| 4 <meta charset="utf-8"> |
| 5 <title>CSS Transform Module Level 2: parsing translate with invalid values</titl
e> |
| 6 <link rel="author" title="Eric Willigers" href="mailto:ericwilligers@chromium.or
g"> |
| 7 <link rel="help" href="https://drafts.csswg.org/css-transforms-2/#propdef-transl
ate"> |
| 8 <meta name="assert" content="translate supports only the grammar 'none | <length
-percentage> [ <length-percentage> <length>? ]?'."> |
| 9 <script src="/resources/testharness.js"></script> |
| 10 <script src="/resources/testharnessreport.js"></script> |
| 11 <script src="resources/parsing-testcommon.js"></script> |
| 12 </head> |
| 13 <body> |
| 14 <script> |
| 15 test_invalid_value("translate", "100deg"); |
| 16 |
| 17 test_invalid_value("translate", "100px 200px 300%"); |
| 18 test_invalid_value("translate", "100px 200px calc(30px + 30%)"); |
| 19 </script> |
| 20 </body> |
| 21 </html> |
OLD | NEW |