Opened 11 years ago

Closed 11 years ago

Last modified 10 years ago

#8073 closed defect (fixed)

IE8: dojo.query() problem with :last-child

Reported by: bill Owned by: anonymous
Priority: high Milestone: 1.3
Component: Query Version: 1.2.1
Keywords: Cc:
Blocked By: Blocking:

Description

dojo.query(":last-child") ends up calling querySelectorAll(":last-child"). querySelectorAll() is supported on IE8 but querySelectorAll(":last-child") causes JS error.

This reproduces on NodeList?.html / query() test, in the lines:

doh.is(t, dojo.query("body").query(":last-child")[0]);
doh.is(c, dojo.query("body").query(":last-child")[1]);

Change History (3)

comment:1 Changed 11 years ago by bill

Milestone: tbd1.3

comment:2 Changed 11 years ago by dante

Resolution: fixed
Status: newclosed

this too should be fixed as part of the QSA removal.

comment:3 Changed 10 years ago by bill

Component: CoreQuery
Note: See TracTickets for help on using tickets.