tor-browser

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

flexbox-row-multi-line-block-end.html (1046B)


      1 <!DOCTYPE html>
      2 <html>
      3 <head>
      4 <link rel="author" href="mailto:sammy.gill@apple.com">
      5 <link rel="help" href="https://drafts.csswg.org/css-box-4/#margin-trim-flex">
      6 <meta name="assert" content="block-end trimmed margins should be reflected in computed style">
      7 <style>
      8 flexbox {
      9    display: flex;
     10    flex-wrap: wrap;
     11    width: 100px;
     12    margin-trim: block-end;
     13 }
     14 item {
     15    display: block;
     16    background-color: green;
     17    width: 50px;
     18    height: 50px;
     19    margin-block-end: 10px;
     20 }
     21 </style>
     22 <script src="/resources/testharness.js"></script>
     23 <script src="/resources/testharnessreport.js"></script>
     24 <script src="/resources/check-layout-th.js"></script>
     25 </head>
     26 <body onload="checkLayout('flexbox > item')">
     27 <div id="target">
     28 <flexbox>
     29    <item data-offset-y="8" data-expected-margin-bottom="10"></item>
     30    <item data-offset-y="8" data-expected-margin-bottom="10"></item>
     31    <item data-offset-y="68" data-expected-margin-bottom="0"></item>
     32    <item data-offset-y="68" data-expected-margin-bottom="0"></item>
     33 </flexbox>
     34 </div>
     35 </body>
     36 </html>