Opened 10 years ago

Closed 9 years ago

Last modified 9 years ago

#14879 closed defect (worksforme)

:nth-child() failures on chrome (selector=css3)

Reported by: bill Owned by: Kris Zyp
Priority: undecided Milestone: tbd
Component: Query Version: 1.7.2
Keywords: Cc:
Blocked By: Blocking:

Description (last modified by bill)

The following queries fail on chrome when the selector=css3. They work with selector=acme. See dojo/tests/query/query.html (but leaving the tests commented out until this ticket is fixed. When you fix it, uncomment those tests:

query('#t > *:nth-child(n-5)')  (throws error)
query('.foo:nth-child(2)')[0]   (returns undefined not HTMLDiv)

Alternately, if those tests are invalid they should be removed, and if they are only valid for acme then they should be moved to the acme section.

Change History (5)

comment:1 Changed 10 years ago by bill

Description: modified (diff)

comment:2 Changed 10 years ago by bill

In [27986]:

Make better tests for new dojo/query module, refs #12451, #14874, #14875, #14876, #14877, #14879, #14880.

comment:3 Changed 9 years ago by Kris Zyp

Resolution: worksforme
Status: newclosed

I don't see any errors when I uncomment these lines. It could be that Chrome fixed this. Should I go ahead commit the tests with the lines removed?

comment:4 Changed 9 years ago by bill

Agreed, looks like it's working on the latest chrome. I'll uncomment those lines.

comment:5 Changed 9 years ago by Bill Keese <[email protected]…>

In b72122cead59bd0a4d11662760b5d829b0521037/dojo:

Error: Processor CommitTicketReference failed
Unsupported version control system "git": Can't find an appropriate component, maybe the corresponding plugin was not enabled? 
Note: See TracTickets for help on using tickets.