Skip to content


Subversion checkout URL

You can clone with
Download ZIP


inline-image() uses incorrect mime-type for SVG backgrounds #442

heygrady opened this Issue · 0 comments

2 participants

body {
    background-image: inline-image('image.svg');

This generates the following CSS

// incorrect output
body {

Expected output would specify the mime-type as image/svg+xml

// expected out
body {
@dbussink dbussink referenced this issue from a commit in dbussink/compass
@chriseppstein chriseppstein Merge branch 'stable'
* stable:
  Fix failing test when updating to latest SASS
  Gemfile.lock should not be part of a library / gem
  fix typo
  Fix issue with parent directory references within the sass_path in the compass compiler.
  Version bump.
  Update changelog
  Return a non-zero exit code if there are any stylesheet compilation errors. Closes GH-432.
  Fix test failures.
  Better docs for the shadow mixins. Closes GH-433.
  Include the Compass logger to prevent "uninitialized constant Compass::Logger"
  Broken link fixed to what I think is the correct section of the SASS docs.
  grid-background vertical rhythm should be based off of $blueprint-font-size, rather than a static value.
  :focus should not use shorthand border property, since it only need to change the border-color
  update changelog
  Fix absolute path detection on Windows.
  Fix the mime type returned for svg images. Closes GH-442.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.