Bugs happen
I also noticed that the highlight of the closest surrounding tag does not always seems logical. For instance, in 1 situation the <body> tag was highlighted, but also an </p> tag of an text section just below it, while its belonging start tag <p> was not.