math-depth-computed.html (763B)
1 <!DOCTYPE html> 2 <html> 3 <head> 4 <meta charset="utf-8"> 5 <title>MathML Core: parsing math-depth with computed 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/computed-testcommon.js"></script> 11 </head> 12 <body> 13 <math id="target"></math> 14 <script> 15 test_computed_value("math-depth", "auto-add", "0"); 16 test_computed_value("math-depth", "add(0)", "0"); 17 test_computed_value("math-depth", "add(1)", "1"); 18 test_computed_value("math-depth", "0"); 19 test_computed_value("math-depth", "1"); 20 </script> 21 </body> 22 </html>