Opened 6 years ago
Last modified 3 years ago
#18503 new defect
Selector engine css3 breaks results from query prevAll
Reported by: | clong42 | Owned by: | Kris Zyp |
---|---|---|---|
Priority: | undecided | Milestone: | 1.14 |
Component: | Query | Version: | 1.10.4 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description
If the css3 selector engine is being used (for example, when async is true), then results from query(...).prevAll(...) is in the same order as the DOM, not the reverse like it is supposed to be.
If prevAll has no arguments, the result is correct, but even a simple selector, like 'span', will break it.
I made a jsfiddle to demonstrate:
https://jsfiddle.net/acl3k/wtggy3pw/3/
A workaround is to set the selector engine to acme.
Change History (2)
comment:1 Changed 5 years ago by
Milestone: | tbd → 1.12 |
---|
comment:2 Changed 3 years ago by
Milestone: | 1.13 → 1.14 |
---|
Note: See
TracTickets for help on using
tickets.