Skip to content

Truly independent web browser

539 B
Raw Blame
<!DOCTYPE html>
<link rel="match" href="../../expected/svg/image-mask-ref.html" />
<svg width="100" height="100">
    <mask id="top-half">
        <rect width="100" height="50" fill="white"></rect>
    </mask>
    <rect width="100" height="100" fill="red"></rect>
    <image href="../../data/50x50-green.svg" width="100" height="100" mask="url(#top-half)"></image>
    <rect y="50" width="100" height="50" fill="green"></rect>
    <image href="../../data/50x50-red.svg" y="50" width="100" height="50" mask="url(#top-half)"></image>
</svg>