tor-browser

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

text-align-match-parent-05.html (739B)


      1 <!DOCTYPE html>
      2 <html>
      3 <meta charset="utf-8">
      4 <title>CSS Text 3 tests: match parent on text-align-last</title>
      5 <link rel="author" title="Florian RIvoal" href="https://florian.rivoal.net">
      6 <link rel="help" href="http://www.w3.org/TR/css-text-3/#text-align-property">
      7 <meta name="assert" content="Check that setting text-align to match parent has the correct effect on text-align-last (even if text-align-all is overridden).">
      8 <link rel="match" href="text-align-match-parent-05-ref.html">
      9 <style>
     10 section {
     11    font-family: monospace;
     12    width: 3ch;
     13 }
     14 div {
     15    text-align: match-parent;
     16    text-align-all: left;
     17 }
     18 </style>
     19 
     20 <p>Test passes if the two “2” are vertically aligned.
     21 <section dir=rtl>
     22  <div dir=ltr>1 2 2</div>
     23 </section>