alignment-baseline-computed.html (1076B)
1 <!DOCTYPE html> 2 <html> 3 <head> 4 <meta charset="utf-8"> 5 <title>CSS Inline Layout: getComputedStyle().alignmentBaseline</title> 6 <link rel="help" href="https://drafts.csswg.org/css-inline-3/#alignment-baseline-property"> 7 <link rel="help" href="https://www.w3.org/TR/SVG11/text.html#AlignmentBaselineProperty"> 8 <meta name="assert" content="alignment-baseline computed value is as specified."> 9 <script src="/resources/testharness.js"></script> 10 <script src="/resources/testharnessreport.js"></script> 11 <script src="/css/support/computed-testcommon.js"></script> 12 </head> 13 <body> 14 <div id="target"></div> 15 <script> 16 test_computed_value("alignment-baseline", "baseline"); 17 test_computed_value("alignment-baseline", "text-bottom"); 18 test_computed_value("alignment-baseline", "alphabetic"); 19 test_computed_value("alignment-baseline", "ideographic"); 20 test_computed_value("alignment-baseline", "middle"); 21 test_computed_value("alignment-baseline", "central"); 22 test_computed_value("alignment-baseline", "mathematical"); 23 test_computed_value("alignment-baseline", "text-top"); 24 </script> 25 </body> 26 </html>