Skip to content
This repository has been archived by the owner on Apr 26, 2020. It is now read-only.

Separated find queries for request 'h1,h2,h3' #15

Open
RobinTail opened this issue Sep 18, 2015 · 0 comments
Open

Separated find queries for request 'h1,h2,h3' #15

RobinTail opened this issue Sep 18, 2015 · 0 comments

Comments

@RobinTail
Copy link

In original jQuery, $('h1,h2,h3') returns a collection of elements sorted by their location in document.
In phpQuery, ['h1,h2,h3'] launch separated find queries for h1, h2 and h3. So the result collection is sorted by tag name in the find request.
In this case it is unable to quickly build a document's table of contents (headers hierarchy).

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant