tor-browser

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

vertical-aligned-table-cell.html (979B)


      1 <!DOCTYPE html>
      2 <title>Anchor inside table cell with non-top alignment</title>
      3 <link rel="author" title="Morten Stenshorne" href="mailto:mstensho@chromium.org">
      4 <link rel="help" href="https://www.w3.org/TR/css-anchor-position-1/#positioning">
      5 <link rel="help" href="https://www.w3.org/TR/css-inline-3/#transverse-alignment">
      6 <link rel="help" href="https://issues.chromium.org/issues/406288652">
      7 <link rel="match" href="../reference/ref-filled-green-100px-square.xht">
      8 <p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
      9 <div style="width:100px; height:100px; position:relative; background:red;">
     10  <div style="display:table-cell;">
     11    <div id="anchor" style="anchor-name:--a; width:50px; height:100px;"></div>
     12  </div>
     13  <div style="display:table-cell;">
     14    <div style="width:10px; height:200px;"></div>
     15  </div>
     16  <div style="position:absolute; position-anchor:--a; bottom:anchor(top); width:100px; height:100px; background:green;"></div>
     17 </div>