tor-browser

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

word-break-normal-th-001.html (1044B)


      1 <!DOCTYPE html>
      2 <meta charset="utf-8">
      3 <title>CSS Text level 4 Test: word-break: normal</title>
      4 <link rel="author" title="Florian Rivoal" href="http://florian.rivoal.net/">
      5 <link rel="help" href="https://drafts.csswg.org/css-text-4/#word-break-property">
      6 <link rel="help" href="https://drafts.csswg.org/css-text-4/#lexical-breaking">
      7 <link rel="mismatch" href="reference/word-break-normal-th-001-ref.html">
      8 <meta name="assert" content="word-break:normal turns on detection of word boundaries in south east asian scripts. Preferably in a smart, word-by-word basis, but if the UA doesn't support that, on a per character basis. Eitherway, lines should wrap">
      9 <style>
     10 #wrap, #ref {
     11  font-size: 2em;
     12  border: solid orange;
     13  margin: 5px;
     14  width: 30ch;
     15 }
     16 #test {
     17  width: 0;
     18  word-break: normal;
     19 }
     20 </style>
     21 
     22 <p>Test passes if the two boxes below are <em>different</em>.
     23 
     24 <div id=wrap lang=th>
     25  <div id=test>กรุงเทพคือสวยงาม</div>
     26 </div>
     27 <div id=ref lang=th>กรุงเทพคือสวยงาม</div>