tor-browser

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

table-intrinsic-size-003.html (930B)


      1 <!DOCTYPE html>
      2 <meta charset="utf-8">
      3 <link rel="author" title="Ting-Yu Lin" href="mailto:tlin@mozilla.com">
      4 <link rel="author" title="Mozilla" href="https://www.mozilla.org/">
      5 <link rel="help" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1917056">
      6 <link rel="match" href="../reference/ref-filled-green-100px-square-only.html">
      7 <meta name="assert" content="This test verifies that a table's content-box inline size is never smaller than its minimum intrinsic inline size.">
      8 
      9 <style>
     10 .outer {
     11  width: min-content;
     12  background: green;
     13 }
     14 .table {
     15  writing-mode: vertical-rl;
     16  display: table;
     17  inline-size: 30px; /* Smaller than .content's inline size */
     18  block-size: 100px;
     19  border-inline: 10px solid green;
     20 }
     21 .content {
     22  inline-size: 80px;
     23  block-size: 100px;
     24 }
     25 </style>
     26 
     27 <p>Test passes if there is a filled green square.</p>
     28 <div class="outer">
     29  <div class="table">
     30    <div class="content"></div>
     31  </div>
     32 </div>