Skip to main content

Bug Tracker

Side navigation

#3211 closed bug (wontfix)

Opened August 01, 2008 10:50AM UTC

Closed October 03, 2010 03:11AM UTC

Test Version : Safari Version 2.0.4 (419.3) / MacOsX 10.4.10 / jQuery126

Reported by: fanou Owned by: flesler
Priority: major Milestone: 1.3
Component: core Version: 1.2.6
Keywords: Cc:
Blocked by: Blocking:


i've discovered a really strange & annoying bug relating to Safari and jQ 126

(v.123 seems to be more stable with this browser version than is v.126. As an example try to consult the '' site with this browser and it crash immediately - if i'm not mistaken it uses v.126 - rather bad for the newcomers!)

Test case :


<div id="testCase"><p class="paraTest"></p></div>


you see the space between the 2 span's - it seems that Safari doesn't like that & for fun crash!

$('.paraTest').html('<span>span001</span> <span>span002</span>');

//if you avoid the space it works wonderfully


Hope it can help and by the way Thanks so much for your hard work on this fascinating library

Stéphan / France

Attachments (0)
Change History (4)

Changed August 01, 2008 02:55PM UTC by flesler comment:1

owner: → flesler

Changed August 02, 2008 09:51AM UTC by fanou comment:2

I found some more things that might interest you:

Looks like Safari doesn't like at all fragments of text that's not wrapped in a tag

(something surely related to the space bug!!!)


$('<span>').html('Cliquer sur la boite pour connaitre sa Clr!').appendTo('.resClr');//it crash

$('<span>').html('Cliquer sur la <em>boite pour connaitre sa Clr</em>!').appendTo('.resClr');//it crash

$('<span>').html('<em>Cliquer sur la boite pour connaitre sa Clr!</em>').appendTo('.resClr');//it works

it means that you can't insert a fragment in another tag if is not itself surrounded by one.


$('.resClr').append('<em>Cliquer sur la boite</em> pour connaitre sa Clr!');//it crash even if the tag is first

$('.resClr').append('<em>Cliquer sur la boite pour connaitre sa Clr!</em>');//it works

Hope it can be fixed soon - Stéphan

Changed December 01, 2008 08:20PM UTC by eric258 comment:3

This is related to bug #3397, which contains a patch that fixes the problem temporarily.

Changed October 03, 2010 03:11AM UTC by dmethvin comment:4

resolution: → wontfix
status: newclosed

Safari 2 isn't supported anymore.