-
Notifications
You must be signed in to change notification settings - Fork 47
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
Add a principle discouraging folks from defining novel microsyntaxes #213
Comments
It's possible this principle is more widely accepted for HTML than it is for CSS. It might be worth figuring out what the criteria are for when to add a new microsyntax. |
An emphasis on encouraging a lot of community communication is important... some rough questions people could ask themselves before embarking on creating a new micro-syntax...
Should you choose to adopt a micro-syntax in a new context:
Creating a new micro-syntax:
|
Examples: viewport meta tag special micro syntax can caused a lot of issues over the years as it was being parsed differently by different UAs |
Another example that came up recently was the |
We discussed this with @kenchris in a breakout today and we think there is enough good content in this issue that could be easily turned into a principle. I will try to take a stab at writing one. |
This came up when discussing options for Declarative Shadow DOM to specify options for
attachShadow()
in a declarative context.The text was updated successfully, but these errors were encountered: