Skip to content

Commit

Permalink
Include SVG width/height attrs on fixtures
Browse files Browse the repository at this point in the history
Without either a viewbox or width/height dimensions, SVG rendering
differs across implementations. For example, resvg v0.41 can output
something different to v0.42, and ImageMagick fails with an error. Best
to be specific so we know what we're expecting.
  • Loading branch information
flother committed Aug 16, 2024
1 parent 418c3fa commit abb2311
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/fixtures/pngs/iceland_flag.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion tests/fixtures/pngs/sweden_flag.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit abb2311

Please sign in to comment.