math-depth-invalid.html (962B)
1 <!DOCTYPE html> 2 <html> 3 <head> 4 <meta charset="utf-8"> 5 <title>MathML Core: parsing math-depth with invalid values</title> 6 <link rel="author" title="Eri Pazos" href="mailto:eri@igalia.com"> 7 <link rel="help" href="https://w3c.github.io/mathml-core/#the-math-script-level-property"> 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("math-depth", "auto"); 15 test_invalid_value("math-depth", "invalid"); 16 test_invalid_value("math-depth", "add"); 17 test_invalid_value("math-depth", "add(0.5)"); 18 test_invalid_value("math-depth", "add(1px)"); 19 test_invalid_value("math-depth", "0.5"); 20 test_invalid_value("math-depth", "1px"); 21 test_invalid_value("math-depth", "auto-add add(1)"); 22 test_invalid_value("math-depth", "auto-add 1"); 23 test_invalid_value("math-depth", "add(1) 1"); 24 </script> 25 </body> 26 </html>