| Index: lib/src/html5_utils.dart
|
| diff --git a/lib/src/html5_utils.dart b/lib/src/html5_utils.dart
|
| index 8f2db61e5277d302239dd152370b58a344fde641..620af0a58dbd9b7d614abe66f36010374d9a4f2e 100644
|
| --- a/lib/src/html5_utils.dart
|
| +++ b/lib/src/html5_utils.dart
|
| @@ -16,7 +16,7 @@ String typeForHtmlTag(String tag) {
|
| var type = htmlElementNames[tag];
|
| // Note: this will eventually be the component's class name if it is a
|
| // known x-tag.
|
| - return type == null ? 'UnknownElement' : type;
|
| + return type == null ? 'html.UnknownElement' : type;
|
| }
|
|
|
| /**
|
| @@ -30,116 +30,116 @@ String typeForHtmlTag(String tag) {
|
| * command, data, dialog, td, th, and time.
|
| */
|
| const htmlElementNames = const {
|
| - 'a': 'AnchorElement',
|
| - 'abbr': 'Element',
|
| - 'address': 'Element',
|
| - 'area': 'AreaElement',
|
| - 'article': 'Element',
|
| - 'aside': 'Element',
|
| - 'audio': 'AudioElement',
|
| - 'b': 'Element',
|
| - 'base': 'BaseElement',
|
| - 'bdi': 'Element',
|
| - 'bdo': 'Element',
|
| - 'blockquote': 'QuoteElement',
|
| - 'body': 'BodyElement',
|
| - 'br': 'BRElement',
|
| - 'button': 'ButtonElement',
|
| - 'canvas': 'CanvasElement',
|
| - 'caption': 'TableCaptionElement',
|
| - 'cite': 'Element',
|
| - 'code': 'Element',
|
| - 'col': 'TableColElement',
|
| - 'colgroup': 'TableColElement',
|
| - 'command': 'Element', // see doc comment, was: 'CommandElement'
|
| - 'data': 'Element', // see doc comment, was: 'DataElement'
|
| - 'datalist': 'DataListElement',
|
| - 'dd': 'Element',
|
| - 'del': 'ModElement',
|
| - 'details': 'DetailsElement',
|
| - 'dfn': 'Element',
|
| - 'dialog': 'Element', // see doc comment, was: 'DialogElement'
|
| - 'div': 'DivElement',
|
| - 'dl': 'DListElement',
|
| - 'dt': 'Element',
|
| - 'em': 'Element',
|
| - 'embed': 'EmbedElement',
|
| - 'fieldset': 'FieldSetElement',
|
| - 'figcaption': 'Element',
|
| - 'figure': 'Element',
|
| - 'footer': 'Element',
|
| - 'form': 'FormElement',
|
| - 'h1': 'HeadingElement',
|
| - 'h2': 'HeadingElement',
|
| - 'h3': 'HeadingElement',
|
| - 'h4': 'HeadingElement',
|
| - 'h5': 'HeadingElement',
|
| - 'h6': 'HeadingElement',
|
| - 'head': 'HeadElement',
|
| - 'header': 'Element',
|
| - 'hgroup': 'Element',
|
| - 'hr': 'HRElement',
|
| - 'html': 'HtmlElement',
|
| - 'i': 'Element',
|
| - 'iframe': 'IFrameElement',
|
| - 'img': 'ImageElement',
|
| - 'input': 'InputElement',
|
| - 'ins': 'ModElement',
|
| - 'kbd': 'Element',
|
| - 'keygen': 'KeygenElement',
|
| - 'label': 'LabelElement',
|
| - 'legend': 'LegendElement',
|
| - 'li': 'LIElement',
|
| - 'link': 'LinkElement',
|
| - 'map': 'MapElement',
|
| - 'mark': 'Element',
|
| - 'menu': 'MenuElement',
|
| - 'meta': 'MetaElement',
|
| - 'meter': 'MeterElement',
|
| - 'nav': 'Element',
|
| - 'noscript': 'Element',
|
| - 'object': 'ObjectElement',
|
| - 'ol': 'OListElement',
|
| - 'optgroup': 'OptGroupElement',
|
| - 'option': 'OptionElement',
|
| - 'output': 'OutputElement',
|
| - 'p': 'ParagraphElement',
|
| - 'param': 'ParamElement',
|
| - 'pre': 'PreElement',
|
| - 'progress': 'ProgressElement',
|
| - 'q': 'QuoteElement',
|
| - 'rp': 'Element',
|
| - 'rt': 'Element',
|
| - 'ruby': 'Element',
|
| - 's': 'Element',
|
| - 'samp': 'Element',
|
| - 'script': 'ScriptElement',
|
| - 'section': 'Element',
|
| - 'select': 'SelectElement',
|
| - 'small': 'Element',
|
| - 'source': 'SourceElement',
|
| - 'span': 'SpanElement',
|
| - 'strong': 'Element',
|
| - 'style': 'StyleElement',
|
| - 'sub': 'Element',
|
| - 'summary': 'Element',
|
| - 'sup': 'Element',
|
| - 'table': 'TableElement',
|
| - 'tbody': 'TableSectionElement',
|
| - 'td': 'TableCellElement', // see doc comment, was: 'TableDataCellElement'
|
| - 'textarea': 'TextAreaElement',
|
| - 'tfoot': 'TableSectionElement',
|
| - 'th': 'TableCellElement', // see doc comment, was: 'TableHeaderCellElement'
|
| - 'thead': 'TableSectionElement',
|
| - 'time': 'Element', // see doc comment, was: 'TimeElement'
|
| - 'title': 'TitleElement',
|
| - 'tr': 'TableRowElement',
|
| - 'track': 'TrackElement',
|
| - 'u': 'Element',
|
| - 'ul': 'UListElement',
|
| - 'var': 'Element',
|
| - 'video': 'VideoElement',
|
| - 'wbr': 'Element',
|
| + 'a': 'html.AnchorElement',
|
| + 'abbr': 'html.Element',
|
| + 'address': 'html.Element',
|
| + 'area': 'html.AreaElement',
|
| + 'article': 'html.Element',
|
| + 'aside': 'html.Element',
|
| + 'audio': 'web_audio.AudioElement',
|
| + 'b': 'html.Element',
|
| + 'base': 'html.BaseElement',
|
| + 'bdi': 'html.Element',
|
| + 'bdo': 'html.Element',
|
| + 'blockquote': 'html.QuoteElement',
|
| + 'body': 'html.BodyElement',
|
| + 'br': 'html.BRElement',
|
| + 'button': 'html.ButtonElement',
|
| + 'canvas': 'html.CanvasElement',
|
| + 'caption': 'html.TableCaptionElement',
|
| + 'cite': 'html.Element',
|
| + 'code': 'html.Element',
|
| + 'col': 'html.TableColElement',
|
| + 'colgroup': 'html.TableColElement',
|
| + 'command': 'html.Element', // see doc comment, was: 'CommandElement'
|
| + 'data': 'html.Element', // see doc comment, was: 'DataElement'
|
| + 'datalist': 'html.DataListElement',
|
| + 'dd': 'html.Element',
|
| + 'del': 'html.ModElement',
|
| + 'details': 'html.DetailsElement',
|
| + 'dfn': 'html.Element',
|
| + 'dialog': 'html.Element', // see doc comment, was: 'DialogElement'
|
| + 'div': 'html.DivElement',
|
| + 'dl': 'html.DListElement',
|
| + 'dt': 'html.Element',
|
| + 'em': 'html.Element',
|
| + 'embed': 'html.EmbedElement',
|
| + 'fieldset': 'html.FieldSetElement',
|
| + 'figcaption': 'html.Element',
|
| + 'figure': 'html.Element',
|
| + 'footer': 'html.Element',
|
| + 'form': 'html.FormElement',
|
| + 'h1': 'html.HeadingElement',
|
| + 'h2': 'html.HeadingElement',
|
| + 'h3': 'html.HeadingElement',
|
| + 'h4': 'html.HeadingElement',
|
| + 'h5': 'html.HeadingElement',
|
| + 'h6': 'html.HeadingElement',
|
| + 'head': 'html.HeadElement',
|
| + 'header': 'html.Element',
|
| + 'hgroup': 'html.Element',
|
| + 'hr': 'html.HRElement',
|
| + 'html': 'html.HtmlElement',
|
| + 'i': 'html.Element',
|
| + 'iframe': 'html.IFrameElement',
|
| + 'img': 'html.ImageElement',
|
| + 'input': 'html.InputElement',
|
| + 'ins': 'html.ModElement',
|
| + 'kbd': 'html.Element',
|
| + 'keygen': 'html.KeygenElement',
|
| + 'label': 'html.LabelElement',
|
| + 'legend': 'html.LegendElement',
|
| + 'li': 'html.LIElement',
|
| + 'link': 'html.LinkElement',
|
| + 'map': 'html.MapElement',
|
| + 'mark': 'html.Element',
|
| + 'menu': 'html.MenuElement',
|
| + 'meta': 'html.MetaElement',
|
| + 'meter': 'html.MeterElement',
|
| + 'nav': 'html.Element',
|
| + 'noscript': 'html.Element',
|
| + 'object': 'html.ObjectElement',
|
| + 'ol': 'html.OListElement',
|
| + 'optgroup': 'html.OptGroupElement',
|
| + 'option': 'html.OptionElement',
|
| + 'output': 'html.OutputElement',
|
| + 'p': 'html.ParagraphElement',
|
| + 'param': 'html.ParamElement',
|
| + 'pre': 'html.PreElement',
|
| + 'progress': 'html.ProgressElement',
|
| + 'q': 'html.QuoteElement',
|
| + 'rp': 'html.Element',
|
| + 'rt': 'html.Element',
|
| + 'ruby': 'html.Element',
|
| + 's': 'html.Element',
|
| + 'samp': 'html.Element',
|
| + 'script': 'html.ScriptElement',
|
| + 'section': 'html.Element',
|
| + 'select': 'html.SelectElement',
|
| + 'small': 'html.Element',
|
| + 'source': 'html.SourceElement',
|
| + 'span': 'html.SpanElement',
|
| + 'strong': 'html.Element',
|
| + 'style': 'html.StyleElement',
|
| + 'sub': 'html.Element',
|
| + 'summary': 'html.Element',
|
| + 'sup': 'html.Element',
|
| + 'table': 'html.TableElement',
|
| + 'tbody': 'html.TableSectionElement',
|
| + 'td': 'html.TableCellElement', // see doc comment, was: 'TableDataCellElement'
|
| + 'textarea': 'html.TextAreaElement',
|
| + 'tfoot': 'html.TableSectionElement',
|
| + 'th': 'html.TableCellElement', // see doc comment, was: 'TableHeaderCellElement'
|
| + 'thead': 'html.TableSectionElement',
|
| + 'time': 'html.Element', // see doc comment, was: 'TimeElement'
|
| + 'title': 'html.TitleElement',
|
| + 'tr': 'html.TableRowElement',
|
| + 'track': 'html.TrackElement',
|
| + 'u': 'html.Element',
|
| + 'ul': 'html.UListElement',
|
| + 'var': 'html.Element',
|
| + 'video': 'html.VideoElement',
|
| + 'wbr': 'html.Element',
|
| };
|
|
|
|
|
|
|