font-weight-invalid.html (675B)
1 <!DOCTYPE html> 2 <html> 3 <head> 4 <meta charset="utf-8"> 5 <title>CSS Fonts Module Level 3: parsing font-weight with invalid values</title> 6 <link rel="help" href="https://www.w3.org/TR/css-fonts-3/#font-weight-prop"> 7 <meta name="assert" content="font-weight supports only the grammar 'normal | bold | bolder | lighter | 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900'."> 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('font-weight', 'auto'); 15 test_invalid_value('font-weight', 'bold 900'); 16 </script> 17 </body> 18 </html>