summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/css3/compositing/svg-isolation-default.html
blob: aa8878bc024b327d5dc5a521d900a66c1c58a096 (plain)
1
2
3
4
5
6
7
8
9
10
11
<!DOCTYPE HTML>
<!-- Test the default behaviour of isolation with two simple elements. The test passes if the small square is drawn with black (blending is performed since the element is not isolated). -->
<html>
    <body>
        <svg xmlns="http://www.w3.org/2000/svg" version="1.1" width="400px" height="400px" style="background: green">
            <g style="isolation: auto">
                <rect x="100" y="100" width="200" height="200" style="fill: blue; mix-blend-mode: multiply"/>
            </g>
        </svg>
    </body>
</html>