-
Notifications
You must be signed in to change notification settings - Fork 81
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CSS src url changes relative paths to root #261
Comments
My fonts work fine @font-face { but using the polyfill breaks any background image url or mask image url only in Firefox though, requiring a full web url to fix eg www.mywebsite.co.uk/folder/folder/i/test.png .content__image { |
I noticed this too. Background images are broken in Firefox (Linux only). |
This is due to the polyfill for non-inline styles putting the changed stylesheet into blob storage, which seems to have issues in firefox with relative urls. Seems like a non-css version would be very beneficial here. Or at least don't change stylesheets which don't need polyfilling. |
Indeed, it would be cool if there was a workaround where we could select what stylesheets to parse, or which ones to ignore. I experience this in webkit btw. |
I have some font faces and image that are referenced relatively to the stylesheet, but those are all converted to "root" paths. So
assets/fonts/coolfont.woff2
would become/assets/fonts/coolfont.woff2
, which makes it not load.The text was updated successfully, but these errors were encountered: