We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Originally from: https://github.com/toolkitchen/polyfills/issues/85
For example:
<style> div { background: url('data:...'); } </style>
The cssText is being rewritten to url('http://localhost:8000/data:...');
cssText
url('http://localhost:8000/data:...');
Culprit is makeCssUrlsRelative(): https://github.com/toolkitchen/polyfills/blob/master/Components/CustomDOMElement/HTMLElementElement.js#L184
makeCssUrlsRelative()
The text was updated successfully, but these errors were encountered:
Also need to be careful with filesystem: and blob: urls.
filesystem:
blob:
http://www.html5rocks.com/en/tutorials/file/filesystem/#toc-filesystemurls http://www.html5rocks.com/en/tutorials/workers/basics/#toc-inlineworkers-bloburis
Sorry, something went wrong.
Fixed and added test.
sorvell
No branches or pull requests
Originally from: https://github.com/toolkitchen/polyfills/issues/85
For example:
The
cssText
is being rewritten tourl('http://localhost:8000/data:...');
Culprit is
makeCssUrlsRelative()
:https://github.com/toolkitchen/polyfills/blob/master/Components/CustomDOMElement/HTMLElementElement.js#L184
The text was updated successfully, but these errors were encountered: