tor-browser

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

block-aspect-ratio-with-margin-collapsing-002.html (803B)


      1 <!DOCTYPE html>
      2 <title>CSS aspect-ratio: margin-collapsing with aspect-ratio on parent element</title>
      3 <link rel="author" title="Mozilla" href="https://www.mozilla.org/">
      4 <link rel="help" href="https://drafts.csswg.org/css-sizing-4/#aspect-ratio">
      5 <link rel="help" href="https://drafts.csswg.org/css2/#collapsing-margins">
      6 <link rel="match" href="../../reference/ref-filled-green-100px-square.xht" />
      7 
      8 <p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
      9 
     10 <div style="background: green; width: 100px; height: 25px; margin-bottom: -200px;"></div>
     11 <div style="background: green; width: 100px; margin: 0px; aspect-ratio: 2/1">
     12  <div style="width: 100px; margin-top: 50px; margin-bottom: 200px;"></div>
     13 </div>
     14 <div style="background: green; width: 100px; height: 25px;"></div>