text-underline-position-computed.html (977B)
1 <!DOCTYPE html> 2 <html> 3 <head> 4 <meta charset="utf-8"> 5 <title>CSS Text Decoration Test: getComputedStyle().textUnderlinePosition</title> 6 <link rel="help" href="https://drafts.csswg.org/css-text-decor-3/#text-decoration-style-property"> 7 <meta name="assert" content="text-underline-position computed value is as specified."> 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 <div id="target"></div> 14 <script> 15 test_computed_value("text-underline-position", "auto"); 16 17 test_computed_value("text-underline-position", "under"); 18 test_computed_value("text-underline-position", "from-font"); 19 test_computed_value("text-underline-position", "left"); 20 test_computed_value("text-underline-position", "right"); 21 test_computed_value("text-underline-position", "under left"); 22 test_computed_value("text-underline-position", "from-font left"); 23 </script> 24 </body> 25 </html>