phlex 2.0.0.beta2 → 2.0.0.rc2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +8 -11
- data/lib/phlex/csv.rb +4 -11
- data/lib/phlex/error.rb +1 -0
- data/lib/phlex/fifo.rb +11 -3
- data/lib/phlex/fifo_cache_store.rb +49 -0
- data/lib/phlex/helpers.rb +2 -2
- data/lib/phlex/html/standard_elements.rb +932 -722
- data/lib/phlex/html/void_elements.rb +93 -66
- data/lib/phlex/html.rb +4 -10
- data/lib/phlex/kit.rb +39 -22
- data/lib/phlex/null_cache_store.rb +9 -0
- data/lib/phlex/sgml/elements.rb +112 -0
- data/lib/phlex/sgml/state.rb +118 -0
- data/lib/phlex/sgml.rb +326 -305
- data/lib/phlex/svg/standard_elements.rb +417 -449
- data/lib/phlex/svg.rb +0 -3
- data/lib/phlex/{black_hole.rb → vanish.rb} +1 -1
- data/lib/phlex/version.rb +1 -1
- data/lib/phlex.rb +17 -9
- metadata +9 -12
- data/lib/phlex/context.rb +0 -59
- data/lib/phlex/deferred_render.rb +0 -29
- data/lib/phlex/element_clobbering_guard.rb +0 -18
- data/lib/phlex/elements.rb +0 -172
@@ -2,726 +2,936 @@
|
|
2
2
|
|
3
3
|
# Standard HTML elements accept content and always have a closing tag.
|
4
4
|
module Phlex::HTML::StandardElements
|
5
|
-
extend Phlex::Elements
|
6
|
-
|
7
|
-
#
|
8
|
-
#
|
9
|
-
#
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
#
|
22
|
-
#
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
#
|
31
|
-
#
|
32
|
-
#
|
33
|
-
register_element
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
#
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
#
|
50
|
-
#
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
#
|
58
|
-
#
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
#
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
#
|
78
|
-
#
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
#
|
86
|
-
#
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
#
|
95
|
-
#
|
96
|
-
register_element
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
#
|
113
|
-
#
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
#
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
#
|
143
|
-
#
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
#
|
151
|
-
#
|
152
|
-
register_element
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
#
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
|
164
|
-
|
165
|
-
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
-
|
170
|
-
|
171
|
-
|
172
|
-
|
173
|
-
|
174
|
-
|
175
|
-
#
|
176
|
-
#
|
177
|
-
|
178
|
-
|
179
|
-
|
180
|
-
|
181
|
-
|
182
|
-
|
183
|
-
|
184
|
-
#
|
185
|
-
#
|
186
|
-
|
187
|
-
|
188
|
-
|
189
|
-
|
190
|
-
|
191
|
-
|
192
|
-
#
|
193
|
-
#
|
194
|
-
register_element
|
195
|
-
|
196
|
-
|
197
|
-
|
198
|
-
|
199
|
-
|
200
|
-
#
|
201
|
-
|
202
|
-
|
203
|
-
|
204
|
-
|
205
|
-
|
206
|
-
|
207
|
-
|
208
|
-
|
209
|
-
|
210
|
-
#
|
211
|
-
#
|
212
|
-
|
213
|
-
|
214
|
-
|
215
|
-
|
216
|
-
|
217
|
-
|
218
|
-
|
219
|
-
#
|
220
|
-
#
|
221
|
-
|
222
|
-
|
223
|
-
|
224
|
-
|
225
|
-
|
226
|
-
|
227
|
-
|
228
|
-
#
|
229
|
-
|
230
|
-
|
231
|
-
|
232
|
-
|
233
|
-
|
234
|
-
|
235
|
-
|
236
|
-
|
237
|
-
|
238
|
-
#
|
239
|
-
|
240
|
-
|
241
|
-
|
242
|
-
|
243
|
-
|
244
|
-
|
245
|
-
#
|
246
|
-
#
|
247
|
-
|
248
|
-
|
249
|
-
|
250
|
-
|
251
|
-
|
252
|
-
|
253
|
-
#
|
254
|
-
#
|
255
|
-
|
256
|
-
|
257
|
-
|
258
|
-
|
259
|
-
|
260
|
-
|
261
|
-
#
|
262
|
-
#
|
263
|
-
|
264
|
-
|
265
|
-
|
266
|
-
|
267
|
-
|
268
|
-
|
269
|
-
#
|
270
|
-
#
|
271
|
-
register_element
|
272
|
-
|
273
|
-
|
274
|
-
|
275
|
-
|
276
|
-
|
277
|
-
|
278
|
-
|
279
|
-
|
280
|
-
#
|
281
|
-
#
|
282
|
-
|
283
|
-
|
284
|
-
|
285
|
-
|
286
|
-
|
287
|
-
|
288
|
-
#
|
289
|
-
#
|
290
|
-
|
291
|
-
|
292
|
-
|
293
|
-
|
294
|
-
|
295
|
-
|
296
|
-
#
|
297
|
-
#
|
298
|
-
|
299
|
-
|
300
|
-
|
301
|
-
|
302
|
-
|
303
|
-
|
304
|
-
#
|
305
|
-
#
|
306
|
-
register_element
|
307
|
-
|
308
|
-
|
309
|
-
|
310
|
-
|
311
|
-
|
312
|
-
|
313
|
-
|
314
|
-
|
315
|
-
#
|
316
|
-
#
|
317
|
-
|
318
|
-
|
319
|
-
|
320
|
-
|
321
|
-
|
322
|
-
|
323
|
-
#
|
324
|
-
#
|
325
|
-
|
326
|
-
|
327
|
-
|
328
|
-
|
329
|
-
|
330
|
-
|
331
|
-
#
|
332
|
-
#
|
333
|
-
|
334
|
-
|
335
|
-
|
336
|
-
|
337
|
-
|
338
|
-
|
339
|
-
#
|
340
|
-
#
|
341
|
-
register_element
|
342
|
-
|
343
|
-
|
344
|
-
|
345
|
-
|
346
|
-
|
347
|
-
#
|
348
|
-
|
349
|
-
|
350
|
-
|
351
|
-
|
352
|
-
|
353
|
-
|
354
|
-
|
355
|
-
|
356
|
-
|
357
|
-
|
358
|
-
|
359
|
-
|
360
|
-
|
361
|
-
|
362
|
-
|
363
|
-
|
364
|
-
#
|
365
|
-
|
366
|
-
|
367
|
-
|
368
|
-
|
369
|
-
|
370
|
-
|
371
|
-
#
|
372
|
-
#
|
373
|
-
|
374
|
-
|
375
|
-
|
376
|
-
|
377
|
-
|
378
|
-
|
379
|
-
#
|
380
|
-
#
|
381
|
-
|
382
|
-
|
383
|
-
|
384
|
-
|
385
|
-
|
386
|
-
|
387
|
-
#
|
388
|
-
#
|
389
|
-
|
390
|
-
|
391
|
-
|
392
|
-
|
393
|
-
|
394
|
-
|
395
|
-
|
396
|
-
#
|
397
|
-
|
398
|
-
|
399
|
-
|
400
|
-
|
401
|
-
|
402
|
-
|
403
|
-
|
404
|
-
|
405
|
-
|
406
|
-
|
407
|
-
|
408
|
-
|
409
|
-
|
410
|
-
|
411
|
-
|
412
|
-
|
413
|
-
|
414
|
-
|
415
|
-
|
416
|
-
|
417
|
-
#
|
418
|
-
|
419
|
-
|
420
|
-
|
421
|
-
|
422
|
-
|
423
|
-
|
424
|
-
|
425
|
-
|
426
|
-
|
427
|
-
#
|
428
|
-
#
|
429
|
-
|
430
|
-
|
431
|
-
|
432
|
-
|
433
|
-
|
434
|
-
|
435
|
-
#
|
436
|
-
#
|
437
|
-
|
438
|
-
|
439
|
-
|
440
|
-
|
441
|
-
|
442
|
-
|
443
|
-
|
444
|
-
|
445
|
-
#
|
446
|
-
|
447
|
-
|
448
|
-
|
449
|
-
|
450
|
-
|
451
|
-
|
452
|
-
|
453
|
-
|
454
|
-
|
455
|
-
|
456
|
-
|
457
|
-
|
458
|
-
|
459
|
-
|
460
|
-
|
461
|
-
|
462
|
-
#
|
463
|
-
#
|
464
|
-
|
465
|
-
|
466
|
-
|
467
|
-
|
468
|
-
|
469
|
-
|
470
|
-
#
|
471
|
-
#
|
472
|
-
|
473
|
-
|
474
|
-
|
475
|
-
|
476
|
-
|
477
|
-
|
478
|
-
|
479
|
-
#
|
480
|
-
#
|
481
|
-
register_element
|
482
|
-
|
483
|
-
|
484
|
-
|
485
|
-
|
486
|
-
|
487
|
-
#
|
488
|
-
|
489
|
-
|
490
|
-
|
491
|
-
|
492
|
-
|
493
|
-
|
494
|
-
|
495
|
-
|
496
|
-
|
497
|
-
#
|
498
|
-
|
499
|
-
|
500
|
-
|
501
|
-
|
502
|
-
|
503
|
-
|
504
|
-
|
505
|
-
|
506
|
-
|
507
|
-
|
508
|
-
|
509
|
-
|
510
|
-
|
511
|
-
#
|
512
|
-
|
513
|
-
|
514
|
-
|
515
|
-
|
516
|
-
|
517
|
-
|
518
|
-
#
|
519
|
-
#
|
520
|
-
|
521
|
-
|
522
|
-
|
523
|
-
|
524
|
-
|
525
|
-
|
526
|
-
#
|
527
|
-
#
|
528
|
-
|
529
|
-
|
530
|
-
|
531
|
-
|
532
|
-
|
533
|
-
|
534
|
-
|
535
|
-
|
536
|
-
|
537
|
-
|
538
|
-
|
539
|
-
#
|
540
|
-
|
541
|
-
|
542
|
-
|
543
|
-
|
544
|
-
|
545
|
-
|
546
|
-
|
547
|
-
|
548
|
-
|
549
|
-
#
|
550
|
-
#
|
551
|
-
register_element
|
552
|
-
|
553
|
-
|
554
|
-
|
555
|
-
|
556
|
-
|
557
|
-
|
558
|
-
|
559
|
-
|
560
|
-
#
|
561
|
-
|
562
|
-
|
563
|
-
|
564
|
-
|
565
|
-
|
566
|
-
|
567
|
-
|
568
|
-
|
569
|
-
|
570
|
-
#
|
571
|
-
#
|
572
|
-
register_element
|
573
|
-
|
574
|
-
|
575
|
-
|
576
|
-
|
577
|
-
|
578
|
-
|
579
|
-
|
580
|
-
|
581
|
-
#
|
582
|
-
#
|
583
|
-
|
584
|
-
|
585
|
-
|
586
|
-
|
587
|
-
|
588
|
-
|
589
|
-
#
|
590
|
-
#
|
591
|
-
|
592
|
-
|
593
|
-
|
594
|
-
|
595
|
-
|
596
|
-
|
597
|
-
#
|
598
|
-
#
|
599
|
-
|
600
|
-
|
601
|
-
|
602
|
-
|
603
|
-
|
604
|
-
|
605
|
-
|
606
|
-
#
|
607
|
-
|
608
|
-
|
609
|
-
|
610
|
-
|
611
|
-
|
612
|
-
|
613
|
-
|
614
|
-
|
615
|
-
|
616
|
-
|
617
|
-
|
618
|
-
|
619
|
-
|
620
|
-
|
621
|
-
|
622
|
-
|
623
|
-
|
624
|
-
#
|
625
|
-
#
|
626
|
-
|
627
|
-
|
628
|
-
|
629
|
-
|
630
|
-
|
631
|
-
|
632
|
-
|
633
|
-
#
|
634
|
-
#
|
635
|
-
register_element
|
636
|
-
|
637
|
-
|
638
|
-
|
639
|
-
|
640
|
-
|
641
|
-
#
|
642
|
-
|
643
|
-
|
644
|
-
|
645
|
-
|
646
|
-
|
647
|
-
|
648
|
-
|
649
|
-
|
650
|
-
|
651
|
-
|
652
|
-
|
653
|
-
|
654
|
-
|
655
|
-
|
656
|
-
|
657
|
-
|
658
|
-
#
|
659
|
-
|
660
|
-
|
661
|
-
|
662
|
-
|
663
|
-
|
664
|
-
|
665
|
-
#
|
666
|
-
#
|
667
|
-
|
668
|
-
|
669
|
-
|
670
|
-
|
671
|
-
|
672
|
-
|
673
|
-
#
|
674
|
-
#
|
675
|
-
|
676
|
-
|
677
|
-
|
678
|
-
|
679
|
-
|
680
|
-
|
681
|
-
|
682
|
-
|
683
|
-
|
684
|
-
|
685
|
-
|
686
|
-
#
|
687
|
-
|
688
|
-
|
689
|
-
|
690
|
-
|
691
|
-
|
692
|
-
|
693
|
-
#
|
694
|
-
#
|
695
|
-
|
696
|
-
|
697
|
-
|
698
|
-
|
699
|
-
|
700
|
-
|
701
|
-
#
|
702
|
-
#
|
703
|
-
|
704
|
-
|
705
|
-
|
706
|
-
|
707
|
-
|
708
|
-
|
709
|
-
|
710
|
-
|
711
|
-
|
712
|
-
|
713
|
-
|
714
|
-
|
715
|
-
|
716
|
-
|
717
|
-
|
718
|
-
|
719
|
-
|
720
|
-
|
721
|
-
#
|
722
|
-
#
|
723
|
-
|
724
|
-
|
725
|
-
|
726
|
-
|
5
|
+
extend Phlex::SGML::Elements
|
6
|
+
|
7
|
+
# Outputs an `<a>` tag.
|
8
|
+
# The `<a>` element creates a hyperlink to web pages, files, email addresses, locations in the same page, or anything else a URL can address.
|
9
|
+
# See https://developer.mozilla.org/docs/Web/HTML/Element/a
|
10
|
+
register_element def a(
|
11
|
+
class: nil,
|
12
|
+
href: nil,
|
13
|
+
id: nil,
|
14
|
+
rel: nil,
|
15
|
+
target: nil,
|
16
|
+
title: nil,
|
17
|
+
**attributes,
|
18
|
+
&content
|
19
|
+
) = nil
|
20
|
+
# Outputs an `<abbr>` tag.
|
21
|
+
# The `<abbr>` element represents an abbreviation or acronym.
|
22
|
+
# See https://developer.mozilla.org/docs/Web/HTML/Element/abbr
|
23
|
+
register_element def abbr(
|
24
|
+
class: nil,
|
25
|
+
id: nil,
|
26
|
+
title: nil,
|
27
|
+
**attributes,
|
28
|
+
&content
|
29
|
+
) = nil
|
30
|
+
# Outputs an `<address>` tag.
|
31
|
+
# The `<address>` element indicates contact information for a person or organization.
|
32
|
+
# See https://developer.mozilla.org/docs/Web/HTML/Element/address
|
33
|
+
register_element def address(
|
34
|
+
class: nil,
|
35
|
+
id: nil,
|
36
|
+
**attributes,
|
37
|
+
&content
|
38
|
+
) = nil
|
39
|
+
# Outputs an `<article>` tag.
|
40
|
+
# The `<article>` element represents a self-contained composition in a document, page, application, or site.
|
41
|
+
# See https://developer.mozilla.org/docs/Web/HTML/Element/article
|
42
|
+
register_element def article(
|
43
|
+
class: nil,
|
44
|
+
id: nil,
|
45
|
+
**attributes,
|
46
|
+
&content
|
47
|
+
) = nil
|
48
|
+
# Outputs an `<aside>` tag.
|
49
|
+
# The `<aside>` element represents a section of a page that consists of content that is tangentially related to the content around the aside element.
|
50
|
+
# See https://developer.mozilla.org/docs/Web/HTML/Element/aside
|
51
|
+
register_element def aside(
|
52
|
+
class: nil,
|
53
|
+
id: nil,
|
54
|
+
**attributes,
|
55
|
+
&content
|
56
|
+
) = nil
|
57
|
+
# Outputs an `<audio>` tag.
|
58
|
+
# See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/audio
|
59
|
+
register_element def audio(
|
60
|
+
autoplay: nil,
|
61
|
+
class: nil,
|
62
|
+
controls: nil,
|
63
|
+
id: nil,
|
64
|
+
loop: nil,
|
65
|
+
src: nil,
|
66
|
+
**attributes,
|
67
|
+
&content
|
68
|
+
) = nil
|
69
|
+
# Outputs a `<b>` tag.
|
70
|
+
# See https://developer.mozilla.org/docs/Web/HTML/Element/b
|
71
|
+
register_element def b(
|
72
|
+
class: nil,
|
73
|
+
id: nil,
|
74
|
+
**attributes,
|
75
|
+
&content
|
76
|
+
) = nil
|
77
|
+
# Outputs a `<bdi>` tag.
|
78
|
+
# See https://developer.mozilla.org/docs/Web/HTML/Element/bdi
|
79
|
+
register_element def bdi(
|
80
|
+
class: nil,
|
81
|
+
id: nil,
|
82
|
+
**attributes,
|
83
|
+
&content
|
84
|
+
) = nil
|
85
|
+
# Outputs a `<bdo>` tag.
|
86
|
+
# See https://developer.mozilla.org/docs/Web/HTML/Element/bdo
|
87
|
+
register_element def bdo(
|
88
|
+
class: nil,
|
89
|
+
dir: nil,
|
90
|
+
id: nil,
|
91
|
+
**attributes,
|
92
|
+
&content
|
93
|
+
) = nil
|
94
|
+
# Outputs a `<blockquote>` tag.
|
95
|
+
# See https://developer.mozilla.org/docs/Web/HTML/Element/blockquote
|
96
|
+
register_element def blockquote(
|
97
|
+
cite: nil,
|
98
|
+
class: nil,
|
99
|
+
id: nil,
|
100
|
+
**attributes,
|
101
|
+
&content
|
102
|
+
) = nil
|
103
|
+
# Outputs a `<body>` tag.
|
104
|
+
# See https://developer.mozilla.org/docs/Web/HTML/Element/body
|
105
|
+
register_element def body(
|
106
|
+
class: nil,
|
107
|
+
id: nil,
|
108
|
+
**attributes,
|
109
|
+
&content
|
110
|
+
) = nil
|
111
|
+
# Outputs a `<button>` tag.
|
112
|
+
# The `<button>` element is an interactive element activated by a user with a mouse, keyboard, finger, voice command, or other assistive technology to perform an action, such as submitting a form or opening a dialog.
|
113
|
+
# See https://developer.mozilla.org/docs/Web/HTML/Element/button
|
114
|
+
register_element def button(
|
115
|
+
autofocus: nil,
|
116
|
+
class: nil,
|
117
|
+
disabled: nil,
|
118
|
+
form: nil,
|
119
|
+
formaction: nil,
|
120
|
+
formmethod: nil,
|
121
|
+
formtarget: nil,
|
122
|
+
formvalidate: nil,
|
123
|
+
id: nil,
|
124
|
+
name: nil,
|
125
|
+
popovertarget: nil,
|
126
|
+
popovertargetaction: nil,
|
127
|
+
type: nil,
|
128
|
+
value: nil,
|
129
|
+
**attributes,
|
130
|
+
&content
|
131
|
+
) = nil
|
132
|
+
# Outputs a `<canvas>` tag.
|
133
|
+
# See https://developer.mozilla.org/docs/Web/HTML/Element/canvas
|
134
|
+
register_element def canvas(
|
135
|
+
class: nil,
|
136
|
+
height: nil,
|
137
|
+
id: nil,
|
138
|
+
width: nil,
|
139
|
+
**attributes,
|
140
|
+
&content
|
141
|
+
) = nil
|
142
|
+
# Outputs a `<caption>` tag.
|
143
|
+
# See https://developer.mozilla.org/docs/Web/HTML/Element/caption
|
144
|
+
register_element def caption(
|
145
|
+
class: nil,
|
146
|
+
id: nil,
|
147
|
+
**attributes,
|
148
|
+
&content
|
149
|
+
) = nil
|
150
|
+
# Outputs a `<cite>` tag.
|
151
|
+
# See https://developer.mozilla.org/docs/Web/HTML/Element/cite
|
152
|
+
register_element def cite(
|
153
|
+
class: nil,
|
154
|
+
id: nil,
|
155
|
+
**attributes,
|
156
|
+
&content
|
157
|
+
) = nil
|
158
|
+
# Outputs a `<code>` tag.
|
159
|
+
# See https://developer.mozilla.org/docs/Web/HTML/Element/code
|
160
|
+
register_element def code(
|
161
|
+
class: nil,
|
162
|
+
id: nil,
|
163
|
+
**attributes,
|
164
|
+
&content
|
165
|
+
) = nil
|
166
|
+
# Outputs a `<colgroup>` tag.
|
167
|
+
# See https://developer.mozilla.org/docs/Web/HTML/Element/colgroup
|
168
|
+
register_element def colgroup(
|
169
|
+
class: nil,
|
170
|
+
id: nil,
|
171
|
+
span: nil,
|
172
|
+
**attributes,
|
173
|
+
&content
|
174
|
+
) = nil
|
175
|
+
# Outputs a `<data>` tag.
|
176
|
+
# See https://developer.mozilla.org/docs/Web/HTML/Element/data
|
177
|
+
register_element def data(
|
178
|
+
class: nil,
|
179
|
+
id: nil,
|
180
|
+
value: nil,
|
181
|
+
**attributes,
|
182
|
+
&content
|
183
|
+
) = nil
|
184
|
+
# Outputs a `<datalist>` tag.
|
185
|
+
# See https://developer.mozilla.org/docs/Web/HTML/Element/datalist
|
186
|
+
register_element def datalist(
|
187
|
+
class: nil,
|
188
|
+
id: nil,
|
189
|
+
**attributes,
|
190
|
+
&content
|
191
|
+
) = nil
|
192
|
+
# Outputs a `<dd>` tag.
|
193
|
+
# See https://developer.mozilla.org/docs/Web/HTML/Element/dd
|
194
|
+
register_element def dd(
|
195
|
+
class: nil,
|
196
|
+
id: nil,
|
197
|
+
**attributes,
|
198
|
+
&content
|
199
|
+
) = nil
|
200
|
+
# Outputs a `<del>` tag.
|
201
|
+
# See https://developer.mozilla.org/docs/Web/HTML/Element/del
|
202
|
+
register_element def del(
|
203
|
+
cite: nil,
|
204
|
+
class: nil,
|
205
|
+
datetime: nil,
|
206
|
+
id: nil,
|
207
|
+
**attributes,
|
208
|
+
&content
|
209
|
+
) = nil
|
210
|
+
# Outputs a `<details>` tag.
|
211
|
+
# See https://developer.mozilla.org/docs/Web/HTML/Element/details
|
212
|
+
register_element def details(
|
213
|
+
class: nil,
|
214
|
+
id: nil,
|
215
|
+
open: nil,
|
216
|
+
**attributes,
|
217
|
+
&content
|
218
|
+
) = nil
|
219
|
+
# Outputs a `<dfn>` tag.
|
220
|
+
# See https://developer.mozilla.org/docs/Web/HTML/Element/dfn
|
221
|
+
register_element def dfn(
|
222
|
+
class: nil,
|
223
|
+
id: nil,
|
224
|
+
title: nil,
|
225
|
+
**attributes,
|
226
|
+
&content
|
227
|
+
) = nil
|
228
|
+
# Outputs a `<dialog>` tag.
|
229
|
+
# See https://developer.mozilla.org/docs/Web/HTML/Element/dialog
|
230
|
+
register_element def dialog(
|
231
|
+
class: nil,
|
232
|
+
id: nil,
|
233
|
+
open: nil,
|
234
|
+
**attributes,
|
235
|
+
&content
|
236
|
+
) = nil
|
237
|
+
# Outputs a `<div>` tag.
|
238
|
+
# See https://developer.mozilla.org/docs/Web/HTML/Element/div
|
239
|
+
register_element def div(
|
240
|
+
class: nil,
|
241
|
+
id: nil,
|
242
|
+
**attributes,
|
243
|
+
&content
|
244
|
+
) = nil
|
245
|
+
# Outputs a `<dl>` tag.
|
246
|
+
# See https://developer.mozilla.org/docs/Web/HTML/Element/dl
|
247
|
+
register_element def dl(
|
248
|
+
class: nil,
|
249
|
+
id: nil,
|
250
|
+
**attributes,
|
251
|
+
&content
|
252
|
+
) = nil
|
253
|
+
# Outputs a `<dt>` tag.
|
254
|
+
# See https://developer.mozilla.org/docs/Web/HTML/Element/dt
|
255
|
+
register_element def dt(
|
256
|
+
class: nil,
|
257
|
+
id: nil,
|
258
|
+
**attributes,
|
259
|
+
&content
|
260
|
+
) = nil
|
261
|
+
# Outputs an `<em>` tag.
|
262
|
+
# See https://developer.mozilla.org/docs/Web/HTML/Element/em
|
263
|
+
register_element def em(
|
264
|
+
class: nil,
|
265
|
+
id: nil,
|
266
|
+
**attributes,
|
267
|
+
&content
|
268
|
+
) = nil
|
269
|
+
# Outputs a `<fieldset>` tag.
|
270
|
+
# See https://developer.mozilla.org/docs/Web/HTML/Element/fieldset
|
271
|
+
register_element def fieldset(
|
272
|
+
class: nil,
|
273
|
+
disabled: nil,
|
274
|
+
form: nil,
|
275
|
+
id: nil,
|
276
|
+
name: nil,
|
277
|
+
**attributes,
|
278
|
+
&content
|
279
|
+
) = nil
|
280
|
+
# Outputs a `<figcaption>` tag.
|
281
|
+
# See https://developer.mozilla.org/docs/Web/HTML/Element/figcaption
|
282
|
+
register_element def figcaption(
|
283
|
+
class: nil,
|
284
|
+
id: nil,
|
285
|
+
**attributes,
|
286
|
+
&content
|
287
|
+
) = nil
|
288
|
+
# Outputs a `<figure>` tag.
|
289
|
+
# See https://developer.mozilla.org/docs/Web/HTML/Element/figure
|
290
|
+
register_element def figure(
|
291
|
+
class: nil,
|
292
|
+
id: nil,
|
293
|
+
**attributes,
|
294
|
+
&content
|
295
|
+
) = nil
|
296
|
+
# Outputs a `<footer>` tag.
|
297
|
+
# See https://developer.mozilla.org/docs/Web/HTML/Element/footer
|
298
|
+
register_element def footer(
|
299
|
+
class: nil,
|
300
|
+
id: nil,
|
301
|
+
**attributes,
|
302
|
+
&content
|
303
|
+
) = nil
|
304
|
+
# Outputs a `<form>` tag.
|
305
|
+
# See https://developer.mozilla.org/docs/Web/HTML/Element/form
|
306
|
+
register_element def form(
|
307
|
+
action: nil,
|
308
|
+
class: nil,
|
309
|
+
enctype: nil,
|
310
|
+
id: nil,
|
311
|
+
method: nil,
|
312
|
+
**attributes,
|
313
|
+
&content
|
314
|
+
) = nil
|
315
|
+
# Outputs an `<h1>` tag.
|
316
|
+
# See https://developer.mozilla.org/docs/Web/HTML/Element/h1
|
317
|
+
register_element def h1(
|
318
|
+
class: nil,
|
319
|
+
id: nil,
|
320
|
+
**attributes,
|
321
|
+
&content
|
322
|
+
) = nil
|
323
|
+
# Outputs an `<h2>` tag.
|
324
|
+
# See https://developer.mozilla.org/docs/Web/HTML/Element/h2
|
325
|
+
register_element def h2(
|
326
|
+
class: nil,
|
327
|
+
id: nil,
|
328
|
+
**attributes,
|
329
|
+
&content
|
330
|
+
) = nil
|
331
|
+
# Outputs an `<h3>` tag.
|
332
|
+
# See https://developer.mozilla.org/docs/Web/HTML/Element/h3
|
333
|
+
register_element def h3(
|
334
|
+
class: nil,
|
335
|
+
id: nil,
|
336
|
+
**attributes,
|
337
|
+
&content
|
338
|
+
) = nil
|
339
|
+
# Outputs an `<h4>` tag.
|
340
|
+
# See https://developer.mozilla.org/docs/Web/HTML/Element/h4
|
341
|
+
register_element def h4(
|
342
|
+
class: nil,
|
343
|
+
id: nil,
|
344
|
+
**attributes,
|
345
|
+
&content
|
346
|
+
) = nil
|
347
|
+
# Outputs an `<h5>` tag.
|
348
|
+
# See https://developer.mozilla.org/docs/Web/HTML/Element/h5
|
349
|
+
register_element def h5(
|
350
|
+
class: nil,
|
351
|
+
id: nil,
|
352
|
+
**attributes,
|
353
|
+
&content
|
354
|
+
) = nil
|
355
|
+
# Outputs an `<h6>` tag.
|
356
|
+
# See https://developer.mozilla.org/docs/Web/HTML/Element/h6
|
357
|
+
register_element def h6(
|
358
|
+
class: nil,
|
359
|
+
id: nil,
|
360
|
+
**attributes,
|
361
|
+
&content
|
362
|
+
) = nil
|
363
|
+
# Outputs a `<head>` tag.
|
364
|
+
# See https://developer.mozilla.org/docs/Web/HTML/Element/head
|
365
|
+
register_element def head(
|
366
|
+
class: nil,
|
367
|
+
id: nil,
|
368
|
+
**attributes,
|
369
|
+
&content
|
370
|
+
) = nil
|
371
|
+
# Outputs a `<header>` tag.
|
372
|
+
# See https://developer.mozilla.org/docs/Web/HTML/Element/header
|
373
|
+
register_element def header(
|
374
|
+
class: nil,
|
375
|
+
id: nil,
|
376
|
+
**attributes,
|
377
|
+
&content
|
378
|
+
) = nil
|
379
|
+
# Outputs an `<hgroup>` tag.
|
380
|
+
# See https://developer.mozilla.org/docs/Web/HTML/Element/hgroup
|
381
|
+
register_element def hgroup(
|
382
|
+
class: nil,
|
383
|
+
id: nil,
|
384
|
+
**attributes,
|
385
|
+
&content
|
386
|
+
) = nil
|
387
|
+
# Outputs an `<html>` tag.
|
388
|
+
# See https://developer.mozilla.org/docs/Web/HTML/Element/html
|
389
|
+
register_element def html(
|
390
|
+
class: nil,
|
391
|
+
id: nil,
|
392
|
+
lang: nil,
|
393
|
+
**attributes,
|
394
|
+
&content
|
395
|
+
) = nil
|
396
|
+
# Outputs an `<i>` tag.
|
397
|
+
# See https://developer.mozilla.org/docs/Web/HTML/Element/i
|
398
|
+
register_element def i(
|
399
|
+
class: nil,
|
400
|
+
id: nil,
|
401
|
+
**attributes,
|
402
|
+
&content
|
403
|
+
) = nil
|
404
|
+
# Outputs an `<iframe>` tag.
|
405
|
+
# See https://developer.mozilla.org/docs/Web/HTML/Element/iframe
|
406
|
+
register_element def iframe(
|
407
|
+
class: nil,
|
408
|
+
height: nil,
|
409
|
+
id: nil,
|
410
|
+
name: nil,
|
411
|
+
src: nil,
|
412
|
+
srcdoc: nil,
|
413
|
+
width: nil,
|
414
|
+
**attributes,
|
415
|
+
&content
|
416
|
+
) = nil
|
417
|
+
# Outputs an `<ins>` tag.
|
418
|
+
# See https://developer.mozilla.org/docs/Web/HTML/Element/ins
|
419
|
+
register_element def ins(
|
420
|
+
cite: nil,
|
421
|
+
class: nil,
|
422
|
+
datetime: nil,
|
423
|
+
id: nil,
|
424
|
+
**attributes,
|
425
|
+
&content
|
426
|
+
) = nil
|
427
|
+
# Outputs a `<kbd>` tag.
|
428
|
+
# See https://developer.mozilla.org/docs/Web/HTML/Element/kbd
|
429
|
+
register_element def kbd(
|
430
|
+
class: nil,
|
431
|
+
id: nil,
|
432
|
+
**attributes,
|
433
|
+
&content
|
434
|
+
) = nil
|
435
|
+
# Outputs a `<label>` tag.
|
436
|
+
# See https://developer.mozilla.org/docs/Web/HTML/Element/label
|
437
|
+
register_element def label(
|
438
|
+
class: nil,
|
439
|
+
for: nil,
|
440
|
+
form: nil,
|
441
|
+
id: nil,
|
442
|
+
**attributes,
|
443
|
+
&content
|
444
|
+
) = nil
|
445
|
+
# Outputs a `<legend>` tag.
|
446
|
+
# See https://developer.mozilla.org/docs/Web/HTML/Element/legend
|
447
|
+
register_element def legend(
|
448
|
+
class: nil,
|
449
|
+
id: nil,
|
450
|
+
**attributes,
|
451
|
+
&content
|
452
|
+
) = nil
|
453
|
+
# Outputs a `<li>` tag.
|
454
|
+
# See https://developer.mozilla.org/docs/Web/HTML/Element/li
|
455
|
+
register_element def li(
|
456
|
+
class: nil,
|
457
|
+
id: nil,
|
458
|
+
value: nil,
|
459
|
+
**attributes,
|
460
|
+
&content
|
461
|
+
) = nil
|
462
|
+
# Outputs a `<main>` tag.
|
463
|
+
# See https://developer.mozilla.org/docs/Web/HTML/Element/main
|
464
|
+
register_element def main(
|
465
|
+
class: nil,
|
466
|
+
id: nil,
|
467
|
+
**attributes,
|
468
|
+
&content
|
469
|
+
) = nil
|
470
|
+
# Outputs a `<map>` tag.
|
471
|
+
# See https://developer.mozilla.org/docs/Web/HTML/Element/map
|
472
|
+
register_element def map(
|
473
|
+
class: nil,
|
474
|
+
id: nil,
|
475
|
+
name: nil,
|
476
|
+
**attributes,
|
477
|
+
&content
|
478
|
+
) = nil
|
479
|
+
# Outputs a `<mark>` tag.
|
480
|
+
# See https://developer.mozilla.org/docs/Web/HTML/Element/mark
|
481
|
+
register_element def mark(
|
482
|
+
class: nil,
|
483
|
+
id: nil,
|
484
|
+
**attributes,
|
485
|
+
&content
|
486
|
+
) = nil
|
487
|
+
# Outputs a `<menu>` tag.
|
488
|
+
# See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/menu
|
489
|
+
register_element def menu(
|
490
|
+
class: nil,
|
491
|
+
id: nil,
|
492
|
+
type: nil,
|
493
|
+
**attributes,
|
494
|
+
&content
|
495
|
+
) = nil
|
496
|
+
# Outputs a `<meter>` tag.
|
497
|
+
# See https://developer.mozilla.org/docs/Web/HTML/Element/meter
|
498
|
+
register_element def meter(
|
499
|
+
class: nil,
|
500
|
+
high: nil,
|
501
|
+
id: nil,
|
502
|
+
low: nil,
|
503
|
+
max: nil,
|
504
|
+
min: nil,
|
505
|
+
optimum: nil,
|
506
|
+
value: nil,
|
507
|
+
**attributes,
|
508
|
+
&content
|
509
|
+
) = nil
|
510
|
+
# Outputs a `<nav>` tag.
|
511
|
+
# See https://developer.mozilla.org/docs/Web/HTML/Element/nav
|
512
|
+
register_element def nav(
|
513
|
+
class: nil,
|
514
|
+
id: nil,
|
515
|
+
**attributes,
|
516
|
+
&content
|
517
|
+
) = nil
|
518
|
+
# Outputs a `<noscript>` tag.
|
519
|
+
# See https://developer.mozilla.org/docs/Web/HTML/Element/noscript
|
520
|
+
register_element def noscript(
|
521
|
+
class: nil,
|
522
|
+
id: nil,
|
523
|
+
**attributes,
|
524
|
+
&content
|
525
|
+
) = nil
|
526
|
+
# Outputs an `<object>` tag.
|
527
|
+
# See https://developer.mozilla.org/docs/Web/HTML/Element/object
|
528
|
+
register_element def object(
|
529
|
+
class: nil,
|
530
|
+
data: nil,
|
531
|
+
height: nil,
|
532
|
+
id: nil,
|
533
|
+
type: nil,
|
534
|
+
width: nil,
|
535
|
+
**attributes,
|
536
|
+
&content
|
537
|
+
) = nil
|
538
|
+
# Outputs an `<ol>` tag.
|
539
|
+
# See https://developer.mozilla.org/docs/Web/HTML/Element/ol
|
540
|
+
register_element def ol(
|
541
|
+
class: nil,
|
542
|
+
id: nil,
|
543
|
+
reversed: nil,
|
544
|
+
start: nil,
|
545
|
+
type: nil,
|
546
|
+
**attributes,
|
547
|
+
&content
|
548
|
+
) = nil
|
549
|
+
# Outputs an `<optgroup>` tag.
|
550
|
+
# See https://developer.mozilla.org/docs/Web/HTML/Element/optgroup
|
551
|
+
register_element def optgroup(
|
552
|
+
class: nil,
|
553
|
+
disabled: nil,
|
554
|
+
id: nil,
|
555
|
+
label: nil,
|
556
|
+
**attributes,
|
557
|
+
&content
|
558
|
+
) = nil
|
559
|
+
# Outputs an `<option>` tag.
|
560
|
+
# See https://developer.mozilla.org/docs/Web/HTML/Element/option
|
561
|
+
register_element def option(
|
562
|
+
class: nil,
|
563
|
+
disabled: nil,
|
564
|
+
id: nil,
|
565
|
+
selected: nil,
|
566
|
+
value: nil,
|
567
|
+
**attributes,
|
568
|
+
&content
|
569
|
+
) = nil
|
570
|
+
# Outputs an `<output>` tag.
|
571
|
+
# See https://developer.mozilla.org/docs/Web/HTML/Element/output
|
572
|
+
register_element def output(
|
573
|
+
class: nil,
|
574
|
+
for: nil,
|
575
|
+
form: nil,
|
576
|
+
id: nil,
|
577
|
+
name: nil,
|
578
|
+
**attributes,
|
579
|
+
&content
|
580
|
+
) = nil
|
581
|
+
# Outputs a `<p>` tag.
|
582
|
+
# See https://developer.mozilla.org/docs/Web/HTML/Element/p
|
583
|
+
register_element def p(
|
584
|
+
class: nil,
|
585
|
+
id: nil,
|
586
|
+
**attributes,
|
587
|
+
&content
|
588
|
+
) = nil
|
589
|
+
# Outputs a `<picture>` tag.
|
590
|
+
# See https://developer.mozilla.org/docs/Web/HTML/Element/picture
|
591
|
+
register_element def picture(
|
592
|
+
class: nil,
|
593
|
+
id: nil,
|
594
|
+
**attributes,
|
595
|
+
&content
|
596
|
+
) = nil
|
597
|
+
# Outputs a `<portal>` tag. (Experimental)
|
598
|
+
# See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/portal
|
599
|
+
register_element def portal(
|
600
|
+
class: nil,
|
601
|
+
id: nil,
|
602
|
+
src: nil,
|
603
|
+
**attributes,
|
604
|
+
&content
|
605
|
+
) = nil
|
606
|
+
# Outputs a `<pre>` tag.
|
607
|
+
# See https://developer.mozilla.org/docs/Web/HTML/Element/pre
|
608
|
+
register_element def pre(
|
609
|
+
class: nil,
|
610
|
+
id: nil,
|
611
|
+
**attributes,
|
612
|
+
&content
|
613
|
+
) = nil
|
614
|
+
# Outputs a `<progress>` tag.
|
615
|
+
# See https://developer.mozilla.org/docs/Web/HTML/Element/progress
|
616
|
+
register_element def progress(
|
617
|
+
class: nil,
|
618
|
+
id: nil,
|
619
|
+
max: nil,
|
620
|
+
value: nil,
|
621
|
+
**attributes,
|
622
|
+
&content
|
623
|
+
) = nil
|
624
|
+
# Outputs a `<q>` tag.
|
625
|
+
# See https://developer.mozilla.org/docs/Web/HTML/Element/q
|
626
|
+
register_element def q(
|
627
|
+
cite: nil,
|
628
|
+
class: nil,
|
629
|
+
id: nil,
|
630
|
+
**attributes,
|
631
|
+
&content
|
632
|
+
) = nil
|
633
|
+
# Outputs an `<rp>` tag.
|
634
|
+
# See https://developer.mozilla.org/docs/Web/HTML/Element/rp
|
635
|
+
register_element def rp(
|
636
|
+
class: nil,
|
637
|
+
id: nil,
|
638
|
+
**attributes,
|
639
|
+
&content
|
640
|
+
) = nil
|
641
|
+
# Outputs an `<rt>` tag.
|
642
|
+
# See https://developer.mozilla.org/docs/Web/HTML/Element/rt
|
643
|
+
register_element def rt(
|
644
|
+
class: nil,
|
645
|
+
id: nil,
|
646
|
+
**attributes,
|
647
|
+
&content
|
648
|
+
) = nil
|
649
|
+
# Outputs a `<ruby>` tag. (The best tag ever!)
|
650
|
+
# See https://developer.mozilla.org/docs/Web/HTML/Element/ruby
|
651
|
+
register_element def ruby(
|
652
|
+
class: nil,
|
653
|
+
id: nil,
|
654
|
+
**attributes,
|
655
|
+
&content
|
656
|
+
) = nil
|
657
|
+
# Outputs an `<s>` tag.
|
658
|
+
# See https://developer.mozilla.org/docs/Web/HTML/Element/s
|
659
|
+
register_element def s(
|
660
|
+
class: nil,
|
661
|
+
id: nil,
|
662
|
+
**attributes,
|
663
|
+
&content
|
664
|
+
) = nil
|
665
|
+
# Outputs a `<samp>` tag.
|
666
|
+
# See https://developer.mozilla.org/docs/Web/HTML/Element/samp
|
667
|
+
register_element def samp(
|
668
|
+
class: nil,
|
669
|
+
id: nil,
|
670
|
+
**attributes,
|
671
|
+
&content
|
672
|
+
) = nil
|
673
|
+
# Outputs a `<script>` tag.
|
674
|
+
# See https://developer.mozilla.org/docs/Web/HTML/Element/script
|
675
|
+
register_element def script(
|
676
|
+
async: nil,
|
677
|
+
class: nil,
|
678
|
+
defer: nil,
|
679
|
+
id: nil,
|
680
|
+
src: nil,
|
681
|
+
type: nil,
|
682
|
+
**attributes,
|
683
|
+
&content
|
684
|
+
) = nil
|
685
|
+
# Outputs a `<search>` tag.
|
686
|
+
# See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/search
|
687
|
+
register_element def search(
|
688
|
+
class: nil,
|
689
|
+
id: nil,
|
690
|
+
**attributes,
|
691
|
+
&content
|
692
|
+
) = nil
|
693
|
+
# Outputs a `<section>` tag.
|
694
|
+
# See https://developer.mozilla.org/docs/Web/HTML/Element/section
|
695
|
+
register_element def section(
|
696
|
+
class: nil,
|
697
|
+
id: nil,
|
698
|
+
**attributes,
|
699
|
+
&content
|
700
|
+
) = nil
|
701
|
+
# Outputs a `<select>` tag.
|
702
|
+
# See https://developer.mozilla.org/docs/Web/HTML/Element/select
|
703
|
+
register_element def select(
|
704
|
+
class: nil,
|
705
|
+
id: nil,
|
706
|
+
multiple: nil,
|
707
|
+
name: nil,
|
708
|
+
size: nil,
|
709
|
+
**attributes,
|
710
|
+
&content
|
711
|
+
) = nil
|
712
|
+
# Outputs a `<slot>` tag.
|
713
|
+
# See https://developer.mozilla.org/docs/Web/HTML/Element/slot
|
714
|
+
register_element def slot(
|
715
|
+
class: nil,
|
716
|
+
id: nil,
|
717
|
+
name: nil,
|
718
|
+
**attributes,
|
719
|
+
&content
|
720
|
+
) = nil
|
721
|
+
# Outputs a `<small>` tag.
|
722
|
+
# See https://developer.mozilla.org/docs/Web/HTML/Element/small
|
723
|
+
register_element def small(
|
724
|
+
class: nil,
|
725
|
+
id: nil,
|
726
|
+
**attributes,
|
727
|
+
&content
|
728
|
+
) = nil
|
729
|
+
# Outputs a `<span>` tag.
|
730
|
+
# See https://developer.mozilla.org/docs/Web/HTML/Element/span
|
731
|
+
register_element def span(
|
732
|
+
class: nil,
|
733
|
+
id: nil,
|
734
|
+
**attributes,
|
735
|
+
&content
|
736
|
+
) = nil
|
737
|
+
# Outputs a `<strong>` tag.
|
738
|
+
# See https://developer.mozilla.org/docs/Web/HTML/Element/strong
|
739
|
+
register_element def strong(
|
740
|
+
class: nil,
|
741
|
+
id: nil,
|
742
|
+
**attributes,
|
743
|
+
&content
|
744
|
+
) = nil
|
745
|
+
# Outputs a `<style>` tag.
|
746
|
+
# See https://developer.mozilla.org/docs/Web/HTML/Element/style
|
747
|
+
register_element def style(
|
748
|
+
class: nil,
|
749
|
+
id: nil,
|
750
|
+
media: nil,
|
751
|
+
type: nil,
|
752
|
+
**attributes,
|
753
|
+
&content
|
754
|
+
) = nil
|
755
|
+
# Outputs a `<sub>` tag.
|
756
|
+
# See https://developer.mozilla.org/docs/Web/HTML/Element/sub
|
757
|
+
register_element def sub(
|
758
|
+
class: nil,
|
759
|
+
id: nil,
|
760
|
+
**attributes,
|
761
|
+
&content
|
762
|
+
) = nil
|
763
|
+
# Outputs a `<summary>` tag.
|
764
|
+
# See https://developer.mozilla.org/docs/Web/HTML/Element/summary
|
765
|
+
register_element def summary(
|
766
|
+
class: nil,
|
767
|
+
id: nil,
|
768
|
+
**attributes,
|
769
|
+
&content
|
770
|
+
) = nil
|
771
|
+
# Outputs a `<sup>` tag.
|
772
|
+
# See https://developer.mozilla.org/docs/Web/HTML/Element/sup
|
773
|
+
register_element def sup(
|
774
|
+
class: nil,
|
775
|
+
id: nil,
|
776
|
+
**attributes,
|
777
|
+
&content
|
778
|
+
) = nil
|
779
|
+
# Outputs an `<svg>` tag.
|
780
|
+
# See https://developer.mozilla.org/en-US/docs/Web/SVG/Element/svg
|
781
|
+
register_element def svg(
|
782
|
+
class: nil,
|
783
|
+
height: nil,
|
784
|
+
id: nil,
|
785
|
+
viewBox: nil,
|
786
|
+
width: nil,
|
787
|
+
**attributes,
|
788
|
+
&content
|
789
|
+
) = nil
|
790
|
+
# Outputs a `<table>` tag.
|
791
|
+
# See https://developer.mozilla.org/docs/Web/HTML/Element/table
|
792
|
+
register_element def table(
|
793
|
+
class: nil,
|
794
|
+
id: nil,
|
795
|
+
**attributes,
|
796
|
+
&content
|
797
|
+
) = nil
|
798
|
+
# Outputs a `<tbody>` tag.
|
799
|
+
# See https://developer.mozilla.org/docs/Web/HTML/Element/tbody
|
800
|
+
register_element def tbody(
|
801
|
+
class: nil,
|
802
|
+
id: nil,
|
803
|
+
**attributes,
|
804
|
+
&content
|
805
|
+
) = nil
|
806
|
+
# Outputs a `<td>` tag.
|
807
|
+
# See https://developer.mozilla.org/docs/Web/HTML/Element/td
|
808
|
+
register_element def td(
|
809
|
+
class: nil,
|
810
|
+
colspan: nil,
|
811
|
+
headers: nil,
|
812
|
+
id: nil,
|
813
|
+
rowspan: nil,
|
814
|
+
**attributes,
|
815
|
+
&content
|
816
|
+
) = nil
|
817
|
+
# Outputs a `<template>` tag.
|
818
|
+
# See https://developer.mozilla.org/docs/Web/HTML/Element/template
|
819
|
+
register_element def template(
|
820
|
+
class: nil,
|
821
|
+
id: nil,
|
822
|
+
**attributes,
|
823
|
+
&content
|
824
|
+
) = nil
|
825
|
+
# Outputs a `<textarea>` tag.
|
826
|
+
# See https://developer.mozilla.org/docs/Web/HTML/Element/textarea
|
827
|
+
register_element def textarea(
|
828
|
+
class: nil,
|
829
|
+
cols: nil,
|
830
|
+
disabled: nil,
|
831
|
+
id: nil,
|
832
|
+
name: nil,
|
833
|
+
readonly: nil,
|
834
|
+
rows: nil,
|
835
|
+
**attributes,
|
836
|
+
&content
|
837
|
+
) = nil
|
838
|
+
# Outputs a `<tfoot>` tag.
|
839
|
+
# See https://developer.mozilla.org/docs/Web/HTML/Element/tfoot
|
840
|
+
register_element def tfoot(
|
841
|
+
class: nil,
|
842
|
+
id: nil,
|
843
|
+
**attributes,
|
844
|
+
&content
|
845
|
+
) = nil
|
846
|
+
# Outputs a `<th>` tag.
|
847
|
+
# See https://developer.mozilla.org/docs/Web/HTML/Element/th
|
848
|
+
register_element def th(
|
849
|
+
class: nil,
|
850
|
+
colspan: nil,
|
851
|
+
headers: nil,
|
852
|
+
id: nil,
|
853
|
+
rowspan: nil,
|
854
|
+
scope: nil,
|
855
|
+
**attributes,
|
856
|
+
&content
|
857
|
+
) = nil
|
858
|
+
# Outputs a `<thead>` tag.
|
859
|
+
# See https://developer.mozilla.org/docs/Web/HTML/Element/thead
|
860
|
+
register_element def thead(
|
861
|
+
class: nil,
|
862
|
+
id: nil,
|
863
|
+
**attributes,
|
864
|
+
&content
|
865
|
+
) = nil
|
866
|
+
# Outputs a `<time>` tag.
|
867
|
+
# See https://developer.mozilla.org/docs/Web/HTML/Element/time
|
868
|
+
register_element def time(
|
869
|
+
class: nil,
|
870
|
+
datetime: nil,
|
871
|
+
id: nil,
|
872
|
+
**attributes,
|
873
|
+
&content
|
874
|
+
) = nil
|
875
|
+
# Outputs a `<title>` tag.
|
876
|
+
# See https://developer.mozilla.org/docs/Web/HTML/Element/title
|
877
|
+
register_element def title(
|
878
|
+
class: nil,
|
879
|
+
id: nil,
|
880
|
+
**attributes,
|
881
|
+
&content
|
882
|
+
) = nil
|
883
|
+
# Outputs a `<tr>` tag.
|
884
|
+
# See https://developer.mozilla.org/docs/Web/HTML/Element/tr
|
885
|
+
register_element def tr(
|
886
|
+
class: nil,
|
887
|
+
id: nil,
|
888
|
+
**attributes,
|
889
|
+
&content
|
890
|
+
) = nil
|
891
|
+
# Outputs a `<u>` tag.
|
892
|
+
# See https://developer.mozilla.org/docs/Web/HTML/Element/u
|
893
|
+
register_element def u(
|
894
|
+
class: nil,
|
895
|
+
id: nil,
|
896
|
+
**attributes,
|
897
|
+
&content
|
898
|
+
) = nil
|
899
|
+
# Outputs a `<ul>` tag.
|
900
|
+
# See https://developer.mozilla.org/docs/Web/HTML/Element/ul
|
901
|
+
register_element def ul(
|
902
|
+
class: nil,
|
903
|
+
id: nil,
|
904
|
+
**attributes,
|
905
|
+
&content
|
906
|
+
) = nil
|
907
|
+
# Outputs a `<var>` tag.
|
908
|
+
# See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/var
|
909
|
+
register_element def var(
|
910
|
+
class: nil,
|
911
|
+
id: nil,
|
912
|
+
**attributes,
|
913
|
+
&content
|
914
|
+
) = nil
|
915
|
+
# Outputs a `<video>` tag.
|
916
|
+
# See https://developer.mozilla.org/docs/Web/HTML/Element/video
|
917
|
+
register_element def video(
|
918
|
+
autoplay: nil,
|
919
|
+
class: nil,
|
920
|
+
controls: nil,
|
921
|
+
height: nil,
|
922
|
+
id: nil,
|
923
|
+
loop: nil,
|
924
|
+
src: nil,
|
925
|
+
width: nil,
|
926
|
+
**attributes,
|
927
|
+
&content
|
928
|
+
) = nil
|
929
|
+
# Outputs a `<wbr>` tag.
|
930
|
+
# See https://developer.mozilla.org/docs/Web/HTML/Element/wbr
|
931
|
+
register_element def wbr(
|
932
|
+
class: nil,
|
933
|
+
id: nil,
|
934
|
+
**attributes,
|
935
|
+
&content
|
936
|
+
) = nil
|
727
937
|
end
|