CsQuery icon indicating copy to clipboard operation
CsQuery copied to clipboard

IDomContainer.Depth hangs

Open cyril265 opened this issue 11 years ago • 1 comments

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>";

cyril265 avatar Sep 02 '13 14:09 cyril265

I'm just back from vacation - thanks for the contributions & bug reports - will look over this and get everything up to date asap.

jamietre avatar Sep 09 '13 13:09 jamietre