-
-
Notifications
You must be signed in to change notification settings - Fork 55
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
Should scoped
support be dropped?
#270
Comments
I agree that something that is no longer on a standards track and only works in one browser anyway, should probably be removed. However, that leads to another question: What is the recommended way to achieve CSS scoping, and what are the thoughts on it going forward? |
At the time I opened this ticket, Since then, FF has moved that feature behind a config flag in FF 55, which means it works in no browser at all today. @thomas-darling Shadow DOM standard has replaced scoped styles. Styles inside a shadow DOM don't bleed out (and vice-versa). You can read more about it here, go to Styling section: Non-standard stuff that I find interesting is CSS Modules, google it. |
if the decision is to drop it, help_needed and prs_welcome are appropriate tags for this. |
Ok there is a silent consensus that this should be removed. |
aurelia-pal
hasFEATURE.scopedCSS
andaurelia-templating-resources
tries to addscoped
to injected<style>
when appropriate (e.g.<require from="control.css">
).I wonder if this should be removed from Aurelia, to re-align with the current HTML specs.
scoped
was dropped from the specs (in favor of shadow DOM) and the only browser that implements it (at least for now -- maybe they'll drop it at some point) is Firefox.The text was updated successfully, but these errors were encountered: