[css-d] Selector complexity

2006-05-19 Thread Mike Dougherty
Is there any known performance impact to possibly overly specific selectors? ex: #CategoryList li.Category ul li.product ul li.ciDsc a:hover {} (vs.) li.ciDsc a:hover {} The first case is extremely specific and clues the reader to the structure of the document Does the second case incur less

Re: [css-d] Selector complexity

2006-05-19 Thread L. David Baron
On Friday 2006-05-19 12:42 -0400, Mike Dougherty wrote: Is there any known performance impact to possibly overly specific selectors? ex: #CategoryList li.Category ul li.product ul li.ciDsc a:hover {} (vs.) li.ciDsc a:hover {} The first case is extremely specific and clues the reader to

Re: [css-d] Selector complexity

2006-05-19 Thread Nick Fitzsimons
Mike Dougherty wrote: Is there any known performance impact to possibly overly specific selectors? snip Does the second case incur less parse/render overhead? I normally opt for readability, but I have recently executed a styled list of links from what was once a table-based layout.