diff options
| author | Viatrix | 2026-03-12 16:13:40 -0700 |
|---|---|---|
| committer | Viatrix | 2026-03-12 17:20:47 -0700 |
| commit | c29ac06954bf29f25c64f1f658d20b4e2a28d19e (patch) | |
| tree | 4852eaa2ea03e0a9e78c558fdc07befd6675ae3a /tests/data/svg | |
| parent | 5aca421003b008e116c170d6be789ac28e602cf7 (diff) | |
Nested SVGs now work.
Diffstat (limited to 'tests/data/svg')
| -rw-r--r-- | tests/data/svg/viewbox.svg | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/tests/data/svg/viewbox.svg b/tests/data/svg/viewbox.svg index a0cdc1d..7894a76 100644 --- a/tests/data/svg/viewbox.svg +++ b/tests/data/svg/viewbox.svg @@ -1,5 +1,15 @@ -<svg width="100" height="100" viewBox="-100 -100 200 200" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> - <a xlink:href="http://example.com"> +<svg width="200" height="100" viewBox="-100 -100 400 200" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> + <a xlink:href="http://example.com/1"> <polyline points="0,-50 50,50 -50,50"/> </a> + <svg x="100" y="-100" height="200" width="200" viewBox="-100 -100 200 400" preserveAspectRatio="none"> + <a xlink:href="http://example.com/2"> + <polyline points="0,-50 50,50 -50,50"/> + </a> + <svg x="-100" y="100" height="100" width="200" viewBox="-100 -100 200 200" preserveAspectRatio="xMaxYMax"> + <a xlink:href="http://example.com/3"> + <polyline points="0,-50 50,50 -50,50"/> + </a> + </svg> + </svg> </svg> |
