letter-spacing-invalid.html (728B)
1 <!DOCTYPE html> 2 <html> 3 <head> 4 <meta charset="utf-8"> 5 <title>CSS Text Module Test: parsing letter-spacing with invalid values</title> 6 <link rel="help" href="https://www.w3.org/TR/css-text-3/#propdef-letter-spacing"> 7 <meta name="assert" content="letter-spacing supports only the grammar 'normal | <length-percentage>'."> 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("letter-spacing", "auto"); 15 test_invalid_value("letter-spacing", "20"); 16 17 test_invalid_value("letter-spacing", "normal 10px"); 18 test_invalid_value("letter-spacing", "10% 10px"); 19 </script> 20 </body> 21 </html>