Opened 16 years ago
Closed 13 years ago
#175 closed bug (fixed)
XHTML Tables
Reported by: | john | Owned by: | |
---|---|---|---|
Priority: | undecided | Milestone: | |
Component: | ajax | Version: | |
Keywords: | "" | Cc: | "" |
Blocked by: | Blocking: |
Description (last modified by )
I just spotted in Revision 226, that jQuery will not by all means support XHTML as XML.
Line 743 reads:
if ( table && this.nodeName == "TABLE" && a[0].nodeName != "THEAD" ) {
nodeName in XML preserves case, that means in XHTML as XML it would return "table" and "thead" so that doesn't work here.
This may not have high priority but needs to be fixed, maybe in jQuery 1.01 or something?
Fix:
if ( table && this.nodeName.toUpperCase() == "TABLE" && a[0].nodeName.toUpperCase() != "THEAD" ) {
Change History (3)
comment:1 Changed 16 years ago by
comment:4 Changed 13 years ago by
Component: | → ajax |
---|---|
Description: | modified (diff) |
need: | → Review |
Priority: | → blocker |
Resolution: | → fixed |
Status: | reopened → closed |
Type: | → bug |
Reopened by spammer.
Note: See
TracTickets for help on using
tickets.
I would guess that this came from a non-IE direction as that returns uppercase regardless of the original case. That may be different in IE7, but I somehow doubt it. Either way, I heartily endorse this product and/or service.