Side navigation
#7939 closed bug (invalid)
Opened January 10, 2011 03:31PM UTC
Closed January 25, 2011 07:47AM UTC
Selectors by class names fail in IE 7 in some particular case.
Reported by: | janssensgaetan@gmail.com | Owned by: | janssensgaetan@gmail.com |
---|---|---|---|
Priority: | undecided | Milestone: | 1.next |
Component: | unfiled | Version: | 1.4.4 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
Simple selectors based on class names (like $('.myClass')) fail in IE 7 sometimes.
I've got a simple script for switching content who work like this:
$('.myClass2').show(); $('.myClass1').hide();
I figured out that it crached IE 7 only in a particular case, when there are two elements of the same class include in one-another.
Like this.
<div class="myClass1"> <h2 class="myClass1">SubTitle One</h2> (...) </div> <div class="myClass2"> (...) </div>
I haven't test it more (I've no Windows machine).
Does it fail using more particular selector such as $('div.myClass1')? Does it fail in IE6?
I didn't find any other ticket dealing with this...
Attachments (0)
Change History (2)
Changed January 10, 2011 04:18PM UTC by comment:1
owner: | → janssensgaetan@gmail.com |
---|---|
status: | new → pending |
Changed January 25, 2011 07:47AM UTC by comment:2
resolution: | → invalid |
---|---|
status: | pending → closed |
Because we get so many tickets, we often need to return them to the initial reporter for more information. If that person does not reply within 14 days, the ticket will automatically be closed, and that has happened in this case. If you still are interested in pursuing this issue, feel free to add a comment with the requested information and we will be happy to reopen the ticket if it is still valid. Thanks!
In accordance with the bug reporting guidelines, please create a jsFiddle test case that we can use to replicate the issue.