| 1 |
========= |
| 2 |
ViewBox |
| 3 |
========= |
| 4 |
|
| 5 |
No Size, Empty ViewBox |
| 6 |
====================== |
| 7 |
|
| 8 |
- ``struct-frag-*`` |
| 9 |
|
| 10 |
These tests fail because there's no viewbox (or an empty one) and no size set |
| 11 |
for the root ``svg`` tag. In this case, the SVG agent has to use the parent |
| 12 |
size, which is meaningless for CairoSVG. |
| 13 |
|
| 14 |
CairoSVG could get the bounding boxes of the children and try to get a kind of |
| 15 |
*minimal size* to create its Cairo surface, but that's not the easiest thing to |
| 16 |
code. Anyway, that's not a really important bug, as SVG files generally have a |
| 17 |
root viewbox set. |