Steve Abraham

Improved CSS selector prerformance »

An interesting article by Nicole Sullivan on changes to the CSS selector performance in WebKit.

For example, we were told that descendant selectors were slow, especially when the right-most selector matched many elements on the page. All this was fantastic information when we had none, but as it turns out, times have changed! Thanks to some amazing work by Antti Koivisto there are many selectors we don’t need to worry about anymore!