-
-
Notifications
You must be signed in to change notification settings - Fork 21
Open
Labels
bugSomething isn't workingSomething isn't working
Description
You can create a svg without height and width in the svg tag and most programs support that. I exported an svg from illustrator and wanted to upload it to the maskable.app. But it doesn't work. You don't see the uploaded svg.
Expected Behavior
You should be able to upload an svg without a width and a height in the svg tag. After the upload you should be able to see the svg in the preview.
OR
Show an error message, that the svg needs a given height and width in the svg tag.
Current Behavior
You can upload such a svg without height and width in the svg tag, but you can't see it in the preview or in the export.
Steps to Reproduce
Click on the editor and then try to upload this svg:
<svg id="Ebene_1" data-name="Ebene 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 77.47 87.69">
<circle cx="50" cy="50" r="40" stroke="black" stroke-width="3" fill="red" />
</svg>
if you upload the following svg it works:
<svg id="Ebene_1" data-name="Ebene 1" xmlns="http://www.w3.org/2000/svg" width="27.33mm" height="30.94mm" viewBox="0 0 77.47 87.69">
<circle cx="50" cy="50" r="40" stroke="black" stroke-width="3" fill="red" />
</svg>
Context (Environment)
Tested in Mozilla Firefox for Ubuntu 104.0 (64-Bit)
xerz-one
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working