Bug Tracker

Changes between Initial Version and Version 1 of Ticket #4283, comment 15


Ignore:
Timestamp:
Mar 26, 2011, 8:33:07 AM (9 years ago)
Author:
tomgrohl
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #4283, comment 15

    initial v1  
    2323Calling it on index.xhtml, as it is classed as an xml document, returns "html", obvously due to xml node names being case sensitive.
    2424
    25 This is used in Sizzle.isXML and is only checking for "HTML" (unless there is a reason for this).
     25This is used in Sizzle.isXML and is only checking for "HTML" (unless there is a reason for this). I think this is the reason why this bug occurs.
    2626
    2727Because of this, some jQuery methods are affected when they shouldn't be, so attrHooks might not get called if document.documentElement.nodeName returns "html"