tor-browser

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

justify-self-auto-margins-1.html (697B)


      1 <!DOCTYPE html>
      2 <link rel="help" href="https://drafts.csswg.org/css-align-3/#justify-abspos">
      3 <link rel="match" href="../../reference/ref-filled-green-100px-square.xht">
      4 <meta name="assert" content="auto margins make justify-self have no effect" />
      5 <style>
      6  #reference-overlapped-red {
      7    position: absolute;
      8    background-color: red;
      9    width: 100px;
     10    height: 100px;
     11    z-index: -1;
     12  }
     13 </style>
     14 
     15 <p>Test passes if there is a filled green square and <strong>no red</strong>.
     16 </p>
     17 
     18 <div id=reference-overlapped-red></div>
     19 
     20 <div style="width: 200px; margin-left: -50px;">
     21  <div
     22    style="width: 100px; height:100px; margin: auto; justify-self: right; background: green;">
     23  </div>
     24 </div>