@JanMiksovsky is there any other way to check this? a call to innerHTML requires a serialization of the DOM which forces a layout. It can be slow, of course. Is there a DOM method/property to explore here instead?