tor-browser

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

flex-row-style-change-triggers-layout-inline-end-ref.html (662B)


      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="Flex items react to change in their flexbox's margin-trim value">
      7 <style>
      8 flexbox {
      9    display: flex;
     10    width: min-content;
     11    flex-wrap: wrap;
     12    border: 1px solid black;
     13 }
     14 item {
     15    display: block;
     16    background-color: green;
     17    width: 50px;
     18    height: 50px;
     19 }
     20 .margin {
     21    margin-inline-end: 10px;
     22 }
     23 </style>
     24 </head>
     25 <body>
     26    <flexbox>
     27        <item class="margin"></item>
     28    </flexbox>
     29    <flexbox>
     30        <item></item>
     31    </flexbox>
     32 </body>
     33 </html>