hoathienvu8x / phpquery

Automatically exported from code.google.com/p/phpquery
0 stars 0 forks source link

Using multiple selectors return element list in wrong order #241

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Current jQuery implementation works different.

If you have an XML with next structure:

foo bar baz bar baz


And you query foo vor this selector: "bar, baz"
PhpQuery will return this list: bar, bar, baz, baz
While jQuery preserves the original element order: bar, baz, bar, baz

Original issue reported on code.google.com by axl.cod...@gmail.com on 5 Sep 2014 at 11:07