mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-27 18:17:22 +02:00
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
8 lines
270 B
XML
8 lines
270 B
XML
<svg viewBox="0 0 32 64" width="128" xmlns="http://www.w3.org/2000/svg">
|
|
<title>white diamond on blue; no height</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>
|