tor-browser

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

table-caption-passes-abspos-up-001.html (833B)


      1 <!DOCTYPE html>
      2 <meta charset="utf-8">
      3 <link rel="author" title="David Grogan" href="dgrogan@chromium.org">
      4 <link rel="help" href="https://www.w3.org/TR/CSS22/tables.html#model">
      5 <link rel="match" href="../../reference/ref-filled-green-100px-square.xht">
      6 <meta name="assert" content="non-containing block caption passes abspos child to its parent" />
      7 <title>
      8 Captions and abspos descendants
      9 </title>
     10 
     11 <style>
     12 caption, div {
     13  height:100px;
     14  width:50px;
     15  background:green;
     16 }
     17 #redSquare {
     18  height: 100px;
     19  width: 100px;
     20  background-color: red;
     21  position: absolute;
     22  z-index: -1;
     23 }
     24 </style>
     25 
     26 <p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
     27 <div id="redSquare"></div>
     28 
     29 <table style="position:relative">
     30  <caption>
     31    <div style="position:absolute; left:50px;">
     32    </div>
     33  </caption>
     34 </table>