DescriptionAdd 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=
Committed: https://crrev.com/631706583e06a2b9209cc5a6c6ce9d776da910dd
Cr-Commit-Position: refs/heads/master@{#427045}
Patch Set 1 #Patch Set 2 : Add function to check what HTML Element is the interface for a given tag name. Undefined tag names … #Patch Set 3 : Add function to check what HTML Element is the interface for a given tag name. Undefined tag names … #
Total comments: 1
Patch Set 4 : Two-space indentation #
Total comments: 4
Patch Set 5 : Made changes #Patch Set 6 : Made changes #
Total comments: 1
Patch Set 7 : Made changes #Patch Set 8 : Made changes #
Messages
Total messages: 27 (10 generated)
|