pein0119 / phpquery

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

Pseudo classes don't work with parents() method #72

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. echo $myDOM->parents('div:first')->length();
2. echo $myDOM->parents('div:eq(2)')->length();
3. echo $myDOM->parents('div:last')->length();

What is the expected output? What do you see instead?
All this example should return an only one element. And it doesn't !

What version of the product are you using? On what operating system?
r286

Please provide any additional information below.
Pseudo classes work well with other method like find()...

Original issue reported on code.google.com by nicolas....@gmail.com on 30 Oct 2008 at 2:11

GoogleCodeExporter commented 8 years ago
Fixed in r287.

Original comment by tobiasz....@gmail.com on 30 Oct 2008 at 10:23