Skip to content

Truly independent web browser

1.9 KB
Raw Blame
<!DOCTYPE html>
<link rel="match" href="../expected/svg-image-positioning-ref.html" />
<svg width="300" height="300">
    <rect x="0" y="0" width="250" height="250" fill="red" />
    <image href="../data/rectangle.png" />
</svg>
<svg width="300" height="300">
    <rect x="0" y="0" width="250" height="250" fill="red" />
    <image href="../data/rectangle.png" width="150" height="100" />
</svg>
<svg width="300" height="300">
    <rect x="0" y="0" width="250" height="250" fill="red" />
    <image href="../data/rectangle.png" width="0" height="100" />
</svg>
<svg width="300" height="300">
    <rect x="0" y="0" width="250" height="250" fill="red" />
    <image href="../data/rectangle.png" width="150" height="0" />
</svg>
<svg width="300" height="300">
    <rect x="0" y="0" width="250" height="250" fill="red" />
    <image href="../data/rectangle.png" height="100"  />
</svg>
<svg width="300" height="300">
    <rect x="0" y="0" width="250" height="250" fill="red" />
    <image href="../data/rectangle.png" width="150" />
</svg>
<svg width="300" height="300">
    <rect x="0" y="0" width="250" height="250" fill="red" />
    <image href="../data/rectangle.png" width="300" />
</svg>
<svg width="300" height="300">
    <rect x="0" y="0" width="250" height="250" fill="red" />
    <image href="../data/rectangle.png" height="250" />
</svg>
<svg width="300" height="300">
    <rect x="0" y="0" width="250" height="250" fill="red" />
    <image href="../data/rectangle.png" x="50" />
</svg>
<svg width="300" height="300">
    <rect x="0" y="0" width="250" height="250" fill="red" />
    <image href="../data/rectangle.png" y="50" />
</svg>
<svg width="300" height="300">
    <rect x="0" y="0" width="250" height="250" fill="red" />
    <image href="../data/rectangle.png" x="50" y="50" />
</svg>
<svg width="300" height="300">
    <rect x="0" y="0" width="250" height="250" fill="red" />
    <image href="../data/rectangle.png" x="-50" y="-50" />
</svg>