ladybird/Tests/LibWeb/Ref/input/svg-image-positioning.html
Sam Atkins b7efb61fbe Tests/LibWeb: Restructure Ref and Screenshot test dirs to match others
Now each test type has the same directories:
- input
- expected
- data

Also, tests can be in subdirectories within ./input.
2024-11-05 14:02:07 +00:00

50 lines
1.9 KiB
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>