tor-browser

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

contain-inline-size-table.html (799B)


      1 <!DOCTYPE html>
      2 <title>contain:inline-size on table</title>
      3 <link rel="author" title="Morten Stenshorne" href="mailto:mstensho@chromium.org">
      4 <link rel="help" href="https://drafts.csswg.org/css-contain/#contain-property">
      5 <link rel="help" href="https://drafts.csswg.org/css-contain-3/#containment-inline-size">
      6 <link rel="match" href="../reference/ref-filled-green-100px-square.xht">
      7 <p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
      8 <!-- Note that size containment doesn't apply to tables:
      9     https://www.w3.org/TR/css-contain-1/#containment-size -->
     10 <div style="width:100px; height:100px; background:red;">
     11  <div style="display:table; contain:inline-size; width:fit-content; background:green;">
     12    <div style="width:100px; height:100px;"></div>
     13  </div>
     14 </div>