Re: [jquery-dev] support.scriptEval + globalEval + text property

2009-11-29 Thread Andrea Giammarchi
I have changed the test so now even in browsershot is more visible: http://browsershots.org/http://www.3site.eu/jstests/script.text.html?123 If anybody could test safari 2 and tell me what happens there that would be nice. Regards On Sun, Nov 29, 2009 at 11:09 PM, Andrea Giammarchi < andrea.giam

Re: [jquery-dev] support.scriptEval + globalEval + text property

2009-11-29 Thread Andrea Giammarchi
John, if Safari 2 is not supported we are not sure the current method works as well. Is there any isolated test for globalEval and Safari 2? If there is then I agree it's not worth it to make it not usable anymore, otherwise the support.js could use a test case via .text property in the try catch a

Re: [jquery-dev] support.scriptEval + globalEval + text property

2009-11-29 Thread John Resig
> I can't tell you if it means it is not supported at all or if it ignored or > cause errors but AFAIK Safari 2 for Mac is not in the jQuery compatibility > list, is it? It's not in the compatibility list but we don't want to go out of our way to intentionally break browsers either. As it stands t

Re: [jquery-dev] support.scriptEval + globalEval + text property

2009-11-29 Thread Andrea Giammarchi
On Sun, Nov 29, 2009 at 9:39 PM, John Resig wrote: > Firefox 2 + 3, Safari 3, Opera 9.6? I'm a bit confused as to what > you're saying - it doesn't work at all in Safari 2 or you didn't test > in Safari 2. Could you test it there, as well? > > I have not a Mac so I cannot test Safari 2 and I am n

Re: [jquery-dev] support.scriptEval + globalEval + text property

2009-11-29 Thread John Resig
Firefox 2 + 3, Safari 3, Opera 9.6? I'm a bit confused as to what you're saying - it doesn't work at all in Safari 2 or you didn't test in Safari 2. Could you test it there, as well? --John On Sun, Nov 29, 2009 at 4:20 PM, Andrea Giammarchi wrote: > My tests: > > Android 1.6 OK > Firefox 3.6 O

Re: [jquery-dev] support.scriptEval + globalEval + text property

2009-11-29 Thread Andrea Giammarchi
My tests: Android 1.6 OK Firefox 3.6 OK Safari 4.0.4 OK Opera 10.10 OK Chrome 4.0.249.11 IE all, text is the fallback already used in jQuery to global eval I am going to test Konqueror as well but I do think except Safari 2 which is not in the jQuery browser list, text could be considered a de-fa

Re: [jquery-dev] support.scriptEval + globalEval + text property

2009-11-29 Thread Andrea Giammarchi
On Sun, Nov 29, 2009 at 7:58 PM, John Resig wrote: > I'm not sure how this relates to TestSwarm well, I meant that via TestSwarm will be easy to test jQuery browsers :-) This is a test page which should show success: true if the browser is compatible. http://www.3site.eu/jstests/script.text.h

Re: [jquery-dev] support.scriptEval + globalEval + text property

2009-11-29 Thread John Resig
I'm not sure how this relates to TestSwarm but could you provide some more information about the cross-browser nature of .text? Preferably with proof that it works in all the browsers that jQuery supports. If so then I don't think I'll have a problem switching to it. --John On Sun, Nov 29, 200

[jquery-dev] support.scriptEval + globalEval + text property

2009-11-29 Thread Andrea Giammarchi
Hi guys, I know there is nothing about it in the W3C specs but AFAIK the text property seems to be a de-facto standard as innerHTML is. Since jQuery is using test swarm I wonder if it could be cleaned/speed up a little bit avoiding the appendChild with a document.createTextNode and using just text