Opened 14 years ago
Closed 14 years ago
#3780 closed bug (invalid)
contents returns incorrect result
Reported by: | culyun | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | 1.3 |
Component: | core | Version: | 1.2.6 |
Keywords: | contents, children, selector, ":first-child", first-child, firstchild | Cc: | |
Blocked by: | Blocking: |
Description
The "contents" method does not appear to operate correctly with the ":first-child" selector.
Attachments (1)
Change History (2)
Changed 14 years ago by
Attachment: | jQuery_1_2_6_contents_returns_incorrect_result.js added |
---|
comment:1 Changed 14 years ago by
Component: | unfilled → core |
---|---|
Resolution: | → invalid |
Status: | new → closed |
:first-child only matches elements, in accordance with the CSS Selector specification.
Note: See
TracTickets for help on using
tickets.
Sample demonstrates incorrect return value when using "first-child" selector with "contents" method