On Apr 29, 4:34 am, Boris Zbarsky <[EMAIL PROTECTED]> wrote: > byang wrote: > > For CSS selector is evaluated based on the DOM tree, and the > > inheritance of CSS properties is also based on the DOM tree > > Note that selector evaluation is based not only on the DOM tree but also on > the > presentation. See @media rules, for example. So you can in fact have > multiple > style contexts for a single DOM node while printing.
We should get rid of the separate presentation for printing by cloning the document. But we'd still need a separate style context tree to handle pseudo- styles for wrapper frames etc, right? Rob _______________________________________________ dev-tech-layout mailing list [email protected] https://lists.mozilla.org/listinfo/dev-tech-layout

