ayseff / fizzler

Automatically exported from code.google.com/p/fizzler
GNU General Public License v3.0
0 stars 0 forks source link

Descendant Human Readable Selector is wrong #34

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. fizz.exe explain "p a"

What is the expected output? What do you see instead?
Expected: "Select <a> which are descendants of <p>."
But was:  "Select <p> whose descendant is <a>."

Please use labels and text to provide additional information.
The ordering is the wrong way round, we are saying that the parent is
selected when in fact it is the child that is selected.

Original issue reported on code.google.com by info%colinramsay.co.uk@gtempaccount.com on 15 May 2009 at 12:43

GoogleCodeExporter commented 9 years ago
Fixed in r206.

"Take all <p> elements, then take their descendants which are <a> elements and 
select
them."

Original comment by info%colinramsay.co.uk@gtempaccount.com on 15 May 2009 at 2:37

GoogleCodeExporter commented 9 years ago

Original comment by info%colinramsay.co.uk@gtempaccount.com on 15 May 2009 at 2:37