font-synthesis-style-invalid.html (888B)
1 <!DOCTYPE html> 2 <html> 3 <head> 4 <meta charset="utf-8"> 5 <title>CSS Fonts Module Level 4: parsing font-synthesis-style with invalid values</title> 6 <link rel="help" href="https://drafts.csswg.org/css-fonts-4/#font-synthesis-style"> 7 <link rel="help" href="https://github.com/w3c/csswg-drafts/issues/9390#issuecomment-2625297188"> 8 <meta name="assert" content="font-synthesis-style supports only the grammar 'auto | none | oblique-only'."> 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('font-synthesis-style', 'normal'); 16 test_invalid_value('font-synthesis-style', 'auto none'); 17 test_invalid_value('font-synthesis-style', 'none oblique-only'); 18 test_invalid_value('font-synthesis-style', 'oblique-only auto'); 19 </script> 20 </body> 21 </html>