Quote:
Originally Posted by netseeker
Well i know CSS 2.1 and descendant selectors very well and i know that the W3C recommends parsing the whole element tree. But can we agree on that technically "only" knowledge about the parent tree of elements is required to support those selectors? There is no knowledge about the subsequent parts of the xml tree required.
|
I must concede that, knowledge of the parent tree is all that's required. But does that really make a difference (after all on average you will be rendering a point halfway down the file, so the average speedup you can achieve by only parsing parents is only a factor of 2). I guess where it will make a big difference is in jumping from one XHTML file to the next.