I think it would make sense to fix this.  If the th or td does not  
have a colspan in the HTML you made, you wouldn't expect it to  
automatically get a colspan=1.  This might be difficult to debug for  
people who don't realize that, internally in browsers, HTML may not  
be represented exactly the same as how they typed it.

You could argue that this is something people should know, or that  
it's none of jquery's business, but in the end it's probably better  
to do something about it anyway.

              Michiel Sikma
          [email protected]




On 17-dec-2008, at 15:38, John Resig wrote:

>
> Gary -
>
> You could file this as a bug - but I'm not really sure what all we can
> do here. Stuff like this isn't really specified very well - and it
> doesn't really seem like IE is "wrong" here (they just give a
> different result).
>
> --John
>
>
>
> On Wed, Dec 17, 2008 at 8:05 AM, Gary Jacobson  
> <[email protected]> wrote:
>>
>> I'm doing a fairly simple query to get all table headers in the
>> "report" table that don't have a colspan:
>>
>> $("#report th:not([colspan])")
>>
>> This works fine in Firefox, but not in IE. It seems that IE has a
>> default colspan of 1, so I have to use the following query:
>>
>> $("#report th:not([colspan]),#report th[colspan=1]")
>>
>> I believe this should be considered a bug, since jQuery is meant  
>> to be
>> cross-browser compatible?
>>
>>>
>>
>
> >


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"jQuery Development" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/jquery-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to