tor-browser

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

position-absolute-in-inline-crash.html (771B)


      1 <!doctype html>
      2 <html>
      3 <head>
      4  <title>Should not crash with split inline abspos container, and flex ancestor</title>
      5  <link rel="help" href="https://www.w3.org/TR/css-position-3/#def-cb">
      6  <script src="/resources/testharness.js"></script>
      7  <script src="/resources/testharnessreport.js"></script>
      8  <script>test(()=>{})</script>
      9  <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
     10 </head>
     11 <!-- There should be a green square below -->
     12 <body style="font-family: Ahem;font-size: 20px;">
     13 <div id="container">
     14  <span id="split" style="position:relative;color:green">
     15    AAA
     16    <div style="display:flex">
     17      <a>
     18        <span id="target" style="position:absolute;color:green;top:20px">XXX</span></a>
     19    </div>
     20    ZZZ
     21  </span>
     22 </div>
     23 </body>
     24 </html>