tor-browser

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

trailing-space-and-text-alignment-rtl-002.html (1459B)


      1 <!DOCTYPE html>
      2 <meta charset="utf-8">
      3 <title>CSS Text level 3 Test: preserved trailing RTL white space that hang in a textarea</title>
      4 <link rel="author" title="Javier Fernandez" href="mailto:jfernandez@igalia.com" />
      5 <link rel="help" href="https://drafts.csswg.org/css-text-3/#white-space-phase-2">
      6 <link rel="help" title="3. White Space and Wrapping: the white-space property" href="https://drafts.csswg.org/css-text-3/#white-space-property">
      7 <link rel="help" title="4.1.2. Phase II: Trimming and Positioning" href="https://drafts.csswg.org/css-text-3/#white-space-phase-2">
      8 <link rel="help" title="6.1. Text Alignment: the text-align shorthand" href="https://drafts.csswg.org/css-text-3/#text-align-property">
      9 <link rel="help" href="https://drafts.csswg.org/css-text-3/#valdef-white-space-pre">
     10 <link rel="match" href="reference/trailing-space-and-text-alignment-rtl-002-ref.html">
     11 <meta name="assert" content="preserved trailing spaces under 'white-space: pre' shouldn't hang and may cause overflow and activate the scrollbars.">
     12 <link rel="stylesheet" href="/fonts/ahem.css">
     13 <link rel="stylesheet" href="support/trailing-space-and-text-alignment.css">
     14 <style>
     15 textarea {
     16    white-space: pre;
     17    direction: rtl;
     18 }
     19 </style>
     20 <textarea class="left">XXX &#10;X</textarea>
     21 <textarea class="center">XXX &#10;X</textarea>
     22 <textarea class="right">XXX &#10;X</textarea>
     23 <textarea class="start">XXX &#10;X</textarea>
     24 <textarea class="end">XXX &#10;X</textarea>