Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
When an svg image has no viewbox tags, try to take the width/height
attribute as a fallback for these Allows the aspect ratio of svgs without a viewbox to be determined, resulting in correct rendering as svg markers (cherry picked from commit 0864e0a)
- Loading branch information
1 parent
5e6f5d9
commit ed47dd3
Showing
3 changed files
with
90 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.