by FrontAid · 5y ago · 0 comments
> Selectors have terrible future-proofing. We should have split on top-level commas, and only ignored unknown/invalid segments, not the entire thing.
That forces you to duplicate declarations for backward-compatibility. For example, you can't combine those two selectors:
/* works */
:user-invalid {}
:-moz-ui-invalid {}
/* breaks */
:user-invalid, :-moz-ui-invalid {}
Somewhat related to the link: https://github.com/jensimmons/cssremedy tries to "fix" some of those issues.No comments yet.