Invalid HTML

If you use invalid HTML, typically by placing HTML where you should not, the browser will ignore it and not add it to the browser's DOM. If the element were something like a span tag, it may not be perceivable that it's happened. If this happens, then the path finding for these tags and their children will not work, or will work strangely.

We don't have HTML validation rules in HLive, so there is no way of warning you that this is the problem.

Browser Quirks

Browsers are complex things and sometimes act in unexpected ways. For example, if you have a table without a table body tag (tbody), some browsers will add a tbody to the DOM. This breaks HLive's element path finding. Another example is that if you have multiple text nodes next to each other, some browsers will combine them.

We'll try to account for this where we can by mimicking the browser's behavior when doing a Tree Copy. We've done this for the text quirk, but not the tbody quirk yet.