Hi, My understanding of Mozilla layout engine is for each page, it will create 1. DOM 2. Frame Tree 3. View Tree
Is there a way to free the memory/detach the Frame Tree and View Tree and just keep the dom. Kind of like the 'detach()' api in Web kit http://webkit.org/blog/114/webcore-rendering-i-the-basics/ Destroying the Render Tree Renderers are destroyed when DOM nodes are removed from the document or when the document gets torn down (e.g., because the tab/window it was in got closed). A method called detach gets called on the DOM nodes to disconnect and destroy the renderers. void detach() Detachment is a bottom up recursive operation. Descendant nodes will always have their renderers destroyed before a parent destroys its renderer. _______________________________________________ dev-tech-layout mailing list [email protected] https://lists.mozilla.org/listinfo/dev-tech-layout

