webkit-perspective-valid.tentative.html (1165B)
1 <!DOCTYPE html> 2 <html> 3 <head> 4 <meta charset="utf-8"> 5 <title>Compatibility: parsing -webkit-perspective with valid values</title> 6 <link rel="help" href="https://compat.spec.whatwg.org/#propdef--webkit-perspective"> 7 <link rel="help" href="https://github.com/whatwg/compat/issues/100"> 8 <meta name="assert" content="-webkit-perspective also supports '<number [0,∞]>' in addition to 'none | <length [0,∞]>'"> 9 <script src="/resources/testharness.js"></script> 10 <script src="/resources/testharnessreport.js"></script> 11 <script src="/css/support/parsing-testcommon.js"></script> 12 </head> 13 <body> 14 <script> 15 test_valid_value("-webkit-perspective", "initial"); 16 test_valid_value("-webkit-perspective", "inherit"); 17 test_valid_value("-webkit-perspective", "unset"); 18 test_valid_value("-webkit-perspective", "revert"); 19 test_valid_value("-webkit-perspective", "revert-layer"); 20 21 test_valid_value("-webkit-perspective", "none"); 22 test_valid_value("-webkit-perspective", "1000", "1000px"); 23 test_valid_value("-webkit-perspective", "25", "25px"); 24 test_valid_value("-webkit-perspective", "12px", "12px"); 25 test_valid_value("-webkit-perspective", "3.5em", "3.5em"); 26 </script> 27 </body> 28 </html>