cxflag203 / cascadia

Automatically exported from code.google.com/p/cascadia

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

adjacent sibling selector should ignore text node and comment node

GoogleCodeExporter opened this issue · comments

for html: "<p></p>    <p></p>"
given selector: "p + p"
should get a <p> node, but got empty selection.

Attached file is the bug fix and updated unit test. Hope to help you.

Original issue reported on code.google.com by shm.s...@gmail.com on 17 Jan 2014 at 6:39

Attachments:

Fixed by revision 4a84b694f664db79c60ea9fb9115e0bc685e4b54

Original comment by andybalholm@gmail.com on 17 Jan 2014 at 4:01

  • Changed state: Fixed