Add function to check what HTML Element interface corresponds to a given tag name.
HTMLElementTypeHelpers.h (generated) now has an enum, HTMLElementType, for each HTML element interface in htmltagnames.in (Not generated for SVG elements) New function htmlElementTypeForTag returns HTMLElementType Tag names that are undefined return HTMLUnknownElement New ElementTypeHelpers.cpp.tmpl for HTML namespace with definition of function Generates HTMLElementTypeHelpers.cpp This function is needed in custom elements algorithms. BUG= Review-Url: https://codereview.chromium.org/2419383002 Cr-Commit-Position: refs/heads/master@{#427045}
Showing
Please register or sign in to comment