Function getSpecTagNameConstructor

  • Get the constructor for the given tag name. Since there are some duplicate tag names, the priority is:

    1. HTML tags
    2. SVG tags
    3. MathML tags

    Meaning, if a tag name is duplicated between HTML and SVG tags, the HTML constructor will be returned. If the lower priority tag constructor is desired these types of situations, use its constructor list directly. For example,use svgSpecConstructorsByTagName directly.

    Parameters

    Returns SpecTagNameConstructor