html: recognise the HTML5/WHATWG main and menuitem elements