OLD | NEW |
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 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 | 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. | 3 // BSD-style license that can be found in the LICENSE file. |
4 | 4 |
5 // TODO(jmesserly): html5lib might be a better home for this. | 5 // TODO(jmesserly): html5lib might be a better home for this. |
6 // But at the moment we only need it here. | 6 // But at the moment we only need it here. |
7 | 7 |
8 library html5_utils; | 8 library html5_utils; |
9 | 9 |
10 | 10 |
(...skipping 18 matching lines...) Expand all Loading... |
29 * However there does not appear to be the last subtypes for the following tags: | 29 * However there does not appear to be the last subtypes for the following tags: |
30 * command, data, dialog, td, th, and time. | 30 * command, data, dialog, td, th, and time. |
31 */ | 31 */ |
32 const htmlElementNames = const { | 32 const htmlElementNames = const { |
33 'a': 'html.AnchorElement', | 33 'a': 'html.AnchorElement', |
34 'abbr': 'html.Element', | 34 'abbr': 'html.Element', |
35 'address': 'html.Element', | 35 'address': 'html.Element', |
36 'area': 'html.AreaElement', | 36 'area': 'html.AreaElement', |
37 'article': 'html.Element', | 37 'article': 'html.Element', |
38 'aside': 'html.Element', | 38 'aside': 'html.Element', |
39 'audio': 'web_audio.AudioElement', | 39 'audio': 'html.AudioElement', |
40 'b': 'html.Element', | 40 'b': 'html.Element', |
41 'base': 'html.BaseElement', | 41 'base': 'html.BaseElement', |
42 'bdi': 'html.Element', | 42 'bdi': 'html.Element', |
43 'bdo': 'html.Element', | 43 'bdo': 'html.Element', |
44 'blockquote': 'html.QuoteElement', | 44 'blockquote': 'html.QuoteElement', |
45 'body': 'html.BodyElement', | 45 'body': 'html.BodyElement', |
46 'br': 'html.BRElement', | 46 'br': 'html.BRElement', |
47 'button': 'html.ButtonElement', | 47 'button': 'html.ButtonElement', |
48 'canvas': 'html.CanvasElement', | 48 'canvas': 'html.CanvasElement', |
49 'caption': 'html.TableCaptionElement', | 49 'caption': 'html.TableCaptionElement', |
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
154 'action', // in form | 154 'action', // in form |
155 'cite', // in blockquote, del, ins, q | 155 'cite', // in blockquote, del, ins, q |
156 'data', // in object | 156 'data', // in object |
157 'formaction', // in button, input | 157 'formaction', // in button, input |
158 'href', // in a, area, link, base, command | 158 'href', // in a, area, link, base, command |
159 'manifest', // in html | 159 'manifest', // in html |
160 'poster', // in video | 160 'poster', // in video |
161 'src', // in audio, embed, iframe, img, input, script, source, track, | 161 'src', // in audio, embed, iframe, img, input, script, source, track, |
162 // video | 162 // video |
163 ]; | 163 ]; |
OLD | NEW |