tor-browser

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

block-container-block-start-collapsed-margins-ref.html (688B)


      1 <!DOCTYPE html>
      2 <html>
      3 <head>
      4 <title>margin-trim: block-container-block-start-collapsed-margins</title>
      5 <link rel="author" title="Sammy Gill" href="mailto:sammy.gill@apple.com">
      6 <link rel="help" href="https://drafts.csswg.org/css-box-4/#margin-trim-block">
      7 <meta name="assert" content="collapsed block-start margins should be trimmed but not affect container margins">
      8 <style>
      9 container {
     10    display: block;
     11    margin-trim: block;
     12    margin-block-start: 10px;
     13 }
     14 item {
     15    display: block;
     16    width: 50px;
     17    height: 50px;
     18    background-color: green;
     19 }
     20 </style>
     21 </head>
     22 <body>
     23 <item style="margin-block-start: 0px;"></item>
     24 <container>
     25    <item></item>
     26 </container>
     27 </body>
     28 </html>