Opened 13 years ago
Closed 12 years ago
#5172 closed enhancement (invalid)
Make the context parameter behave more consistently
Reported by: | lrbabe | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | 1.4 |
Component: | core | Version: | 1.3.2 |
Keywords: | needsreview | Cc: | |
Blocked by: | Blocking: |
Description
Currently the three following syntax do not result in the same context parameter:
$("div", document.getElementById("myId")); $("div", $("#myId")); $("div", "#myId");
Only the first one result in the context property to be properly set. The attached patch fix this issue. See related thread: http://groups.google.com/group/jquery-dev/browse_thread/thread/b8c414b373163895
Attachments (1)
Change History (3)
Changed 13 years ago by
Attachment: | patchContext.txt added |
---|
comment:1 Changed 12 years ago by
Keywords: | needsreview added; context consitency removed |
---|---|
Status: | new → open |
comment:2 Changed 12 years ago by
Resolution: | → invalid |
---|---|
Status: | open → closed |
Note: See
TracTickets for help on using
tickets.
This patch has gone stale since now the user can pass in a plain object full of attributes. I'm not convinced it's necessary anyway.