Skip to content
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

Relative paths gets out of context #6

Open
odadoda opened this issue May 10, 2016 · 3 comments
Open

Relative paths gets out of context #6

odadoda opened this issue May 10, 2016 · 3 comments

Comments

@odadoda
Copy link

odadoda commented May 10, 2016

I got relative paths to fonts and some svg's in the css. When the polyfill kicks in, it copies the css and places it inline in the document, where all the relative paths is out of the original context and can't find the resources.

@wtfil
Copy link
Owner

wtfil commented May 10, 2016

@odadoda
Hi! This is sad. At this case simple regex is not enough, will fix that soon.

@odadoda
Copy link
Author

odadoda commented May 10, 2016

I guess one solution would be to prepend the path to the css file into all "url(...)" values.

@wtfil
Copy link
Owner

wtfil commented May 10, 2016

yeah, it could work, but ideally it should not touch the @font-face and svg at all:)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants