Descendant Human Readable Selector is wrong
Closed this issue · 2 comments
GoogleCodeExporter commented
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
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
Original comment by info%colinramsay.co.uk@gtempaccount.com
on 15 May 2009 at 2:37
- Changed state: Fixed