On 7/12/13 4:12 PM, Patrick Walton wrote:
On 7/12/13 12:43 PM, Josh Matthews wrote:
Yes, this is the bed we have made for ourselves in Servo at this point.

Can we just have the JS trace hook for a DOM node recursively search
through children for wrappers, even those that don't have wrappers?

You can, but how does memory management then work for the nodes with no wrappers?

To illustrate, suppose we have this DOM:

       O -- 1
      / \
     X   X
    / \   \
   X   X   2
   |
   3
   |
   4

What keeps the "X" that is a child of "2" alive?

-Boris
_______________________________________________
dev-servo mailing list
dev-servo@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-servo

Reply via email to