-
Notifications
You must be signed in to change notification settings - Fork 5
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
Possible bug/limitation of @import
#3
Comments
Thanks for the bug report. So what browsers is this hitting? I remember vaguely that Firefox has different rules around Having said that, the solution I had for CORS (see #2) uses FWIW, the no semicolon case—I think that's just invalid and possibly being parsed only as one single rule (the latter). |
Thanks, the browser is Chrome 81.0.4044.138. |
So the issue here is the I've updated the code now, and published 0.2.1. Let me know if this version fixes your issue! 👍 |
It indeed fixed the issue! Thank you 🙏 |
You're welcome. Please let me know if you update your demo page to use |
Yep, me too! I'll let you know. 👍 |
Hello @samthor!
Firstly I'd like to thank you for your efforts with this polyfill!
The W3C Maps For HTML Community Group is having issues with different third-party web maps loading in stylesheets with often times identical CSS selectors conflicting with each other. This means having to potentially resort to restructure and use iframes for each map implementation (across many pages) which will take some extra effort, but I was hoping to rely on
scoped
in this matter. I think I've found a bug, which I've managed to work around:Given the following scenarios, the first one fails to load
two.css
whereas the second and third succeed:These work:
The text was updated successfully, but these errors were encountered: