Background images defined in CSS via background: url("data:image/svg+xml ...)
are not rendered in IE in prod mode
#17564
Labels
area: @angular-devkit/build-angular
freq1: low
Only reported by a handful of users who observe it rarely
severity5: regression
type: bug/fix
Milestone
🐞 bug report
Is this a regression?
Yes, the previous version in which this bug was not present was: v8.
Description
A clear and concise description of the problem...Background images defined in CSS via
background: url("data:image/svg+xml ...)
are not rendered in IE in prod mode.🔬 Minimal Reproduction
Open this GitHub repo: https://github.com/onebalaban/svgbackgroundissue
Run
npm install
Run
ng serve --prod
Open the http://localhost:4200/ page in Chrome. You will see this picture:

5) Open the same page in IE 11. Nothing is shown.🌍 Your Environment
Angular Version:
Anything else relevant?
IE 11.657.18362.0 Update versions 11.0.175 (KB4537767) on Windows 10 v1909 build 18363.657
It seems that CSS minification/bundling changes somehow the source CSS code.
The text was updated successfully, but these errors were encountered: