In this sample HTML:
<html>
<body>
<div class='aaa' /><div class='bbb'>
</div>
</body>
</html>
When I examine the node of div with class 'aaa' the OuterHtml is <div class='aaa'></div> as it's reconstructed. The OuterLength is therefore the outer length of the OuterHtml propery (23), and not the original outer length (19). The original is stored in the _outerlength private property.
I need access to the original outer length or be able to get the original OuterHtml to get the length from there.
In this sample HTML:
When I examine the node of
divwith class 'aaa' the OuterHtml is<div class='aaa'></div>as it's reconstructed. The OuterLength is therefore the outer length of the OuterHtml propery (23), and not the original outer length (19). The original is stored in the _outerlength private property.I need access to the original outer length or be able to get the original OuterHtml to get the length from there.