alignment-baseline-valid.html (1062B)
1 <!DOCTYPE html> 2 <html> 3 <head> 4 <meta charset="utf-8"> 5 <title>CSS Inline Layout: parsing alignment-baseline with valid values</title> 6 <link rel="help" href="https://drafts.csswg.org/css-inline-3/#alignment-baseline-property"> 7 <meta name="assert" content="alignment-baseline supports the full grammar 'baseline | text-bottom | alphabetic | ideographic | middle | central | mathematical | text-top | bottom | center | top'."> 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_valid_value("alignment-baseline", "baseline"); 15 test_valid_value("alignment-baseline", "text-bottom"); 16 test_valid_value("alignment-baseline", "alphabetic"); 17 test_valid_value("alignment-baseline", "ideographic"); 18 test_valid_value("alignment-baseline", "middle"); 19 test_valid_value("alignment-baseline", "central"); 20 test_valid_value("alignment-baseline", "mathematical"); 21 test_valid_value("alignment-baseline", "text-top"); 22 </script> 23 </body> 24 </html>