tor-browser

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

table-cell-writing-mode-computed.html (625B)


      1 <!DOCTYPE html>
      2 <title>Computed value of orthogonal writing-mode on table cell</title>
      3 <script src='/resources/testharness.js'></script>
      4 <script src='/resources/testharnessreport.js'></script>
      5 <link rel="help" href="https://www.w3.org/TR/css-tables-3">
      6 <link rel="help" href="https://crbug.com/1307976">
      7 <style>
      8  td {
      9    writing-mode: vertical-lr;
     10  }
     11 </style>
     12 
     13 <table>
     14  <tr>
     15    <td>Test</td>
     16  </tr>
     17 </table>
     18 
     19 <script>
     20  test(() => {
     21    let td = document.querySelector('td');
     22    assert_equals(getComputedStyle(td).writingMode, 'vertical-lr');
     23  }, 'Computed value of orthogonal writing-mode on table cell');
     24 </script>