Opened 14 years ago

Last modified 12 years ago

#6418 closed defect

dojo.query: support of negative a/b in :nth-child(an+b) — at Version 1

Reported by: liucougar Owned by: anonymous
Priority: high Milestone: 1.2
Component: Query Version: 1.1.0
Keywords: Cc:
Blocked By: Blocking:

Description (last modified by liucougar)

current :nth-child selector in dojo.query does not support negative a or b in form of an+b

dojo.query can not handle contains("bar") either, because it does not remove quotes around bar

in addition, when dojo.query calls dojo.byId, it does not pass in the correct document para (the second argument to dojo.byId)

the attached patch fixes all these issues (also updated test file)

Change History (2)

comment:1 Changed 14 years ago by liucougar

Description: modified (diff)
Summary: dojo.query: support of negative a/b in nth-child(an+b)dojo.query: support of negative a/b in :nth-child(an+b)

Changed 14 years ago by liucougar

Attachment: 6418.patch added
Note: See TracTickets for help on using tickets.