Quote:
Originally Posted by kovidgoyal
Actually, now that I think some more about it, how will knowing the parent tree be enough to support absolute positioning. For example suppose that you use absolute positioning to position a semitransparent box in the upper left corner of the document as a sort of overlay. Also suppose that the <div> representing this box i sthe last element in the document tree. Now when you are rendering the first page, how will you know that the upper left corner needs a box overlay unless you've parsed the rest of the tree?
|
I think you're searching for cases - but nothing you've come up with yet invalidates the value of indexing. If you think a little more you'll realise that absolute positioning can be handled very well by pre-indexing the document and would dramatically improve rendering performance.