Opened 12 years ago

Closed 12 years ago

Last modified 10 years ago

#4364 closed defect (fixed)

dojo.query - using ">" matches nothing in lots of ways

Reported by: Sam Foster Owned by: alex
Priority: high Milestone: 1.0
Component: Query Version: 0.9
Keywords: Cc:
Blocked By: Blocking:

Description

Simple test case: pull up a page - any (dojo 0.9) page - and ask:

dojo.query("> *", dojo.body());

">" works, as does "tagName > *".
"#id >" matches nothing, also "#id > *" matches nothing

".class >" matches nothing also ".class > *"

This is from testing in FF. If it will help (and given a little time) I can patch the tests to cover these cases - just let me know.

Change History (2)

comment:1 Changed 12 years ago by alex

Resolution: fixed
Status: newclosed

(In [11176]) make direct descendant selectors more robust when they occur at the end of a selector. Fixes #4364

comment:2 Changed 10 years ago by bill

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