tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

alignment-baseline-invalid.html (1175B)


      1 <!DOCTYPE html>
      2 <html>
      3 <head>
      4 <meta charset="utf-8">
      5 <title>CSS Inline Layout: parsing alignment-baseline with invalid 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 only the 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 // alignment-baseline 'auto' was valid in SVG 1.1
     15 // https://www.w3.org/TR/SVG11/text.html#AlignmentBaselineProperty
     16 test_invalid_value("alignment-baseline", "auto");
     17 
     18 test_invalid_value("alignment-baseline", "none");
     19 test_invalid_value("alignment-baseline", "baseline text-bottom");
     20 
     21 // These values were moved to `baseline-shift`
     22 // https://github.com/w3c/csswg-drafts/issues/5180
     23 test_invalid_value("alignment-baseline", "top");
     24 test_invalid_value("alignment-baseline", "center");
     25 test_invalid_value("alignment-baseline", "bottom");
     26 </script>
     27 </body>
     28 </html>