box-sizing-invalid.html (880B)
1 <!DOCTYPE html> 2 <html> 3 <head> 4 <meta charset="utf-8"> 5 <title>CSS UI Level 3: parsing box-sizing with invalid values</title> 6 <link rel="author" title="Eric Willigers" href="mailto:ericwilligers@chromium.org"> 7 <link rel="help" href="https://drafts.csswg.org/css-ui-3/#box-sizing"> 8 <meta name="assert" content="box-sizing supports only the grammar 'content-box | border-box'."> 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_invalid_value("box-sizing", "auto"); 16 test_invalid_value("box-sizing", "content-box border-box"); 17 test_invalid_value("box-sizing", "fill-box"); 18 test_invalid_value("box-sizing", "margin-box"); 19 test_invalid_value("box-sizing", "padding-box"); 20 test_invalid_value("box-sizing", "view-box"); 21 </script> 22 </body> 23 </html>