tor-browser

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

table-cell-002.html (1087B)


      1 <!doctype html>
      2 <html lang="en">
      3 <meta charset="utf-8">
      4 <title>CSS Writing Mode test: orthogonal table cell</title>
      5 <link rel="help" href="https://drafts.csswg.org/css-writing-modes-3/#block-flow">
      6 <meta assert="The writing mode property applies to table cells: max-heights constrains on a vertical table cell (in a horizontal table)
      7              ought to have the same effect on the cell as max-width would on horizontal ones.
      8              Lines of longer than the max which have break opportunities are expected to wrap.">
      9 <meta flags="ahem">
     10 <link rel="match" href="reference/table-cell-002-ref.html">
     11 <link rel="author" title="Florian Rivoal" href="http://florian.rivoal.net/">
     12 
     13 <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
     14 <style>
     15 table, td {
     16  padding: 0;
     17  border-spacing: 0;
     18 }
     19 td {
     20  max-height: 100px;
     21  font: 50px / 50px ahem;
     22  color: green;
     23  writing-mode: vertical-rl;
     24  background: red;
     25 }
     26 </style>
     27 
     28 <p>There should be a <strong>green square</strong> and <strong>no red</strong>.
     29 
     30 <table><tbody><tr><td>xx xx</td></tr></tbody></table>
     31 
     32 </body>
     33 </html>