I guess that mean 1.3 is already cut final?  I was trying to get this
in ASAP to get it in 1.3 -- I can reproduce it every time, and I'd
imagine this one could do some serious damage out there in the wild...

-Adam


On Jan 13, 8:40 pm, Adam Fisk <adamf...@gmail.com> wrote:
> Yeah, very odd -- took me awhile to figure out.  Filed 
> athttp://dev.jquery.com/ticket/3840
>
> -Adam
>
> On Jan 13, 8:31 pm, John Resig <jere...@gmail.com> wrote:
>
> > Huh, that's an odd one - could you file a ticket, 
> > please?http://dev.jquery.com/
>
> > I'll check up on it and get it in to 1.3.1.
>
> > --John
>
> > On Tue, Jan 13, 2009 at 9:04 PM, Adam Fisk <adamf...@gmail.com> wrote:
>
> > > I'm seeing very odd behavior in Safari with selecting class names that
> > > include upper case characters.  I just 
> > > filedhttp://dev.jquery.com/ticket/3840,
> > > but here's the deal in the test code below:  the selector for $
> > > ("#ALLCAPS") works fine, but $(".ALLCAPS") returns nothing.  This is
> > > with Safari Version 3.1.2 (5525.20.1).
>
> > > Everything works fine in FireFox, and this worked fine in 1.2.6.  It
> > > appears a single capital letter in a class name triggers this
> > > behavior.  Clearly a HUGE bug unless I'm missing something.
>
> > > -Adam
>
> > > <html>
> > >    <body>
> > >        <div id="ALLCAPS"></div>
> > >        <div class="ALLCAPS"></div>
> > >        <div class="ALLCAPS"></div>
>
> > >        <!--
> > >        <script type="text/javascript" src="http://ajax.googleapis.com/
> > > ajax/libs/jquery/1.2.6/jquery.min.js"></script>
> > >        -->
> > >        <script type="text/javascript" src="http://code.jquery.com/
> > > jquery-1.3rc2.js"></script>
>
> > >        <script type="text/javascript">
> > >            $(document).ready(function() {
> > >               var numIds = $("#ALLCAPS").length;
> > >               if (numIds !== 1)
> > >                   {
> > >                   alert ("expected 1 elements but found: "+numIds);
> > >                   }
>
> > >               var numClasses = $(".ALLCAPS").length;
>
> > >               if (numClasses !== 2)
> > >                   {
> > >                   alert ("expected 2 elements but found:
> > > "+numClasses);
> > >                   }
> > >            });
> > >        </script>
> > >    </body>
> > > </html>
--~--~---------~--~----~------------~-------~--~----~
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