David, thank you very much for helping me understand, it is much clearer now.
A follow up question: when are rule nodes and style contexts instantiated and who is responsible for the instantiation? I can see in the source code where the root rule node is created but I can't quite see where all the others are! And a closely related question: where's the starting point for the whole layout process? That is, when at least the initial portion of a webpage and all auxiliary files (i.e. external stylesheets) have been loaded, what's the source file/code that determines what happens next? I tried to get there from the function main() but needless to say I got a little bit lost! Finally a bit of a broad question: say you had a magic wand and you could rewrite the whole presentation architecture without asking anybody, including rewriting the DOM and CSSOM specifications the way you'd like them. What would you change? How would you simplify them? Thank you again! Manu _______________________________________________ dev-tech-layout mailing list [email protected] https://lists.mozilla.org/listinfo/dev-tech-layout

