Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1911)

Side by Side Diff: packages/polymer/lib/html_element_names.dart

Issue 2312183003: Removed Polymer from Observatory deps (Closed)
Patch Set: Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « packages/polymer/lib/deserialize.dart ('k') | packages/polymer/lib/init.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file.
4 library polymer.html_element_names;
5
6 /**
7 * HTML element to DOM type mapping. Source:
8 * <http://dev.w3.org/html5/spec/section-index.html#element-interfaces>
9 *
10 * The 'HTML' prefix has been removed to match `dart:html`, as per:
11 * <http://code.google.com/p/dart/source/browse/branches/bleeding_edge/dart/lib/ html/scripts/htmlrenamer.py>
12 * It does not appear any element types are being renamed other than the prefix.
13 * However there does not appear to be the last subtypes for the following tags:
14 * command, data, td, th, and time.
15 */
16 const HTML_ELEMENT_NAMES = const {
17 'a': 'AnchorElement',
18 'abbr': 'Element',
19 'address': 'Element',
20 'area': 'AreaElement',
21 'article': 'Element',
22 'aside': 'Element',
23 'audio': 'AudioElement',
24 'b': 'Element',
25 'base': 'BaseElement',
26 'bdi': 'Element',
27 'bdo': 'Element',
28 'blockquote': 'QuoteElement',
29 'body': 'BodyElement',
30 'br': 'BRElement',
31 'button': 'ButtonElement',
32 'canvas': 'CanvasElement',
33 'caption': 'TableCaptionElement',
34 'cite': 'Element',
35 'code': 'Element',
36 'col': 'TableColElement',
37 'colgroup': 'TableColElement',
38 'command': 'Element', // see doc comment, was: 'CommandElement'
39 'data': 'Element', // see doc comment, was: 'DataElement'
40 'datalist': 'DataListElement',
41 'dd': 'Element',
42 'del': 'ModElement',
43 'details': 'DetailsElement',
44 'dfn': 'Element',
45 'dialog': 'DialogElement',
46 'div': 'DivElement',
47 'dl': 'DListElement',
48 'dt': 'Element',
49 'em': 'Element',
50 'embed': 'EmbedElement',
51 'fieldset': 'FieldSetElement',
52 'figcaption': 'Element',
53 'figure': 'Element',
54 'footer': 'Element',
55 'form': 'FormElement',
56 'h1': 'HeadingElement',
57 'h2': 'HeadingElement',
58 'h3': 'HeadingElement',
59 'h4': 'HeadingElement',
60 'h5': 'HeadingElement',
61 'h6': 'HeadingElement',
62 'head': 'HeadElement',
63 'header': 'Element',
64 'hgroup': 'Element',
65 'hr': 'HRElement',
66 'html': 'HtmlElement',
67 'i': 'Element',
68 'iframe': 'IFrameElement',
69 'img': 'ImageElement',
70 'input': 'InputElement',
71 'ins': 'ModElement',
72 'kbd': 'Element',
73 'keygen': 'KeygenElement',
74 'label': 'LabelElement',
75 'legend': 'LegendElement',
76 'li': 'LIElement',
77 'link': 'LinkElement',
78 'map': 'MapElement',
79 'mark': 'Element',
80 'menu': 'MenuElement',
81 'meta': 'MetaElement',
82 'meter': 'MeterElement',
83 'nav': 'Element',
84 'noscript': 'Element',
85 'object': 'ObjectElement',
86 'ol': 'OListElement',
87 'optgroup': 'OptGroupElement',
88 'option': 'OptionElement',
89 'output': 'OutputElement',
90 'p': 'ParagraphElement',
91 'param': 'ParamElement',
92 'pre': 'PreElement',
93 'progress': 'ProgressElement',
94 'q': 'QuoteElement',
95 'rp': 'Element',
96 'rt': 'Element',
97 'ruby': 'Element',
98 's': 'Element',
99 'samp': 'Element',
100 'script': 'ScriptElement',
101 'section': 'Element',
102 'select': 'SelectElement',
103 'small': 'Element',
104 'source': 'SourceElement',
105 'span': 'SpanElement',
106 'strong': 'Element',
107 'style': 'StyleElement',
108 'sub': 'Element',
109 'summary': 'Element',
110 'sup': 'Element',
111 'table': 'TableElement',
112 'tbody': 'TableSectionElement',
113 'td': 'TableCellElement', // see doc comment, was: 'TableDataCellElement'
114 'template': 'TemplateElement',
115 'textarea': 'TextAreaElement',
116 'tfoot': 'TableSectionElement',
117 'th': 'TableCellElement', // see doc comment, was: 'TableHeaderCellElement'
118 'thead': 'TableSectionElement',
119 'time': 'Element', // see doc comment, was: 'TimeElement'
120 'title': 'TitleElement',
121 'tr': 'TableRowElement',
122 'track': 'TrackElement',
123 'u': 'Element',
124 'ul': 'UListElement',
125 'var': 'Element',
126 'video': 'VideoElement',
127 'wbr': 'Element',
128 };
OLDNEW
« no previous file with comments | « packages/polymer/lib/deserialize.dart ('k') | packages/polymer/lib/init.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698