z-index-valid.html (665B)
1 <!DOCTYPE html> 2 <html> 3 <head> 4 <meta charset="utf-8"> 5 <title>CSS Positioned Layout Module Level 3: parsing z-index with valid values</title> 6 <link rel="help" href="https://drafts.csswg.org/css-position/#propdef-z-index"> 7 <meta name="assert" content="z-index supports the full grammar 'auto | <integer>'."> 8 <script src="/resources/testharness.js"></script> 9 <script src="/resources/testharnessreport.js"></script> 10 <script src="/css/support/parsing-testcommon.js"></script> 11 </head> 12 <body> 13 <script> 14 test_valid_value("z-index", "auto"); 15 16 test_valid_value("z-index", "-789"); 17 test_valid_value("z-index", "0"); 18 test_valid_value("z-index", "123"); 19 </script> 20 </body> 21 </html>