summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/compositing/mix-blend-mode/reference/mix-blend-mode-mask-ref.html
blob: 530a5d5ec701f891e560048b3fc4711367c83bfd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<!DOCTYPE html>
<html>
    <head>
        <title>CSS Test: Blended element with masking.</title>
        <link rel="author" title="Mihai Tica" href="mailto:mitica@adobe.com">
    </head>
    <style type="text/css">
        div {
            width: 100px;
            height: 100px;
        }
    </style>
    <body>
        <p>Test passes if you can see a green circle. <br>
        The test fails if the circle is drawn with red. </p>

        <div style="background: #FF0;"><div style="background: #0F0; mask-image: url('../support/red_circle.svg');"></div></div>
    </body>
</html>