tor-browser

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

position-absolute-015.html (940B)


      1 <!doctype html>
      2 <title>abspos flex children with top margins</title>
      3 <link rel="author" title="Manuel Rego" href="mailto:rego@igalia.com">
      4 <link rel="author" title="David Grogan" href="mailto:dgrogan@chromium.org">
      5 <link rel="help" href="https://drafts.csswg.org/css-flexbox/#abspos-items">
      6 <link rel="bookmark" href="https://crbug.com/886592">
      7 <meta name="assert" content="Check abspos position of flex children with margins in justify-content: flex-end container.">
      8 
      9 <script src="/resources/testharness.js"></script>
     10 <script src="/resources/testharnessreport.js"></script>
     11 <script src="/resources/check-layout-th.js"></script>
     12 
     13 <div style="display: flex; width: 200px; height: 100px; justify-content: flex-end; border: solid thick; position: relative;">
     14  <div style="background: cyan; margin: 20px; position: absolute; width: 30px; height: 40px;" data-offset-x="150" id="abspos"></div>
     15 </div>
     16 
     17 <script>
     18 checkLayout('#abspos');
     19 </script>