gap-invalid.html (670B)
1 <!DOCTYPE html> 2 <html> 3 <head> 4 <meta charset="utf-8"> 5 <title>CSS Box Alignment Level 3: parsing gap with invalid values</title> 6 <link rel="help" href="https://drafts.csswg.org/css-align-3/#propdef-gap"> 7 <meta name="assert" content="gap supports only the grammar '<row-gap> <column-gap>?'."> 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_invalid_value("gap", "auto"); 15 test_invalid_value("gap", "-10px"); 16 17 test_invalid_value("gap", "10px 20% 30px"); 18 test_invalid_value("gap", "normal 10px normal"); 19 </script> 20 </body> 21 </html>