Generally speaking we can assume that if

document.documentElement.insertBefore(newChild,
document.documentElement.lastChild)

always works as expected, the search for the head tag is redundant/useless
indeed.

Regards

On Wed, Aug 5, 2009 at 9:14 AM, Gaël Pasgrimaud
<gael.pasgrim...@gmail.com>wrote:

>
> On Tue, Jul 28, 2009 at 3:00 AM, Brandon Aaron<brandon.aa...@gmail.com>
> wrote:
> >
> > On Mon, Jul 27, 2009 at 7:47 PM, Gaël
> > Pasgrimaud<gael.pasgrim...@gmail.com> wrote:
> >> This should work on all browser since you always have a head tag in a
> >> html document.
> >
> > I don't think HTML 5 requires a head tag to be valid. This article by
> > Remy Sharp seems to agree (
> > http://html5doctor.com/html-5-boilerplates/ ).
> >
>
> So ? Maybe you guys have to fix the way jQuery create new scripts to
> support html 5 without <head />
> Andrea's proposal seems to be the way to go.
>
> I don't see a generic way to know if we are in a FF extension context
> so I think I need to use my own patched version of jQuery.
>
> Regards,
>
> Gael
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"jQuery Development" group.
To post to this group, send email to jquery-dev@googlegroups.com
To unsubscribe from this group, send email to 
jquery-dev+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/jquery-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to