tor-browser

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

mix-blend-mode-border-image.html (1433B)


      1 <!DOCTYPE html>
      2 <html>
      3    <head>
      4        <title>CSS Test: Blended element with border image</title>
      5        <link rel="author" title="Mihai Tica" href="mailto:mitica@adobe.com">
      6        <link rel="help" href="https://drafts.fxtf.org/compositing-1/#mix-blend-mode">
      7        <meta name="assert" content="Test checks if mix-blend-mode is applied for an element with border-image.">
      8        <meta name="flags" content="svg">
      9        <link rel="reviewer" title="Rik Cabanier" href="mailto:cabanier@adobe.com">
     10        <link rel="reviewer" title="Mirela Budaes" href="mailto:mbudaes@adobe.com">
     11        <link rel="match" href="reference/mix-blend-mode-border-image-ref.html">
     12        <style type="text/css">
     13            .parent {
     14                width: 120px;
     15                height: 120px;
     16                background: #FF0;
     17                position: fixed;
     18                z-index: 1;
     19            }
     20 
     21            .child {
     22                width: 100px;
     23                height: 100px;
     24                background: #F00;
     25                mix-blend-mode: difference;
     26                border-width: 10px;
     27                border-image: url('support/red_square.svg') 10 repeat;
     28            }
     29        </style>
     30    </head>
     31    <body>
     32        <p>Test passes if you can see a green rectangle. <br>
     33        If blending is not performed, the div is displayed with red. </p>
     34        <div class="parent"><div class="child"></div></div>
     35    </body>
     36 </html>