vovanmozg / phpquery

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

addClass with "andSelf()" doesn't work #88

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. $myDOM->find('li')->find('>a')->andSelf()->addClass('arborescence_actuelle')
2.
3.

What is the expected output? What do you see instead?
Should add the class to both the A element and the LI element. Add the
class only to the LI element. 

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

Please provide any additional information below.

Original issue reported on code.google.com by nicolas....@gmail.com on 15 Dec 2008 at 3:44

GoogleCodeExporter commented 8 years ago

Original comment by tobiasz....@gmail.com on 15 Dec 2008 at 10:56

GoogleCodeExporter commented 8 years ago
Get it working now... should be invalid. Need test case.

Original comment by nicolas....@gmail.com on 16 Dec 2008 at 9:35

GoogleCodeExporter commented 8 years ago

Original comment by tobiasz....@gmail.com on 17 Dec 2008 at 2:12