http://codereview.appspot.com/98088/diff/1002/7 File src/com/google/caja/plugin/domita.js (right): http://codereview.appspot.com/98088/diff/1002/7#newcode1056 Line 1056: } else if (ancestor === node.ownerDocument.documentElement) { could you hoist node.ownerDocument.documentElement outside the loop? traversing properties of dom nodes is slow. http://codereview.appspot.com/98088
- [Caja] Re: Fix ancestry for unattached nodes ihab . awad
- [Caja] Re: Fix ancestry for unattached nodes mikesamuel
- [Caja] Re: Fix ancestry for unattached nodes metaweta
- [Caja] Re: Fix ancestry for unattached nodes felix8a
- [Caja] Re: Fix ancestry for unattached nodes metaweta
- [Caja] Re: Fix ancestry for unattached nodes metaweta
- [Caja] Re: Fix ancestry for unattached nodes metaweta
