Re: Implied Context Parsing (DocumentFragment.innerHTML, or similar) proposal details to be sorted out

On Fri, Jun 8, 2012 at 4:03 PM, Yehuda Katz <wycats@gmail.com> wrote:

> It's intentional. If you look at the implementation, we explicitly extract
> the <script> tags and use our globalEval implementation to execute them.
>

It's probably worth tracking down some of the bug reports we've gotten
related to this feature. One quirk that I can think of right now is that
scripts are moved to the top level:

jQuery( "<div><script></script></div>" )

results in:

[ <div></div>, <script></script> ]

I feel like there are other strange things that occur too.

Received on Friday, 8 June 2012 20:34:56 UTC