#10558 closed bug (fixed)
Test Support bug
Reported by: | Owned by: | dmethvin | |
---|---|---|---|
Priority: | blocker | Milestone: | 1.7 |
Component: | support | Version: | 1.7b2 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
hi , when i read the jQuery's code, in line 1286. the jQuery append firstChild of div that is either a table or textNode, not a checkbox. but test its checked property in line 1289.
thanks.
Change History (6)
comment:1 Changed 12 years ago by
Owner: | set to zhengzongyi@… |
---|---|
Status: | new → pending |
comment:2 Changed 12 years ago by
sorry, i can't provide more information. i debug the code, the "fragment.lastChild" isn't a input, it is a textNode or table.
comment:3 Changed 12 years ago by
Component: | unfiled → support |
---|---|
Milestone: | None → 1.7 |
Priority: | undecided → blocker |
Status: | pending → open |
Version: | 1.6.4 → 1.7b2 |
I agree, it seems like a bug. Thanks! I think the code should have appended div.lastChild
which is an <input />
and not div.firstChild
.
comment:4 Changed 12 years ago by
Owner: | changed from zhengzongyi@… to dmethvin |
---|---|
Status: | open → assigned |
comment:5 Changed 12 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note: See
TracTickets for help on using
tickets.
I think the code you are referring to is here in support.js:
It looks correct to me; the fragment is being cloned and the only thing in the fragment is an
input
element. Can you provide more information, or better yet a test case that fails?