-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
CSS Selector restrictions: why? #480
Labels
Comments
We might relax this a bit. Need a good corpus of docs to see. It is definitely is not irrelevant. Style recalc is O(number of DOM nodes * number of rules * their complexity) |
Removed most restrictions |
This was referenced Nov 4, 2020
This was referenced Jun 8, 2022
This was referenced Oct 5, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Why are the CSS Selector restrictions so tight? I was under the understanding that CSS Selector Performance is largely irrelevant.
If there is a reason to restrict the CSS Selectors so tightly, can it be documented somewhere?
http://calendar.perfplanet.com/2011/css-selector-performance-has-changed-for-the-better/
http://benfrain.com/css-performance-revisited-selectors-bloat-expensive-styles/
http://www.stevesouders.com/blog/2009/03/10/performance-impact-of-css-selectors/
The text was updated successfully, but these errors were encountered: