Fix HTMLElementDerived::is_htmlelement to take non-HTML elements into account.