[Proto-Scripty] Re: Opera and $$('.wrapper .class') seems not to work correctly

2009-01-13 Thread Alex Mcauley
if its any help the same thing happens in google chrome !! - Original Message - From: Cyrus arianglan...@googlemail.com To: Prototype script.aculo.us prototype-scriptaculous@googlegroups.com Sent: Monday, January 12, 2009 5:27 PM Subject: [Proto-Scripty] Re: Opera and $$('.wrapper

[Proto-Scripty] Re: Opera and $$('.wrapper .class') seems not to work correctly

2009-01-13 Thread Richard Quadling
PM Subject: [Proto-Scripty] Re: Opera and $$('.wrapper .class') seems not to work correctly Prototype 1.6.0.3 Opera 9.63 On 12 Jan., 17:30, kangax kan...@gmail.com wrote: On Jan 12, 10:37 am, Cyrus arianglan...@googlemail.com wrote: Hi there, I have found a weird behaviour

[Proto-Scripty] Re: Opera and $$('.wrapper .class') seems not to work correctly

2009-01-13 Thread Cyrus
...@googlemail.com To: Prototype script.aculo.us prototype-scriptaculous@googlegroups.com Sent: Monday, January 12, 2009 5:27 PM Subject: [Proto-Scripty] Re: Opera and $$('.wrapper .class') seems not to work correctly Prototype 1.6.0.3 Opera 9.63 On 12 Jan., 17:30, kangax kan...@gmail.com wrote

[Proto-Scripty] Re: Opera and $$('.wrapper .class') seems not to work correctly

2009-01-13 Thread Cyrus
I just used .class for this example. In my case I have a much more complex HTML structure so it took me a while to actually find the bug. If you're getting back one element, not two, it's a bug. The question is, in what -- Prototype's selection code, Opera, or both? I lean toward Opera bug.

[Proto-Scripty] Re: Opera and $$('.wrapper .class') seems not to work correctly

2009-01-13 Thread kangax
On Jan 13, 6:26 am, Cyrus arianglan...@googlemail.com wrote: [...] What would you suggest? File a bug report at Opera, Prototype or both? I can confirm this with 9.61 on Mac OSX. Here's a minimal failing test case: !DOCTYPE html PUBLIC -//W3C//DTD HTML 4.01//EN

[Proto-Scripty] Re: Opera and $$('.wrapper .class') seems not to work correctly

2009-01-13 Thread T.J. Crowder
Hi Juriy, That inline script could muddy the water in terms of DOM availability, etc. Perhaps a minor mod: !DOCTYPE html PUBLIC -//W3C//DTD HTML 4.01//EN http://www.w3.org/TR/html4/strict.dtd; html head title/title script src=http://ajax.googleapis.com/ajax/libs/prototype/

[Proto-Scripty] Re: Opera and $$('.wrapper .class') seems not to work correctly

2009-01-13 Thread Cyrus
Ok, thanks. Unfortunately I cannot use the child selector in my case. I'll write a bug report. On 13 Jan., 14:20, kangax kan...@gmail.com wrote: On Jan 13, 6:26 am, Cyrus arianglan...@googlemail.com wrote: [...] What would you suggest? File a bug report at Opera, Prototype or both? I

[Proto-Scripty] Re: Opera and $$('.wrapper .class') seems not to work correctly

2009-01-13 Thread kangax
On Jan 13, 8:30 am, T.J. Crowder t...@crowdersoftware.com wrote: Hi Juriy, That inline script could muddy the water in terms of DOM availability, etc. Perhaps a minor mod: I usually try to eliminate as much of irrelevant prototypeism as possible when creating a testcase : ) Why use

[Proto-Scripty] Re: Opera and $$('.wrapper .class') seems not to work correctly

2009-01-13 Thread T.J. Crowder
I usually try to eliminate as much of irrelevant prototypeism as possible when creating a testcase : ) Fair 'nuff, but I'd still use something other than inline to allow for browsers being difficult about the closing body tag and DOM rendering time. Probably me being paranoid. Perhaps (shock

[Proto-Scripty] Re: Opera and $$('.wrapper .class') seems not to work correctly

2009-01-13 Thread Jerod Venema
Hey all, when you're replying to these threads, can you make sure you keep it on-list? I like to keep up with various solutions to all these problems, and seeing half the solution (or no solution at all) is really frustrating. (@Kangax, I know I've seen a few replies to messages you've sent

[Proto-Scripty] Re: Opera and $$('.wrapper .class') seems not to work correctly

2009-01-12 Thread kangax
On Jan 12, 10:37 am, Cyrus arianglan...@googlemail.com wrote: Hi there, I have found a weird behaviour in the opera browser. I am not sure if this is really a bug or an intended behaviour. [...] Which versions of Prototype.js and Opera? -- kangax