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

heygrady opened this Issue Jun 22, 2011 · 0 comments


None yet
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 pushed a commit to dbussink/compass that referenced this issue Jul 14, 2011

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