tor-browser

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

flexbox-gap-position-absolute.html (941B)


      1 <!DOCTYPE html>
      2 <html>
      3  <meta charset="utf-8">
      4  <title>CSS Flexible Box Layout Test: Test flexbox intrinsic inline-size, gap, and absolute-positioned children</title>
      5  <link rel="author" title="Ting-Yu Lin" href="mailto:tlin@mozilla.com">
      6  <link rel="author" title="Mozilla" href="http://www.mozilla.org/">
      7  <link rel="help" href="https://drafts.csswg.org/css-flexbox-1/#intrinsic-sizes">
      8  <link rel="help" href="https://drafts.csswg.org/css-align-3/#gaps">
      9  <link rel="match" href="flexbox-gap-position-absolute-ref.html">
     10  <meta name="assert" content="This test verifies the absolute-positioned children do not contribute the gap size to the flexbox's intrinsic inline-size.">
     11 
     12  <style>
     13  div {
     14    display: inline-flex;
     15    gap: 100px;
     16    background: fuchsia;
     17  }
     18  </style>
     19 
     20  <div>
     21    <span style="position: absolute;"></span>
     22    <span style="position: fixed;"></span>
     23    <span>B</span>
     24    <span>C</span>
     25  </div>
     26 </html>