tor-browser

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

clip-path-columns-shape-001.html (821B)


      1 <!DOCTYPE html>
      2 <title>CSS Masking: Test clip-path property in column</title>
      3 <link rel="author" title="Fredrik Söderquist" href="mailto:fs@opera.com">
      4 <link rel="help" href="https://drafts.fxtf.org/css-masking-1/#the-clip-path">
      5 <link rel="issue" href="https://bugs.chromium.org/p/chromium/issues/detail?id=626097">
      6 <link rel="match" href="reference/clip-path-columns-shape-001-ref.html">
      7 <meta name="assert" content="This test ensures that clip-path property works correctly in column layout.">
      8 <style>
      9 body { margin: 0; }
     10 .clipped {
     11  background-color: green;
     12  border: 5px solid red;
     13  -webkit-clip-path: inset(5px);
     14  clip-path: inset(5px);
     15 }
     16 </style>
     17 <div style="columns: 2; column-gap: 0; width: 200px; height: 100px">
     18  <div style="height: 100px"></div>
     19  <div style="height: 90px" class="clipped"></div>
     20 </div>