tor-browser

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

text-align-last-008.html (862B)


      1 <!DOCTYPE html>
      2 <meta charset="utf-8">
      3 <title>CSS Text Test: text-align-last - auto and text-align - end</title>
      4 <link rel="author" title="Intel" href="http://www.intel.com">
      5 <link rel="author" title="Shiyou Tan" href="mailto:shiyoux.tan@intel.com">
      6 <link rel="help" title="7.2. Last Line Alignment: the 'text-align-last' property" href="http://www.w3.org/TR/css-text-3/#text-align-last">
      7 <meta name="assert" content="The 'text-align-last' property set to 'auto' on a block element aligns the last line text to the right
      8 when text-align set 'end'.">
      9 <style>
     10  div {
     11    border: 1px solid blue;
     12    text-align: end;
     13    text-align-last: auto;
     14    width: 200px;
     15  }
     16 </style>
     17 <body>
     18  <p>Test passes if the last line of "FillerText" below is aligned to the right, inside the blue box.</p>
     19  <div>FillerText FillerText FillerText FillerText FillerText</div>
     20 </body>