CsQuery
CsQuery copied to clipboard
IDomContainer.Depth hangs
I am using CsQuery 1.3.5-beta5. Tryed it with different HTML document but the result is the same. Code:
var doc = CQ.Create(TEST_HTML);
var el = doc.Find("div > div > div").FirstElement();
Console.WriteLine(el.Depth);
private const String TEST_HTML =
@"<html>
<body>
<div>
<div id=""b"">
<div>
Field 1
</div>
</div>
</div>
</body>
</html>";
I'm just back from vacation - thanks for the contributions & bug reports - will look over this and get everything up to date asap.