blob: b595da45f4ff7cd82d5b1090ee28417724df9a5a [file] [log] [blame]
This tests that the click points for headings should use the only child's clickpoint instead of taking the mid point (which may be on nothing).
PASS: heading1.clickPointX === heading1.childAtIndex(0).clickPointX
PASS: heading1.clickPointY === heading1.childAtIndex(0).clickPointY
PASS: heading2.clickPointX === heading2.childAtIndex(0).clickPointX
PASS: heading2.clickPointY === heading2.childAtIndex(0).clickPointY
PASS: heading3.clickPointX == heading3.childAtIndex(0).clickPointX === false
PASS successfullyParsed is true
TEST COMPLETE