Files
serenity/Tests/LibWeb/Ref/reference/svg-image-positioning-ref.html
Tim Ledbetter 5dc046bb7a LibWeb/SVG: Implement SVGImageElement
This element allows images to be embedded within SVGs.

(cherry picked from commit 03bbc2b111b211f472bfbc0f04c10f03e28dbbdf)
2024-10-21 12:01:12 -04:00

48 lines
1.7 KiB
HTML

<!DOCTYPE html>
<svg width="300" height="300">
<rect x="0" y="0" width="250" height="250" fill="red" />
<rect width="150" height="100" fill="green" />
</svg>
<svg width="300" height="300">
<rect x="0" y="0" width="250" height="250" fill="red" />
<rect width="150" height="100" fill="green" />
</svg>
<svg width="300" height="300">
<rect x="0" y="0" width="250" height="250" fill="red" />
</svg>
<svg width="300" height="300">
<rect x="0" y="0" width="250" height="250" fill="red" />
</svg>
<svg width="300" height="300">
<rect x="0" y="0" width="250" height="250" fill="red" />
<rect width="150" height="100" fill="green" />
</svg>
<svg width="300" height="300">
<rect x="0" y="0" width="250" height="250" fill="red" />
<rect width="150" height="100" fill="green" />
</svg>
<svg width="300" height="300">
<rect x="0" y="0" width="250" height="250" fill="red" />
<rect width="250" height="166" fill="green" />
</svg>
<svg width="300" height="300">
<rect x="0" y="0" width="250" height="250" fill="red" />
<rect width="300" height="250" fill="green" />
</svg>
<svg width="300" height="300">
<rect x="0" y="0" width="250" height="250" fill="red" />
<rect x="50" width="150" height="100" fill="green" />
</svg>
<svg width="300" height="300">
<rect x="0" y="0" width="250" height="250" fill="red" />
<rect y="50" width="150" height="100" fill="green" />
</svg>
<svg width="300" height="300">
<rect x="0" y="0" width="250" height="250" fill="red" />
<rect x="50" y="50" width="150" height="100" fill="green" />
</svg>
<svg width="300" height="300">
<rect x="0" y="0" width="250" height="250" fill="red" />
<rect x="-50" y="-50" width="150" height="100" fill="green" />
</svg>