Quote:
Originally Posted by llasram
@netseeker: Sibling selectors mean that you need to keep the whole parse tree around to figure out the CSS rules which apply to a particular element.
|
No, definitly not for siblings in general. I guess you mean
adjacent sibling selectors because the CSS 2.1 specification contains nothing about "sibling selectors". Adjacent sibling selectors mean that you need to know at least the current node and it's predecessor.