grid-column-gap-invalid.html (941B)
1 <!DOCTYPE html> 2 <html> 3 <head> 4 <meta charset="utf-8"> 5 <title>CSS Box Alignment Level 3: parsing grid-column-gap with invalid values</title> 6 <link rel="help" href="https://drafts.csswg.org/css-align/#grid-gap-legacy"> 7 <link rel="author" title="Takuya Kurimoto" href="mailto:takuya004869@gmail.com"> 8 <meta name="assert" content="grid-column-gap supports only the grammar '<length-percentage> | normal'."> 9 <meta name="assert" content="grid-column-gap rejects negative <length-percentage>."> 10 <script src="/resources/testharness.js"></script> 11 <script src="/resources/testharnessreport.js"></script> 12 <script src="/css/support/parsing-testcommon.js"></script> 13 </head> 14 <body> 15 <script> 16 test_invalid_value("grid-column-gap", "auto"); 17 18 test_invalid_value("grid-column-gap", "10"); 19 test_invalid_value("grid-column-gap", "10px 20px"); 20 test_invalid_value("grid-column-gap", "-1px"); 21 test_invalid_value("grid-column-gap", "-10%"); 22 </script> 23 </body> 24 </html>