Open alexjlockwood opened 7 years ago
Setting a break point on the svg loading code, it seems like it is possible for documentElement.viewBox
to be non-null even in cases where the viewBox is not specified, such as in this example. LMK if you see the same behavior (I'm not totally sure how this is meant to be handled... seems like different browsers could handle this differently?).
Example SVG:
The SVG should have a width and height of 400 and 380 respectively. However, the artwork is given a width/height of 100 (which is the default). The user has to manually update the artwork width/height to make the SVG visible as a result.