| import 'dart:html'; |
| |
| /* generated for testing custom elements */ |
| |
| class Foo_a extends AnchorElement { |
| static const tag = 'x-foo-a'; |
| Foo_a.created() : super.created(); |
| } |
| class Foo_abbr extends HtmlElement { |
| static const tag = 'x-foo-abbr'; |
| Foo_abbr.created() : super.created(); |
| } |
| class Foo_address extends HtmlElement { |
| static const tag = 'x-foo-address'; |
| Foo_address.created() : super.created(); |
| } |
| class Foo_area extends AreaElement { |
| static const tag = 'x-foo-area'; |
| Foo_area.created() : super.created(); |
| } |
| class Foo_article extends HtmlElement { |
| static const tag = 'x-foo-article'; |
| Foo_article.created() : super.created(); |
| } |
| class Foo_aside extends HtmlElement { |
| static const tag = 'x-foo-aside'; |
| Foo_aside.created() : super.created(); |
| } |
| class Foo_audio extends AudioElement { |
| static const tag = 'x-foo-audio'; |
| Foo_audio.created() : super.created(); |
| } |
| class Foo_b extends HtmlElement { |
| static const tag = 'x-foo-b'; |
| Foo_b.created() : super.created(); |
| } |
| class Foo_base extends BaseElement { |
| static const tag = 'x-foo-base'; |
| Foo_base.created() : super.created(); |
| } |
| class Foo_bdi extends HtmlElement { |
| static const tag = 'x-foo-bdi'; |
| Foo_bdi.created() : super.created(); |
| } |
| class Foo_bdo extends HtmlElement { |
| static const tag = 'x-foo-bdo'; |
| Foo_bdo.created() : super.created(); |
| } |
| class Foo_blockquote extends QuoteElement { |
| static const tag = 'x-foo-blockquote'; |
| Foo_blockquote.created() : super.created(); |
| } |
| class Foo_br extends BRElement { |
| static const tag = 'x-foo-br'; |
| Foo_br.created() : super.created(); |
| } |
| class Foo_button extends ButtonElement { |
| static const tag = 'x-foo-button'; |
| Foo_button.created() : super.created(); |
| } |
| class Foo_canvas extends CanvasElement { |
| static const tag = 'x-foo-canvas'; |
| Foo_canvas.created() : super.created(); |
| } |
| class Foo_caption extends TableCaptionElement { |
| static const tag = 'x-foo-caption'; |
| Foo_caption.created() : super.created(); |
| } |
| class Foo_cite extends HtmlElement { |
| static const tag = 'x-foo-cite'; |
| Foo_cite.created() : super.created(); |
| } |
| class Foo_code extends HtmlElement { |
| static const tag = 'x-foo-code'; |
| Foo_code.created() : super.created(); |
| } |
| class Foo_col extends TableColElement { |
| static const tag = 'x-foo-col'; |
| Foo_col.created() : super.created(); |
| } |
| class Foo_colgroup extends TableColElement { |
| static const tag = 'x-foo-colgroup'; |
| Foo_colgroup.created() : super.created(); |
| } |
| class Foo_command extends HtmlElement { |
| static const tag = 'x-foo-command'; |
| Foo_command.created() : super.created(); |
| } |
| class Foo_datalist extends DataListElement { |
| static const tag = 'x-foo-datalist'; |
| Foo_datalist.created() : super.created(); |
| } |
| class Foo_dd extends HtmlElement { |
| static const tag = 'x-foo-dd'; |
| Foo_dd.created() : super.created(); |
| } |
| class Foo_del extends ModElement { |
| static const tag = 'x-foo-del'; |
| Foo_del.created() : super.created(); |
| } |
| class Foo_details extends DetailsElement { |
| static const tag = 'x-foo-details'; |
| Foo_details.created() : super.created(); |
| } |
| class Foo_dfn extends HtmlElement { |
| static const tag = 'x-foo-dfn'; |
| Foo_dfn.created() : super.created(); |
| } |
| class Foo_dialog extends DialogElement { |
| static const tag = 'x-foo-dialog'; |
| Foo_dialog.created() : super.created(); |
| } |
| class Foo_div extends DivElement { |
| static const tag = 'x-foo-div'; |
| Foo_div.created() : super.created(); |
| } |
| class Foo_dl extends DListElement { |
| static const tag = 'x-foo-dl'; |
| Foo_dl.created() : super.created(); |
| } |
| class Foo_dt extends HtmlElement { |
| static const tag = 'x-foo-dt'; |
| Foo_dt.created() : super.created(); |
| } |
| class Foo_em extends HtmlElement { |
| static const tag = 'x-foo-em'; |
| Foo_em.created() : super.created(); |
| } |
| class Foo_embed extends EmbedElement { |
| static const tag = 'x-foo-embed'; |
| Foo_embed.created() : super.created(); |
| } |
| class Foo_fieldset extends FieldSetElement { |
| static const tag = 'x-foo-fieldset'; |
| Foo_fieldset.created() : super.created(); |
| } |
| class Foo_figcaption extends HtmlElement { |
| static const tag = 'x-foo-figcaption'; |
| Foo_figcaption.created() : super.created(); |
| } |
| class Foo_figure extends HtmlElement { |
| static const tag = 'x-foo-figure'; |
| Foo_figure.created() : super.created(); |
| } |
| class Foo_footer extends HtmlElement { |
| static const tag = 'x-foo-footer'; |
| Foo_footer.created() : super.created(); |
| } |
| class Foo_form extends FormElement { |
| static const tag = 'x-foo-form'; |
| Foo_form.created() : super.created(); |
| } |
| class Foo_h1 extends HeadingElement { |
| static const tag = 'x-foo-h1'; |
| Foo_h1.created() : super.created(); |
| } |
| class Foo_h2 extends HeadingElement { |
| static const tag = 'x-foo-h2'; |
| Foo_h2.created() : super.created(); |
| } |
| class Foo_h3 extends HeadingElement { |
| static const tag = 'x-foo-h3'; |
| Foo_h3.created() : super.created(); |
| } |
| class Foo_h4 extends HeadingElement { |
| static const tag = 'x-foo-h4'; |
| Foo_h4.created() : super.created(); |
| } |
| class Foo_h5 extends HeadingElement { |
| static const tag = 'x-foo-h5'; |
| Foo_h5.created() : super.created(); |
| } |
| class Foo_h6 extends HeadingElement { |
| static const tag = 'x-foo-h6'; |
| Foo_h6.created() : super.created(); |
| } |
| class Foo_header extends HtmlElement { |
| static const tag = 'x-foo-header'; |
| Foo_header.created() : super.created(); |
| } |
| class Foo_hgroup extends HtmlElement { |
| static const tag = 'x-foo-hgroup'; |
| Foo_hgroup.created() : super.created(); |
| } |
| class Foo_hr extends HRElement { |
| static const tag = 'x-foo-hr'; |
| Foo_hr.created() : super.created(); |
| } |
| class Foo_i extends HtmlElement { |
| static const tag = 'x-foo-i'; |
| Foo_i.created() : super.created(); |
| } |
| class Foo_iframe extends IFrameElement { |
| static const tag = 'x-foo-iframe'; |
| Foo_iframe.created() : super.created(); |
| } |
| class Foo_img extends ImageElement { |
| static const tag = 'x-foo-img'; |
| Foo_img.created() : super.created(); |
| } |
| class Foo_input extends InputElement { |
| static const tag = 'x-foo-input'; |
| Foo_input.created() : super.created(); |
| } |
| class Foo_ins extends ModElement { |
| static const tag = 'x-foo-ins'; |
| Foo_ins.created() : super.created(); |
| } |
| class Foo_kbd extends HtmlElement { |
| static const tag = 'x-foo-kbd'; |
| Foo_kbd.created() : super.created(); |
| } |
| class Foo_keygen extends KeygenElement { |
| static const tag = 'x-foo-keygen'; |
| Foo_keygen.created() : super.created(); |
| } |
| class Foo_label extends LabelElement { |
| static const tag = 'x-foo-label'; |
| Foo_label.created() : super.created(); |
| } |
| class Foo_legend extends LegendElement { |
| static const tag = 'x-foo-legend'; |
| Foo_legend.created() : super.created(); |
| } |
| class Foo_li extends LIElement { |
| static const tag = 'x-foo-li'; |
| Foo_li.created() : super.created(); |
| } |
| class Foo_link extends LinkElement { |
| static const tag = 'x-foo-link'; |
| Foo_link.created() : super.created(); |
| } |
| class Foo_map extends MapElement { |
| static const tag = 'x-foo-map'; |
| Foo_map.created() : super.created(); |
| } |
| class Foo_mark extends HtmlElement { |
| static const tag = 'x-foo-mark'; |
| Foo_mark.created() : super.created(); |
| } |
| class Foo_menu extends MenuElement { |
| static const tag = 'x-foo-menu'; |
| Foo_menu.created() : super.created(); |
| } |
| class Foo_meta extends MetaElement { |
| static const tag = 'x-foo-meta'; |
| Foo_meta.created() : super.created(); |
| } |
| class Foo_meter extends MeterElement { |
| static const tag = 'x-foo-meter'; |
| Foo_meter.created() : super.created(); |
| } |
| class Foo_nav extends HtmlElement { |
| static const tag = 'x-foo-nav'; |
| Foo_nav.created() : super.created(); |
| } |
| class Foo_noscript extends HtmlElement { |
| static const tag = 'x-foo-noscript'; |
| Foo_noscript.created() : super.created(); |
| } |
| class Foo_object extends ObjectElement { |
| static const tag = 'x-foo-object'; |
| Foo_object.created() : super.created(); |
| } |
| class Foo_ol extends OListElement { |
| static const tag = 'x-foo-ol'; |
| Foo_ol.created() : super.created(); |
| } |
| class Foo_optgroup extends OptGroupElement { |
| static const tag = 'x-foo-optgroup'; |
| Foo_optgroup.created() : super.created(); |
| } |
| class Foo_option extends OptionElement { |
| static const tag = 'x-foo-option'; |
| Foo_option.created() : super.created(); |
| } |
| class Foo_output extends OutputElement { |
| static const tag = 'x-foo-output'; |
| Foo_output.created() : super.created(); |
| } |
| class Foo_p extends ParagraphElement { |
| static const tag = 'x-foo-p'; |
| Foo_p.created() : super.created(); |
| } |
| class Foo_param extends ParamElement { |
| static const tag = 'x-foo-param'; |
| Foo_param.created() : super.created(); |
| } |
| class Foo_pre extends PreElement { |
| static const tag = 'x-foo-pre'; |
| Foo_pre.created() : super.created(); |
| } |
| class Foo_progress extends ProgressElement { |
| static const tag = 'x-foo-progress'; |
| Foo_progress.created() : super.created(); |
| } |
| class Foo_q extends QuoteElement { |
| static const tag = 'x-foo-q'; |
| Foo_q.created() : super.created(); |
| } |
| class Foo_rp extends HtmlElement { |
| static const tag = 'x-foo-rp'; |
| Foo_rp.created() : super.created(); |
| } |
| class Foo_rt extends HtmlElement { |
| static const tag = 'x-foo-rt'; |
| Foo_rt.created() : super.created(); |
| } |
| class Foo_ruby extends HtmlElement { |
| static const tag = 'x-foo-ruby'; |
| Foo_ruby.created() : super.created(); |
| } |
| class Foo_s extends HtmlElement { |
| static const tag = 'x-foo-s'; |
| Foo_s.created() : super.created(); |
| } |
| class Foo_samp extends HtmlElement { |
| static const tag = 'x-foo-samp'; |
| Foo_samp.created() : super.created(); |
| } |
| class Foo_script extends ScriptElement { |
| static const tag = 'x-foo-script'; |
| Foo_script.created() : super.created(); |
| } |
| class Foo_section extends HtmlElement { |
| static const tag = 'x-foo-section'; |
| Foo_section.created() : super.created(); |
| } |
| class Foo_select extends SelectElement { |
| static const tag = 'x-foo-select'; |
| Foo_select.created() : super.created(); |
| } |
| class Foo_small extends HtmlElement { |
| static const tag = 'x-foo-small'; |
| Foo_small.created() : super.created(); |
| } |
| class Foo_source extends SourceElement { |
| static const tag = 'x-foo-source'; |
| Foo_source.created() : super.created(); |
| } |
| class Foo_span extends SpanElement { |
| static const tag = 'x-foo-span'; |
| Foo_span.created() : super.created(); |
| } |
| class Foo_strong extends HtmlElement { |
| static const tag = 'x-foo-strong'; |
| Foo_strong.created() : super.created(); |
| } |
| class Foo_style extends StyleElement { |
| static const tag = 'x-foo-style'; |
| Foo_style.created() : super.created(); |
| } |
| class Foo_sub extends HtmlElement { |
| static const tag = 'x-foo-sub'; |
| Foo_sub.created() : super.created(); |
| } |
| class Foo_table extends TableElement { |
| static const tag = 'x-foo-table'; |
| Foo_table.created() : super.created(); |
| } |
| class Foo_tbody extends TableSectionElement { |
| static const tag = 'x-foo-tbody'; |
| Foo_tbody.created() : super.created(); |
| } |
| class Foo_td extends TableCellElement { |
| static const tag = 'x-foo-td'; |
| Foo_td.created() : super.created(); |
| } |
| class Foo_textarea extends TextAreaElement { |
| static const tag = 'x-foo-textarea'; |
| Foo_textarea.created() : super.created(); |
| } |
| class Foo_tfoot extends TableSectionElement { |
| static const tag = 'x-foo-tfoot'; |
| Foo_tfoot.created() : super.created(); |
| } |
| class Foo_th extends TableCellElement { |
| static const tag = 'x-foo-th'; |
| Foo_th.created() : super.created(); |
| } |
| class Foo_thead extends TableSectionElement { |
| static const tag = 'x-foo-thead'; |
| Foo_thead.created() : super.created(); |
| } |
| class Foo_title extends TitleElement { |
| static const tag = 'x-foo-title'; |
| Foo_title.created() : super.created(); |
| } |
| class Foo_tr extends TableRowElement { |
| static const tag = 'x-foo-tr'; |
| Foo_tr.created() : super.created(); |
| } |
| class Foo_track extends TrackElement { |
| static const tag = 'x-foo-track'; |
| Foo_track.created() : super.created(); |
| } |
| class Foo_u extends HtmlElement { |
| static const tag = 'x-foo-u'; |
| Foo_u.created() : super.created(); |
| } |
| class Foo_ul extends UListElement { |
| static const tag = 'x-foo-ul'; |
| Foo_ul.created() : super.created(); |
| } |
| class Foo_var extends HtmlElement { |
| static const tag = 'x-foo-var'; |
| Foo_var.created() : super.created(); |
| } |
| class Foo_video extends VideoElement { |
| static const tag = 'x-foo-video'; |
| Foo_video.created() : super.created(); |
| } |
| class Foo_wbr extends HtmlElement { |
| static const tag = 'x-foo-wbr'; |
| Foo_wbr.created() : super.created(); |
| } |
| getFooClass(name) { |
| switch (name) { |
| case 'x-foo-a': return Foo_a; |
| case 'x-foo-abbr': return Foo_abbr; |
| case 'x-foo-address': return Foo_address; |
| case 'x-foo-area': return Foo_area; |
| case 'x-foo-article': return Foo_article; |
| case 'x-foo-aside': return Foo_aside; |
| case 'x-foo-audio': return Foo_audio; |
| case 'x-foo-b': return Foo_b; |
| case 'x-foo-base': return Foo_base; |
| case 'x-foo-bdi': return Foo_bdi; |
| case 'x-foo-bdo': return Foo_bdo; |
| case 'x-foo-blockquote': return Foo_blockquote; |
| case 'x-foo-br': return Foo_br; |
| case 'x-foo-button': return Foo_button; |
| case 'x-foo-canvas': return Foo_canvas; |
| case 'x-foo-caption': return Foo_caption; |
| case 'x-foo-cite': return Foo_cite; |
| case 'x-foo-code': return Foo_code; |
| case 'x-foo-col': return Foo_col; |
| case 'x-foo-colgroup': return Foo_colgroup; |
| case 'x-foo-command': return Foo_command; |
| case 'x-foo-datalist': return Foo_datalist; |
| case 'x-foo-dd': return Foo_dd; |
| case 'x-foo-del': return Foo_del; |
| case 'x-foo-details': return Foo_details; |
| case 'x-foo-dfn': return Foo_dfn; |
| case 'x-foo-dialog': return Foo_dialog; |
| case 'x-foo-div': return Foo_div; |
| case 'x-foo-dl': return Foo_dl; |
| case 'x-foo-dt': return Foo_dt; |
| case 'x-foo-em': return Foo_em; |
| case 'x-foo-embed': return Foo_embed; |
| case 'x-foo-fieldset': return Foo_fieldset; |
| case 'x-foo-figcaption': return Foo_figcaption; |
| case 'x-foo-figure': return Foo_figure; |
| case 'x-foo-footer': return Foo_footer; |
| case 'x-foo-form': return Foo_form; |
| case 'x-foo-h1': return Foo_h1; |
| case 'x-foo-h2': return Foo_h2; |
| case 'x-foo-h3': return Foo_h3; |
| case 'x-foo-h4': return Foo_h4; |
| case 'x-foo-h5': return Foo_h5; |
| case 'x-foo-h6': return Foo_h6; |
| case 'x-foo-header': return Foo_header; |
| case 'x-foo-hgroup': return Foo_hgroup; |
| case 'x-foo-hr': return Foo_hr; |
| case 'x-foo-i': return Foo_i; |
| case 'x-foo-iframe': return Foo_iframe; |
| case 'x-foo-img': return Foo_img; |
| case 'x-foo-input': return Foo_input; |
| case 'x-foo-ins': return Foo_ins; |
| case 'x-foo-kbd': return Foo_kbd; |
| case 'x-foo-keygen': return Foo_keygen; |
| case 'x-foo-label': return Foo_label; |
| case 'x-foo-legend': return Foo_legend; |
| case 'x-foo-li': return Foo_li; |
| case 'x-foo-link': return Foo_link; |
| case 'x-foo-map': return Foo_map; |
| case 'x-foo-mark': return Foo_mark; |
| case 'x-foo-menu': return Foo_menu; |
| case 'x-foo-meta': return Foo_meta; |
| case 'x-foo-meter': return Foo_meter; |
| case 'x-foo-nav': return Foo_nav; |
| case 'x-foo-noscript': return Foo_noscript; |
| case 'x-foo-object': return Foo_object; |
| case 'x-foo-ol': return Foo_ol; |
| case 'x-foo-optgroup': return Foo_optgroup; |
| case 'x-foo-option': return Foo_option; |
| case 'x-foo-output': return Foo_output; |
| case 'x-foo-p': return Foo_p; |
| case 'x-foo-param': return Foo_param; |
| case 'x-foo-pre': return Foo_pre; |
| case 'x-foo-progress': return Foo_progress; |
| case 'x-foo-q': return Foo_q; |
| case 'x-foo-rp': return Foo_rp; |
| case 'x-foo-rt': return Foo_rt; |
| case 'x-foo-ruby': return Foo_ruby; |
| case 'x-foo-s': return Foo_s; |
| case 'x-foo-samp': return Foo_samp; |
| case 'x-foo-script': return Foo_script; |
| case 'x-foo-section': return Foo_section; |
| case 'x-foo-select': return Foo_select; |
| case 'x-foo-small': return Foo_small; |
| case 'x-foo-source': return Foo_source; |
| case 'x-foo-span': return Foo_span; |
| case 'x-foo-strong': return Foo_strong; |
| case 'x-foo-style': return Foo_style; |
| case 'x-foo-sub': return Foo_sub; |
| case 'x-foo-table': return Foo_table; |
| case 'x-foo-tbody': return Foo_tbody; |
| case 'x-foo-td': return Foo_td; |
| case 'x-foo-textarea': return Foo_textarea; |
| case 'x-foo-tfoot': return Foo_tfoot; |
| case 'x-foo-th': return Foo_th; |
| case 'x-foo-thead': return Foo_thead; |
| case 'x-foo-title': return Foo_title; |
| case 'x-foo-tr': return Foo_tr; |
| case 'x-foo-track': return Foo_track; |
| case 'x-foo-u': return Foo_u; |
| case 'x-foo-ul': return Foo_ul; |
| case 'x-foo-var': return Foo_var; |
| case 'x-foo-video': return Foo_video; |
| case 'x-foo-wbr': return Foo_wbr; |
| }} |