Skip to content

Truly independent web browser

586 B
Raw Blame
<!DOCTYPE html>
<link rel="match" href="../expected/svg-image-inside-svg-pattern-ref.html">
<style>
    body {
        margin: 0;
    }
</style>
<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg">
    <defs>
        <pattern id="tile" width="10" height="10" patternUnits="userSpaceOnUse">
            <image href="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1 1'%3E%3Crect width='1' height='1' fill='green'/%3E%3C/svg%3E" width="10" height="10" />
        </pattern>
    </defs>
    <rect width="100" height="100" fill="url(#tile)" />
</svg>