function isLegalInTagName(c) {
        // We allow "-" in tag names since they're popular in Angular custom tag names
        // and will be legal in the web components spec.
        return (/[A-Za-z0-9\-]/).test(c);
    }
@private
@param {string} c the character to test
@return {boolean} true if c is legal in an HTML tag name