Side navigation
#5568 closed bug (fixed)
Opened November 30, 2009 11:14AM UTC
Closed June 19, 2012 05:55AM UTC
Selectors behave differently with comments tags on FF/IE
Reported by: | PERECil | Owned by: | john |
---|---|---|---|
Priority: | high | Milestone: | 1.8 |
Component: | selector | Version: | 1.4.4 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
See test case. Basically, Firefox ignores the comments as a node in the DOM, and IE (all versions tested) seems to count the comments in the DOM.
I don't know if this behavior is intended...
Attachments (1)
Change History (5)
Changed November 19, 2010 04:22PM UTC by comment:1
milestone: | 1.4 → 1.5 |
---|---|
priority: | major → high |
status: | new → open |
version: | 1.3.2 → 1.4.4 |
Changed March 31, 2011 04:44AM UTC by comment:2
milestone: | → 1.next |
---|
Changed July 11, 2011 08:45PM UTC by comment:3
Triaged as valid, need to fix the gEBTN in Sizzle.find as mentioned by jitter.
Changed June 19, 2012 05:55AM UTC by comment:5
milestone: | 1.next → 1.8 |
---|---|
resolution: | → fixed |
status: | open → closed |
IE returns comment nodes too when
getElementsByTagName("*")
is used. This is a bug inSizzle.find
test case alerts 1 in IE 0 in all other browsers
test case 2 shows simple case where this becomes a problem for jQuery