Files
ladybird/Tests/LibWeb/Layout/input/svg/standalone-vb.svg
Manuel Zahariev 5d85f3a5c8 LibWeb: Test layout of standalone SVG document: edge cases
Tests with different combinations of missing width, height
and viewBox.

All tests confirmed to work on Ladybird:
 - exactly the same as Chromium (131.0.6778.85)
 - almost the same as Firefox (129.0.2)
    - only difference: standalone-w.svg: same size, different alignment
2024-12-13 15:02:49 +00:00

8 lines
264 B
XML

<svg width="128" height="256" xmlns="http://www.w3.org/2000/svg">
<title>white diamond on blue; no viewBox</title>
<rect x="0" y="0" width="32" height="64" fill="blue"/>
<g fill="white">
<path d="M16 0 L32 32 L16 64 L0 32 Z" />
</g>
</svg>