|
1 | 1 | """
|
2 |
| -**External sources** |
| 2 | +**Dcument metadata** |
3 | 3 |
|
| 4 | +- :func:`base` |
| 5 | +- :func:`head` |
4 | 6 | - :func:`link`
|
| 7 | +- :func:`meta` |
| 8 | +- :func:`style` |
| 9 | +- :func:`title` |
5 | 10 |
|
| 11 | +**Content sectioning** |
6 | 12 |
|
7 |
| -**Content Sectioning** |
8 |
| -
|
9 |
| -- :func:`style` |
| 13 | +- :func:`body` |
10 | 14 | - :func:`address`
|
11 | 15 | - :func:`article`
|
12 | 16 | - :func:`aside`
|
13 | 17 | - :func:`footer`
|
| 18 | +- :func:`header` |
14 | 19 | - :func:`h1`
|
15 | 20 | - :func:`h2`
|
16 | 21 | - :func:`h3`
|
17 | 22 | - :func:`h4`
|
18 | 23 | - :func:`h5`
|
19 | 24 | - :func:`h6`
|
20 |
| -- :func:`header` |
21 |
| -- :func:`hgroup` |
| 25 | +- :func:`main` |
22 | 26 | - :func:`nav`
|
23 | 27 | - :func:`section`
|
24 | 28 |
|
25 |
| -
|
26 |
| -**Text Content** |
| 29 | +**Text content** |
27 | 30 |
|
28 | 31 | - :func:`blockquote`
|
29 | 32 | - :func:`dd`
|
|
39 | 42 | - :func:`pre`
|
40 | 43 | - :func:`ul`
|
41 | 44 |
|
42 |
| -
|
43 |
| -**Inline Text Semantics** |
| 45 | +**Inline text semantics** |
44 | 46 |
|
45 | 47 | - :func:`a`
|
46 | 48 | - :func:`abbr`
|
47 | 49 | - :func:`b`
|
| 50 | +- :func:`bdi` |
| 51 | +- :func:`bdo` |
48 | 52 | - :func:`br`
|
49 | 53 | - :func:`cite`
|
50 | 54 | - :func:`code`
|
|
54 | 58 | - :func:`kbd`
|
55 | 59 | - :func:`mark`
|
56 | 60 | - :func:`q`
|
| 61 | +- :func:`rp` |
| 62 | +- :func:`rt` |
| 63 | +- :func:`ruby` |
57 | 64 | - :func:`s`
|
58 | 65 | - :func:`samp`
|
59 | 66 | - :func:`small`
|
|
64 | 71 | - :func:`time`
|
65 | 72 | - :func:`u`
|
66 | 73 | - :func:`var`
|
67 |
| -
|
| 74 | +- :func:`wbr` |
68 | 75 |
|
69 | 76 | **Image and video**
|
70 | 77 |
|
71 |
| -- :func:`img` |
| 78 | +- :func:`area` |
72 | 79 | - :func:`audio`
|
| 80 | +- :func:`img` |
| 81 | +- :func:`map` |
| 82 | +- :func:`track` |
73 | 83 | - :func:`video`
|
| 84 | +
|
| 85 | +**Embedded content** |
| 86 | +
|
| 87 | +- :func:`embed` |
| 88 | +- :func:`iframe` |
| 89 | +- :func:`object` |
| 90 | +- :func:`param` |
| 91 | +- :func:`picture` |
| 92 | +- :func:`portal` |
74 | 93 | - :func:`source`
|
75 | 94 |
|
| 95 | +**SVG and MathML** |
| 96 | +
|
| 97 | +- :func:`svg` |
| 98 | +- :func:`math` |
| 99 | +
|
| 100 | +**Scripting** |
| 101 | +
|
| 102 | +- :func:`canvas` |
| 103 | +- :func:`noscript` |
| 104 | +- :func:`script` |
| 105 | +
|
| 106 | +**Demarcating edits** |
76 | 107 |
|
77 |
| -**Table Content** |
| 108 | +- :func:`del_` |
| 109 | +- :func:`ins` |
| 110 | +
|
| 111 | +**Table content** |
78 | 112 |
|
79 | 113 | - :func:`caption`
|
80 | 114 | - :func:`col`
|
|
87 | 121 | - :func:`thead`
|
88 | 122 | - :func:`tr`
|
89 | 123 |
|
90 |
| -
|
91 | 124 | **Forms**
|
92 | 125 |
|
93 | 126 | - :func:`button`
|
|
103 | 136 | - :func:`select`
|
104 | 137 | - :func:`textarea`
|
105 | 138 |
|
106 |
| -
|
107 |
| -**Interactive Elements** |
| 139 | +**Interactive elements** |
108 | 140 |
|
109 | 141 | - :func:`details`
|
110 | 142 | - :func:`dialog`
|
111 | 143 | - :func:`menu`
|
112 | 144 | - :func:`menuitem`
|
113 | 145 | - :func:`summary`
|
| 146 | +
|
| 147 | +**Web components** |
| 148 | +
|
| 149 | +- :func:`slot` |
| 150 | +- :func:`template` |
114 | 151 | """
|
115 | 152 |
|
116 | 153 | from .core.vdom import make_vdom_constructor
|
117 | 154 |
|
118 | 155 |
|
119 |
| -# External sources |
120 |
| -link = make_vdom_constructor("link", allow_children=False) |
| 156 | +# Dcument metadata |
| 157 | +base = make_vdom_constructor("base") |
| 158 | +head = make_vdom_constructor("head") |
| 159 | +link = make_vdom_constructor("link") |
| 160 | +meta = make_vdom_constructor("meta") |
| 161 | +style = make_vdom_constructor("style") |
| 162 | +title = make_vdom_constructor("title") |
121 | 163 |
|
122 | 164 | # Content sectioning
|
123 |
| -style = make_vdom_constructor("style") |
| 165 | +body = make_vdom_constructor("body") |
124 | 166 | address = make_vdom_constructor("address")
|
125 | 167 | article = make_vdom_constructor("article")
|
126 | 168 | aside = make_vdom_constructor("aside")
|
127 | 169 | footer = make_vdom_constructor("footer")
|
| 170 | +header = make_vdom_constructor("header") |
128 | 171 | h1 = make_vdom_constructor("h1")
|
129 | 172 | h2 = make_vdom_constructor("h2")
|
130 | 173 | h3 = make_vdom_constructor("h3")
|
131 | 174 | h4 = make_vdom_constructor("h4")
|
132 | 175 | h5 = make_vdom_constructor("h5")
|
133 | 176 | h6 = make_vdom_constructor("h6")
|
134 |
| -header = make_vdom_constructor("header") |
135 |
| -hgroup = make_vdom_constructor("hgroup") |
| 177 | +main = make_vdom_constructor("main") |
136 | 178 | nav = make_vdom_constructor("nav")
|
137 | 179 | section = make_vdom_constructor("section")
|
138 | 180 |
|
|
155 | 197 | a = make_vdom_constructor("a")
|
156 | 198 | abbr = make_vdom_constructor("abbr")
|
157 | 199 | b = make_vdom_constructor("b")
|
| 200 | +bdi = make_vdom_constructor("bdi") |
| 201 | +bdo = make_vdom_constructor("bdo") |
158 | 202 | br = make_vdom_constructor("br", allow_children=False)
|
159 | 203 | cite = make_vdom_constructor("cite")
|
160 | 204 | code = make_vdom_constructor("code")
|
|
164 | 208 | kbd = make_vdom_constructor("kbd")
|
165 | 209 | mark = make_vdom_constructor("mark")
|
166 | 210 | q = make_vdom_constructor("q")
|
| 211 | +rp = make_vdom_constructor("rp") |
| 212 | +rt = make_vdom_constructor("rt") |
| 213 | +ruby = make_vdom_constructor("ruby") |
167 | 214 | s = make_vdom_constructor("s")
|
168 | 215 | samp = make_vdom_constructor("samp")
|
169 | 216 | small = make_vdom_constructor("small")
|
|
174 | 221 | time = make_vdom_constructor("time")
|
175 | 222 | u = make_vdom_constructor("u")
|
176 | 223 | var = make_vdom_constructor("var")
|
| 224 | +wbr = make_vdom_constructor("wbr") |
177 | 225 |
|
178 | 226 | # Image and video
|
179 |
| -img = make_vdom_constructor("img", allow_children=False) |
| 227 | +area = make_vdom_constructor("area", allow_children=False) |
180 | 228 | audio = make_vdom_constructor("audio")
|
| 229 | +img = make_vdom_constructor("img", allow_children=False) |
| 230 | +map = make_vdom_constructor("map") |
| 231 | +track = make_vdom_constructor("track") |
181 | 232 | video = make_vdom_constructor("video")
|
| 233 | + |
| 234 | +# Embedded content |
| 235 | +embed = make_vdom_constructor("embed", allow_children=False) |
| 236 | +iframe = make_vdom_constructor("iframe", allow_children=False) |
| 237 | +object = make_vdom_constructor("object") |
| 238 | +param = make_vdom_constructor("param") |
| 239 | +picture = make_vdom_constructor("picture") |
| 240 | +portal = make_vdom_constructor("portal", allow_children=False) |
182 | 241 | source = make_vdom_constructor("source", allow_children=False)
|
183 | 242 |
|
| 243 | +# SVG and MathML |
| 244 | +svg = make_vdom_constructor("svg") |
| 245 | +math = make_vdom_constructor("math") |
| 246 | + |
| 247 | +# Scripting |
| 248 | +canvas = make_vdom_constructor("canvas") |
| 249 | +noscript = make_vdom_constructor("noscript") |
| 250 | +script = make_vdom_constructor("script") |
| 251 | + |
| 252 | +# Demarcating edits |
| 253 | +del_ = make_vdom_constructor("del") |
| 254 | +ins = make_vdom_constructor("ins") |
| 255 | + |
184 | 256 | # Table content
|
185 | 257 | caption = make_vdom_constructor("caption")
|
186 | 258 | col = make_vdom_constructor("col")
|
|
213 | 285 | menu = make_vdom_constructor("menu")
|
214 | 286 | menuitem = make_vdom_constructor("menuitem")
|
215 | 287 | summary = make_vdom_constructor("summary")
|
| 288 | + |
| 289 | +# Web components |
| 290 | +slot = make_vdom_constructor("slot") |
| 291 | +template = make_vdom_constructor("template") |
0 commit comments