Luce packages
LuceLuce BaseLuciaOS

dymokomi/luce-browser-engine

Source of release 0.6.1

0.6.1 / tests / libweb / Ref / input / svg-image-positioning.html

<!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="250" />
</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>