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

Side by Side Diff: lib/src/html5_setters.g.dart

Issue 11315020: Add attribute information table so we generate correct setters. (Closed) Base URL: https://github.com/dart-lang/dart-web-components.git@master
Patch Set: Created 8 years, 1 month 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
OLDNEW
(Empty)
1 // This file is autogenerated by build/gen_html_setters.sh. Do not edit.
2 library html5_setters;
3 var htmlElementFields = const {
4 'AnchorElement': const {
5 'charset': 'charset',
6 'coords': 'coords',
7 'download': 'download',
8 'hash': 'hash',
9 'host': 'host',
10 'hostname': 'hostname',
11 'href': 'href',
12 'hreflang': 'hreflang',
13 'name': 'name',
14 'pathname': 'pathname',
15 'ping': 'ping',
16 'port': 'port',
17 'protocol': 'protocol',
18 'rel': 'rel',
19 'rev': 'rev',
20 'search': 'search',
21 'shape': 'shape',
22 'target': 'target',
23 'type': 'type',
24 },
25 'AreaElement': const {
26 'alt': 'alt',
27 'coords': 'coords',
28 'href': 'href',
29 'nohref': 'noHref',
30 'ping': 'ping',
31 'shape': 'shape',
32 'target': 'target',
33 },
34 'BRElement': const {
35 'clear': 'clear',
36 },
37 'BaseElement': const {
38 'href': 'href',
39 'target': 'target',
40 },
41 'BodyElement': const {
42 'alink': 'aLink',
43 'background': 'background',
44 'bgcolor': 'bgColor',
45 'link': 'link',
46 'vlink': 'vLink',
47 },
48 'ButtonElement': const {
49 'autofocus': 'autofocus',
50 'disabled': 'disabled',
51 'formaction': 'formAction',
52 'formenctype': 'formEnctype',
53 'formmethod': 'formMethod',
54 'formnovalidate': 'formNoValidate',
55 'formtarget': 'formTarget',
56 'name': 'name',
57 'type': 'type',
58 'value': 'value',
59 },
60 'CanvasElement': const {
61 'height': 'height',
62 'width': 'width',
63 },
64 'DListElement': const {
65 'compact': 'compact',
66 },
67 'DetailsElement': const {
68 'open': 'open',
69 },
70 'DivElement': const {
71 'align': 'align',
72 },
73 'Element': const {
74 'xtag': 'xtag',
75 'contenteditable': 'contentEditable',
76 'dir': 'dir',
77 'draggable': 'draggable',
78 'hidden': 'hidden',
79 'id': 'id',
80 'innerhtml': 'innerHTML',
81 'lang': 'lang',
82 'spellcheck': 'spellcheck',
83 'tabindex': 'tabIndex',
84 'title': 'title',
85 'translate': 'translate',
86 'dropzone': 'webkitdropzone',
87 'scrollleft': 'scrollLeft',
88 'scrolltop': 'scrollTop',
89 },
90 'EmbedElement': const {
91 'align': 'align',
92 'height': 'height',
93 'name': 'name',
94 'src': 'src',
95 'type': 'type',
96 'width': 'width',
97 },
98 'FieldSetElement': const {
99 'disabled': 'disabled',
100 'name': 'name',
101 },
102 'FormElement': const {
103 'accept-charset': 'acceptCharset',
104 'action': 'action',
105 'autocomplete': 'autocomplete',
106 'encoding': 'encoding',
107 'enctype': 'enctype',
108 'method': 'method',
109 'name': 'name',
110 'novalidate': 'noValidate',
111 'target': 'target',
112 },
113 'HRElement': const {
114 'align': 'align',
115 'noshade': 'noShade',
116 'size': 'size',
117 'width': 'width',
118 },
119 'HeadElement': const {
120 'profile': 'profile',
121 },
122 'HeadingElement': const {
123 'align': 'align',
124 },
125 'IFrameElement': const {
126 'align': 'align',
127 'frameborder': 'frameBorder',
128 'height': 'height',
129 'longdesc': 'longDesc',
130 'marginheight': 'marginHeight',
131 'marginwidth': 'marginWidth',
132 'name': 'name',
133 'sandbox': 'sandbox',
134 'scrolling': 'scrolling',
135 'src': 'src',
136 'srcdoc': 'srcdoc',
137 'width': 'width',
138 },
139 'ImageElement': const {
140 'align': 'align',
141 'alt': 'alt',
142 'border': 'border',
143 'crossorigin': 'crossOrigin',
144 'height': 'height',
145 'hspace': 'hspace',
146 'ismap': 'isMap',
147 'longdesc': 'longDesc',
148 'lowsrc': 'lowsrc',
149 'name': 'name',
150 'src': 'src',
151 'usemap': 'useMap',
152 'vspace': 'vspace',
153 'width': 'width',
154 },
155 'InputElement': const {
156 'accept': 'accept',
157 'align': 'align',
158 'alt': 'alt',
159 'autocomplete': 'autocomplete',
160 'autofocus': 'autofocus',
161 'checked': 'checked',
162 'defaultchecked': 'defaultChecked',
163 'default': 'defaultValue',
164 'dirname': 'dirName',
165 'disabled': 'disabled',
166 'files': 'files',
167 'formaction': 'formAction',
168 'formenctype': 'formEnctype',
169 'formmethod': 'formMethod',
170 'formnovalidate': 'formNoValidate',
171 'formtarget': 'formTarget',
172 'height': 'height',
173 'incremental': 'incremental',
174 'indeterminate': 'indeterminate',
175 'max': 'max',
176 'maxlength': 'maxLength',
177 'min': 'min',
178 'multiple': 'multiple',
179 'name': 'name',
180 'pattern': 'pattern',
181 'placeholder': 'placeholder',
182 'readonly': 'readOnly',
183 'required': 'required',
184 'selectiondirection': 'selectionDirection',
185 'selectionend': 'selectionEnd',
186 'selectionstart': 'selectionStart',
187 'size': 'size',
188 'src': 'src',
189 'step': 'step',
190 'type': 'type',
191 'usemap': 'useMap',
192 'value': 'value',
193 'valueasdate': 'valueAsDate',
194 'valueasnumber': 'valueAsNumber',
195 'webkitgrammar': 'webkitGrammar',
196 'webkitspeech': 'webkitSpeech',
197 'webkitdirectory': 'webkitdirectory',
198 'width': 'width',
199 },
200 'KeygenElement': const {
201 'autofocus': 'autofocus',
202 'challenge': 'challenge',
203 'disabled': 'disabled',
204 'keytype': 'keytype',
205 'name': 'name',
206 },
207 'LIElement': const {
208 'type': 'type',
209 'value': 'value',
210 },
211 'LabelElement': const {
212 'for': 'htmlFor',
213 },
214 'LegendElement': const {
215 'align': 'align',
216 },
217 'LinkElement': const {
218 'charset': 'charset',
219 'disabled': 'disabled',
220 'href': 'href',
221 'hreflang': 'hreflang',
222 'media': 'media',
223 'rel': 'rel',
224 'rev': 'rev',
225 'sizes': 'sizes',
226 'target': 'target',
227 'type': 'type',
228 },
229 'MapElement': const {
230 'name': 'name',
231 },
232 'MediaElement': const {
233 'autoplay': 'autoplay',
234 'controller': 'controller',
235 'controls': 'controls',
236 'currenttime': 'currentTime',
237 'defaultmuted': 'defaultMuted',
238 'defaultplaybackrate': 'defaultPlaybackRate',
239 'loop': 'loop',
240 'mediagroup': 'mediaGroup',
241 'muted': 'muted',
242 'playbackrate': 'playbackRate',
243 'preload': 'preload',
244 'src': 'src',
245 'volume': 'volume',
246 'webkitclosedcaptionsvisible': 'webkitClosedCaptionsVisible',
247 'webkitpreservespitch': 'webkitPreservesPitch',
248 },
249 'MenuElement': const {
250 'compact': 'compact',
251 },
252 'MetaElement': const {
253 'content': 'content',
254 'http-equiv': 'httpEquiv',
255 'name': 'name',
256 'scheme': 'scheme',
257 },
258 'MeterElement': const {
259 'high': 'high',
260 'low': 'low',
261 'max': 'max',
262 'min': 'min',
263 'optimum': 'optimum',
264 'value': 'value',
265 },
266 'ModElement': const {
267 'cite': 'cite',
268 'datetime': 'dateTime',
269 },
270 'OListElement': const {
271 'compact': 'compact',
272 'reversed': 'reversed',
273 'start': 'start',
274 'type': 'type',
275 },
276 'ObjectElement': const {
277 'align': 'align',
278 'archive': 'archive',
279 'border': 'border',
280 'code': 'code',
281 'codebase': 'codeBase',
282 'codetype': 'codeType',
283 'data': 'data',
284 'declare': 'declare',
285 'height': 'height',
286 'hspace': 'hspace',
287 'name': 'name',
288 'standby': 'standby',
289 'type': 'type',
290 'usemap': 'useMap',
291 'vspace': 'vspace',
292 'width': 'width',
293 },
294 'OptGroupElement': const {
295 'disabled': 'disabled',
296 'label': 'label',
297 },
298 'OptionElement': const {
299 'defaultselected': 'defaultSelected',
300 'disabled': 'disabled',
301 'label': 'label',
302 'selected': 'selected',
303 'value': 'value',
304 },
305 'OutputElement': const {
306 'default': 'defaultValue',
307 'for': 'htmlFor',
308 'name': 'name',
309 'value': 'value',
310 },
311 'ParagraphElement': const {
312 'align': 'align',
313 },
314 'ParamElement': const {
315 'name': 'name',
316 'type': 'type',
317 'value': 'value',
318 'valuetype': 'valueType',
319 },
320 'PreElement': const {
321 'width': 'width',
322 'wrap': 'wrap',
323 },
324 'ProgressElement': const {
325 'max': 'max',
326 'value': 'value',
327 },
328 'QuoteElement': const {
329 'cite': 'cite',
330 },
331 'ScriptElement': const {
332 'async': 'async',
333 'charset': 'charset',
334 'crossorigin': 'crossOrigin',
335 'defer': 'defer',
336 'event': 'event',
337 'for': 'htmlFor',
338 'src': 'src',
339 'type': 'type',
340 },
341 'SelectElement': const {
342 'autofocus': 'autofocus',
343 'disabled': 'disabled',
344 'length': 'length',
345 'multiple': 'multiple',
346 'name': 'name',
347 'required': 'required',
348 'selectedindex': 'selectedIndex',
349 'size': 'size',
350 'value': 'value',
351 },
352 'SourceElement': const {
353 'media': 'media',
354 'src': 'src',
355 'type': 'type',
356 },
357 'StyleElement': const {
358 'disabled': 'disabled',
359 'media': 'media',
360 'scoped': 'scoped',
361 'type': 'type',
362 },
363 'TableCaptionElement': const {
364 'align': 'align',
365 },
366 'TableCellElement': const {
367 'abbr': 'abbr',
368 'align': 'align',
369 'axis': 'axis',
370 'bgcolor': 'bgColor',
371 'ch': 'ch',
372 'choff': 'chOff',
373 'colspan': 'colSpan',
374 'headers': 'headers',
375 'height': 'height',
376 'nowrap': 'noWrap',
377 'rowspan': 'rowSpan',
378 'scope': 'scope',
379 'valign': 'vAlign',
380 'width': 'width',
381 },
382 'TableColElement': const {
383 'align': 'align',
384 'ch': 'ch',
385 'choff': 'chOff',
386 'span': 'span',
387 'valign': 'vAlign',
388 'width': 'width',
389 },
390 'TableElement': const {
391 'align': 'align',
392 'bgcolor': 'bgColor',
393 'border': 'border',
394 'caption': 'caption',
395 'cellpadding': 'cellPadding',
396 'cellspacing': 'cellSpacing',
397 'frame': 'frame',
398 'rules': 'rules',
399 'summary': 'summary',
400 'tfoot': 'tFoot',
401 'thead': 'tHead',
402 'width': 'width',
403 },
404 'TableRowElement': const {
405 'align': 'align',
406 'bgcolor': 'bgColor',
407 'ch': 'ch',
408 'choff': 'chOff',
409 'valign': 'vAlign',
410 },
411 'TableSectionElement': const {
412 'align': 'align',
413 'ch': 'ch',
414 'choff': 'chOff',
415 'valign': 'vAlign',
416 },
417 'TextAreaElement': const {
418 'autofocus': 'autofocus',
419 'cols': 'cols',
420 'default': 'defaultValue',
421 'dirname': 'dirName',
422 'disabled': 'disabled',
423 'maxlength': 'maxLength',
424 'name': 'name',
425 'placeholder': 'placeholder',
426 'readonly': 'readOnly',
427 'required': 'required',
428 'rows': 'rows',
429 'selectiondirection': 'selectionDirection',
430 'selectionend': 'selectionEnd',
431 'selectionstart': 'selectionStart',
432 'value': 'value',
433 'wrap': 'wrap',
434 },
435 'TrackElement': const {
436 'default': 'defaultValue',
437 'kind': 'kind',
438 'label': 'label',
439 'src': 'src',
440 'srclang': 'srclang',
441 },
442 'UListElement': const {
443 'compact': 'compact',
444 'type': 'type',
445 },
446 'VideoElement': const {
447 'height': 'height',
448 'poster': 'poster',
449 'width': 'width',
450 },
451 };
452
453 var htmlElementExtends = const {
454 'AnchorElement': 'Element',
455 'AreaElement': 'Element',
456 'AudioElement': 'MediaElement',
457 'BRElement': 'Element',
458 'BaseElement': 'Element',
459 'BodyElement': 'Element',
460 'ButtonElement': 'Element',
461 'CanvasElement': 'Element',
462 'DListElement': 'Element',
463 'DataListElement': 'Element',
464 'DetailsElement': 'Element',
465 'DivElement': 'Element',
466 'EmbedElement': 'Element',
467 'FieldSetElement': 'Element',
468 'FormElement': 'Element',
469 'HRElement': 'Element',
470 'HeadElement': 'Element',
471 'HeadingElement': 'Element',
472 'HtmlElement': 'Element',
473 'IFrameElement': 'Element',
474 'ImageElement': 'Element',
475 'InputElement': 'Element',
476 'KeygenElement': 'Element',
477 'LIElement': 'Element',
478 'LabelElement': 'Element',
479 'LegendElement': 'Element',
480 'LinkElement': 'Element',
481 'MapElement': 'Element',
482 'MediaElement': 'Element',
483 'MenuElement': 'Element',
484 'MetaElement': 'Element',
485 'MeterElement': 'Element',
486 'ModElement': 'Element',
487 'OListElement': 'Element',
488 'ObjectElement': 'Element',
489 'OptGroupElement': 'Element',
490 'OptionElement': 'Element',
491 'OutputElement': 'Element',
492 'ParagraphElement': 'Element',
493 'ParamElement': 'Element',
494 'PreElement': 'Element',
495 'ProgressElement': 'Element',
496 'QuoteElement': 'Element',
497 'ScriptElement': 'Element',
498 'SelectElement': 'Element',
499 'SourceElement': 'Element',
500 'SpanElement': 'Element',
501 'StyleElement': 'Element',
502 'TableCaptionElement': 'Element',
503 'TableCellElement': 'Element',
504 'TableColElement': 'Element',
505 'TableElement': 'Element',
506 'TableRowElement': 'Element',
507 'TableSectionElement': 'Element',
508 'TextAreaElement': 'Element',
509 'TitleElement': 'Element',
510 'TrackElement': 'Element',
511 'UListElement': 'Element',
512 'UnknownElement': 'Element',
513 'VideoElement': 'MediaElement',
514 };
OLDNEW
« lib/src/emitters.dart ('K') | « lib/src/emitters.dart ('k') | lib/src/html5_utils.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698