phlex 2.0.0.rc1 → 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/lib/phlex/fifo.rb +10 -3
- data/lib/phlex/fifo_cache_store.rb +49 -0
- data/lib/phlex/helpers.rb +1 -1
- data/lib/phlex/html/standard_elements.rb +0 -101
- data/lib/phlex/html/void_elements.rb +0 -11
- data/lib/phlex/html.rb +3 -3
- data/lib/phlex/kit.rb +20 -15
- data/lib/phlex/null_cache_store.rb +9 -0
- data/lib/phlex/sgml/elements.rb +19 -53
- data/lib/phlex/sgml/state.rb +118 -0
- data/lib/phlex/sgml.rb +131 -68
- data/lib/phlex/svg/standard_elements.rb +0 -63
- data/lib/phlex/version.rb +1 -1
- data/lib/phlex.rb +16 -5
- metadata +6 -7
- data/lib/phlex/context.rb +0 -60
@@ -17,7 +17,6 @@ module Phlex::HTML::StandardElements
|
|
17
17
|
**attributes,
|
18
18
|
&content
|
19
19
|
) = nil
|
20
|
-
|
21
20
|
# Outputs an `<abbr>` tag.
|
22
21
|
# The `<abbr>` element represents an abbreviation or acronym.
|
23
22
|
# See https://developer.mozilla.org/docs/Web/HTML/Element/abbr
|
@@ -28,7 +27,6 @@ module Phlex::HTML::StandardElements
|
|
28
27
|
**attributes,
|
29
28
|
&content
|
30
29
|
) = nil
|
31
|
-
|
32
30
|
# Outputs an `<address>` tag.
|
33
31
|
# The `<address>` element indicates contact information for a person or organization.
|
34
32
|
# See https://developer.mozilla.org/docs/Web/HTML/Element/address
|
@@ -38,7 +36,6 @@ module Phlex::HTML::StandardElements
|
|
38
36
|
**attributes,
|
39
37
|
&content
|
40
38
|
) = nil
|
41
|
-
|
42
39
|
# Outputs an `<article>` tag.
|
43
40
|
# The `<article>` element represents a self-contained composition in a document, page, application, or site.
|
44
41
|
# See https://developer.mozilla.org/docs/Web/HTML/Element/article
|
@@ -48,7 +45,6 @@ module Phlex::HTML::StandardElements
|
|
48
45
|
**attributes,
|
49
46
|
&content
|
50
47
|
) = nil
|
51
|
-
|
52
48
|
# Outputs an `<aside>` tag.
|
53
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.
|
54
50
|
# See https://developer.mozilla.org/docs/Web/HTML/Element/aside
|
@@ -58,7 +54,6 @@ module Phlex::HTML::StandardElements
|
|
58
54
|
**attributes,
|
59
55
|
&content
|
60
56
|
) = nil
|
61
|
-
|
62
57
|
# Outputs an `<audio>` tag.
|
63
58
|
# See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/audio
|
64
59
|
register_element def audio(
|
@@ -71,7 +66,6 @@ module Phlex::HTML::StandardElements
|
|
71
66
|
**attributes,
|
72
67
|
&content
|
73
68
|
) = nil
|
74
|
-
|
75
69
|
# Outputs a `<b>` tag.
|
76
70
|
# See https://developer.mozilla.org/docs/Web/HTML/Element/b
|
77
71
|
register_element def b(
|
@@ -80,7 +74,6 @@ module Phlex::HTML::StandardElements
|
|
80
74
|
**attributes,
|
81
75
|
&content
|
82
76
|
) = nil
|
83
|
-
|
84
77
|
# Outputs a `<bdi>` tag.
|
85
78
|
# See https://developer.mozilla.org/docs/Web/HTML/Element/bdi
|
86
79
|
register_element def bdi(
|
@@ -89,7 +82,6 @@ module Phlex::HTML::StandardElements
|
|
89
82
|
**attributes,
|
90
83
|
&content
|
91
84
|
) = nil
|
92
|
-
|
93
85
|
# Outputs a `<bdo>` tag.
|
94
86
|
# See https://developer.mozilla.org/docs/Web/HTML/Element/bdo
|
95
87
|
register_element def bdo(
|
@@ -99,7 +91,6 @@ module Phlex::HTML::StandardElements
|
|
99
91
|
**attributes,
|
100
92
|
&content
|
101
93
|
) = nil
|
102
|
-
|
103
94
|
# Outputs a `<blockquote>` tag.
|
104
95
|
# See https://developer.mozilla.org/docs/Web/HTML/Element/blockquote
|
105
96
|
register_element def blockquote(
|
@@ -109,7 +100,6 @@ module Phlex::HTML::StandardElements
|
|
109
100
|
**attributes,
|
110
101
|
&content
|
111
102
|
) = nil
|
112
|
-
|
113
103
|
# Outputs a `<body>` tag.
|
114
104
|
# See https://developer.mozilla.org/docs/Web/HTML/Element/body
|
115
105
|
register_element def body(
|
@@ -118,7 +108,6 @@ module Phlex::HTML::StandardElements
|
|
118
108
|
**attributes,
|
119
109
|
&content
|
120
110
|
) = nil
|
121
|
-
|
122
111
|
# Outputs a `<button>` tag.
|
123
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.
|
124
113
|
# See https://developer.mozilla.org/docs/Web/HTML/Element/button
|
@@ -140,7 +129,6 @@ module Phlex::HTML::StandardElements
|
|
140
129
|
**attributes,
|
141
130
|
&content
|
142
131
|
) = nil
|
143
|
-
|
144
132
|
# Outputs a `<canvas>` tag.
|
145
133
|
# See https://developer.mozilla.org/docs/Web/HTML/Element/canvas
|
146
134
|
register_element def canvas(
|
@@ -151,7 +139,6 @@ module Phlex::HTML::StandardElements
|
|
151
139
|
**attributes,
|
152
140
|
&content
|
153
141
|
) = nil
|
154
|
-
|
155
142
|
# Outputs a `<caption>` tag.
|
156
143
|
# See https://developer.mozilla.org/docs/Web/HTML/Element/caption
|
157
144
|
register_element def caption(
|
@@ -160,7 +147,6 @@ module Phlex::HTML::StandardElements
|
|
160
147
|
**attributes,
|
161
148
|
&content
|
162
149
|
) = nil
|
163
|
-
|
164
150
|
# Outputs a `<cite>` tag.
|
165
151
|
# See https://developer.mozilla.org/docs/Web/HTML/Element/cite
|
166
152
|
register_element def cite(
|
@@ -169,7 +155,6 @@ module Phlex::HTML::StandardElements
|
|
169
155
|
**attributes,
|
170
156
|
&content
|
171
157
|
) = nil
|
172
|
-
|
173
158
|
# Outputs a `<code>` tag.
|
174
159
|
# See https://developer.mozilla.org/docs/Web/HTML/Element/code
|
175
160
|
register_element def code(
|
@@ -178,7 +163,6 @@ module Phlex::HTML::StandardElements
|
|
178
163
|
**attributes,
|
179
164
|
&content
|
180
165
|
) = nil
|
181
|
-
|
182
166
|
# Outputs a `<colgroup>` tag.
|
183
167
|
# See https://developer.mozilla.org/docs/Web/HTML/Element/colgroup
|
184
168
|
register_element def colgroup(
|
@@ -188,7 +172,6 @@ module Phlex::HTML::StandardElements
|
|
188
172
|
**attributes,
|
189
173
|
&content
|
190
174
|
) = nil
|
191
|
-
|
192
175
|
# Outputs a `<data>` tag.
|
193
176
|
# See https://developer.mozilla.org/docs/Web/HTML/Element/data
|
194
177
|
register_element def data(
|
@@ -198,7 +181,6 @@ module Phlex::HTML::StandardElements
|
|
198
181
|
**attributes,
|
199
182
|
&content
|
200
183
|
) = nil
|
201
|
-
|
202
184
|
# Outputs a `<datalist>` tag.
|
203
185
|
# See https://developer.mozilla.org/docs/Web/HTML/Element/datalist
|
204
186
|
register_element def datalist(
|
@@ -207,7 +189,6 @@ module Phlex::HTML::StandardElements
|
|
207
189
|
**attributes,
|
208
190
|
&content
|
209
191
|
) = nil
|
210
|
-
|
211
192
|
# Outputs a `<dd>` tag.
|
212
193
|
# See https://developer.mozilla.org/docs/Web/HTML/Element/dd
|
213
194
|
register_element def dd(
|
@@ -216,7 +197,6 @@ module Phlex::HTML::StandardElements
|
|
216
197
|
**attributes,
|
217
198
|
&content
|
218
199
|
) = nil
|
219
|
-
|
220
200
|
# Outputs a `<del>` tag.
|
221
201
|
# See https://developer.mozilla.org/docs/Web/HTML/Element/del
|
222
202
|
register_element def del(
|
@@ -227,7 +207,6 @@ module Phlex::HTML::StandardElements
|
|
227
207
|
**attributes,
|
228
208
|
&content
|
229
209
|
) = nil
|
230
|
-
|
231
210
|
# Outputs a `<details>` tag.
|
232
211
|
# See https://developer.mozilla.org/docs/Web/HTML/Element/details
|
233
212
|
register_element def details(
|
@@ -237,7 +216,6 @@ module Phlex::HTML::StandardElements
|
|
237
216
|
**attributes,
|
238
217
|
&content
|
239
218
|
) = nil
|
240
|
-
|
241
219
|
# Outputs a `<dfn>` tag.
|
242
220
|
# See https://developer.mozilla.org/docs/Web/HTML/Element/dfn
|
243
221
|
register_element def dfn(
|
@@ -247,7 +225,6 @@ module Phlex::HTML::StandardElements
|
|
247
225
|
**attributes,
|
248
226
|
&content
|
249
227
|
) = nil
|
250
|
-
|
251
228
|
# Outputs a `<dialog>` tag.
|
252
229
|
# See https://developer.mozilla.org/docs/Web/HTML/Element/dialog
|
253
230
|
register_element def dialog(
|
@@ -257,7 +234,6 @@ module Phlex::HTML::StandardElements
|
|
257
234
|
**attributes,
|
258
235
|
&content
|
259
236
|
) = nil
|
260
|
-
|
261
237
|
# Outputs a `<div>` tag.
|
262
238
|
# See https://developer.mozilla.org/docs/Web/HTML/Element/div
|
263
239
|
register_element def div(
|
@@ -266,7 +242,6 @@ module Phlex::HTML::StandardElements
|
|
266
242
|
**attributes,
|
267
243
|
&content
|
268
244
|
) = nil
|
269
|
-
|
270
245
|
# Outputs a `<dl>` tag.
|
271
246
|
# See https://developer.mozilla.org/docs/Web/HTML/Element/dl
|
272
247
|
register_element def dl(
|
@@ -275,7 +250,6 @@ module Phlex::HTML::StandardElements
|
|
275
250
|
**attributes,
|
276
251
|
&content
|
277
252
|
) = nil
|
278
|
-
|
279
253
|
# Outputs a `<dt>` tag.
|
280
254
|
# See https://developer.mozilla.org/docs/Web/HTML/Element/dt
|
281
255
|
register_element def dt(
|
@@ -284,7 +258,6 @@ module Phlex::HTML::StandardElements
|
|
284
258
|
**attributes,
|
285
259
|
&content
|
286
260
|
) = nil
|
287
|
-
|
288
261
|
# Outputs an `<em>` tag.
|
289
262
|
# See https://developer.mozilla.org/docs/Web/HTML/Element/em
|
290
263
|
register_element def em(
|
@@ -293,7 +266,6 @@ module Phlex::HTML::StandardElements
|
|
293
266
|
**attributes,
|
294
267
|
&content
|
295
268
|
) = nil
|
296
|
-
|
297
269
|
# Outputs a `<fieldset>` tag.
|
298
270
|
# See https://developer.mozilla.org/docs/Web/HTML/Element/fieldset
|
299
271
|
register_element def fieldset(
|
@@ -305,7 +277,6 @@ module Phlex::HTML::StandardElements
|
|
305
277
|
**attributes,
|
306
278
|
&content
|
307
279
|
) = nil
|
308
|
-
|
309
280
|
# Outputs a `<figcaption>` tag.
|
310
281
|
# See https://developer.mozilla.org/docs/Web/HTML/Element/figcaption
|
311
282
|
register_element def figcaption(
|
@@ -314,7 +285,6 @@ module Phlex::HTML::StandardElements
|
|
314
285
|
**attributes,
|
315
286
|
&content
|
316
287
|
) = nil
|
317
|
-
|
318
288
|
# Outputs a `<figure>` tag.
|
319
289
|
# See https://developer.mozilla.org/docs/Web/HTML/Element/figure
|
320
290
|
register_element def figure(
|
@@ -323,7 +293,6 @@ module Phlex::HTML::StandardElements
|
|
323
293
|
**attributes,
|
324
294
|
&content
|
325
295
|
) = nil
|
326
|
-
|
327
296
|
# Outputs a `<footer>` tag.
|
328
297
|
# See https://developer.mozilla.org/docs/Web/HTML/Element/footer
|
329
298
|
register_element def footer(
|
@@ -332,7 +301,6 @@ module Phlex::HTML::StandardElements
|
|
332
301
|
**attributes,
|
333
302
|
&content
|
334
303
|
) = nil
|
335
|
-
|
336
304
|
# Outputs a `<form>` tag.
|
337
305
|
# See https://developer.mozilla.org/docs/Web/HTML/Element/form
|
338
306
|
register_element def form(
|
@@ -344,7 +312,6 @@ module Phlex::HTML::StandardElements
|
|
344
312
|
**attributes,
|
345
313
|
&content
|
346
314
|
) = nil
|
347
|
-
|
348
315
|
# Outputs an `<h1>` tag.
|
349
316
|
# See https://developer.mozilla.org/docs/Web/HTML/Element/h1
|
350
317
|
register_element def h1(
|
@@ -353,7 +320,6 @@ module Phlex::HTML::StandardElements
|
|
353
320
|
**attributes,
|
354
321
|
&content
|
355
322
|
) = nil
|
356
|
-
|
357
323
|
# Outputs an `<h2>` tag.
|
358
324
|
# See https://developer.mozilla.org/docs/Web/HTML/Element/h2
|
359
325
|
register_element def h2(
|
@@ -362,7 +328,6 @@ module Phlex::HTML::StandardElements
|
|
362
328
|
**attributes,
|
363
329
|
&content
|
364
330
|
) = nil
|
365
|
-
|
366
331
|
# Outputs an `<h3>` tag.
|
367
332
|
# See https://developer.mozilla.org/docs/Web/HTML/Element/h3
|
368
333
|
register_element def h3(
|
@@ -371,7 +336,6 @@ module Phlex::HTML::StandardElements
|
|
371
336
|
**attributes,
|
372
337
|
&content
|
373
338
|
) = nil
|
374
|
-
|
375
339
|
# Outputs an `<h4>` tag.
|
376
340
|
# See https://developer.mozilla.org/docs/Web/HTML/Element/h4
|
377
341
|
register_element def h4(
|
@@ -380,7 +344,6 @@ module Phlex::HTML::StandardElements
|
|
380
344
|
**attributes,
|
381
345
|
&content
|
382
346
|
) = nil
|
383
|
-
|
384
347
|
# Outputs an `<h5>` tag.
|
385
348
|
# See https://developer.mozilla.org/docs/Web/HTML/Element/h5
|
386
349
|
register_element def h5(
|
@@ -389,7 +352,6 @@ module Phlex::HTML::StandardElements
|
|
389
352
|
**attributes,
|
390
353
|
&content
|
391
354
|
) = nil
|
392
|
-
|
393
355
|
# Outputs an `<h6>` tag.
|
394
356
|
# See https://developer.mozilla.org/docs/Web/HTML/Element/h6
|
395
357
|
register_element def h6(
|
@@ -398,7 +360,6 @@ module Phlex::HTML::StandardElements
|
|
398
360
|
**attributes,
|
399
361
|
&content
|
400
362
|
) = nil
|
401
|
-
|
402
363
|
# Outputs a `<head>` tag.
|
403
364
|
# See https://developer.mozilla.org/docs/Web/HTML/Element/head
|
404
365
|
register_element def head(
|
@@ -407,7 +368,6 @@ module Phlex::HTML::StandardElements
|
|
407
368
|
**attributes,
|
408
369
|
&content
|
409
370
|
) = nil
|
410
|
-
|
411
371
|
# Outputs a `<header>` tag.
|
412
372
|
# See https://developer.mozilla.org/docs/Web/HTML/Element/header
|
413
373
|
register_element def header(
|
@@ -416,7 +376,6 @@ module Phlex::HTML::StandardElements
|
|
416
376
|
**attributes,
|
417
377
|
&content
|
418
378
|
) = nil
|
419
|
-
|
420
379
|
# Outputs an `<hgroup>` tag.
|
421
380
|
# See https://developer.mozilla.org/docs/Web/HTML/Element/hgroup
|
422
381
|
register_element def hgroup(
|
@@ -425,7 +384,6 @@ module Phlex::HTML::StandardElements
|
|
425
384
|
**attributes,
|
426
385
|
&content
|
427
386
|
) = nil
|
428
|
-
|
429
387
|
# Outputs an `<html>` tag.
|
430
388
|
# See https://developer.mozilla.org/docs/Web/HTML/Element/html
|
431
389
|
register_element def html(
|
@@ -435,7 +393,6 @@ module Phlex::HTML::StandardElements
|
|
435
393
|
**attributes,
|
436
394
|
&content
|
437
395
|
) = nil
|
438
|
-
|
439
396
|
# Outputs an `<i>` tag.
|
440
397
|
# See https://developer.mozilla.org/docs/Web/HTML/Element/i
|
441
398
|
register_element def i(
|
@@ -444,7 +401,6 @@ module Phlex::HTML::StandardElements
|
|
444
401
|
**attributes,
|
445
402
|
&content
|
446
403
|
) = nil
|
447
|
-
|
448
404
|
# Outputs an `<iframe>` tag.
|
449
405
|
# See https://developer.mozilla.org/docs/Web/HTML/Element/iframe
|
450
406
|
register_element def iframe(
|
@@ -458,7 +414,6 @@ module Phlex::HTML::StandardElements
|
|
458
414
|
**attributes,
|
459
415
|
&content
|
460
416
|
) = nil
|
461
|
-
|
462
417
|
# Outputs an `<ins>` tag.
|
463
418
|
# See https://developer.mozilla.org/docs/Web/HTML/Element/ins
|
464
419
|
register_element def ins(
|
@@ -469,7 +424,6 @@ module Phlex::HTML::StandardElements
|
|
469
424
|
**attributes,
|
470
425
|
&content
|
471
426
|
) = nil
|
472
|
-
|
473
427
|
# Outputs a `<kbd>` tag.
|
474
428
|
# See https://developer.mozilla.org/docs/Web/HTML/Element/kbd
|
475
429
|
register_element def kbd(
|
@@ -478,7 +432,6 @@ module Phlex::HTML::StandardElements
|
|
478
432
|
**attributes,
|
479
433
|
&content
|
480
434
|
) = nil
|
481
|
-
|
482
435
|
# Outputs a `<label>` tag.
|
483
436
|
# See https://developer.mozilla.org/docs/Web/HTML/Element/label
|
484
437
|
register_element def label(
|
@@ -489,7 +442,6 @@ module Phlex::HTML::StandardElements
|
|
489
442
|
**attributes,
|
490
443
|
&content
|
491
444
|
) = nil
|
492
|
-
|
493
445
|
# Outputs a `<legend>` tag.
|
494
446
|
# See https://developer.mozilla.org/docs/Web/HTML/Element/legend
|
495
447
|
register_element def legend(
|
@@ -498,7 +450,6 @@ module Phlex::HTML::StandardElements
|
|
498
450
|
**attributes,
|
499
451
|
&content
|
500
452
|
) = nil
|
501
|
-
|
502
453
|
# Outputs a `<li>` tag.
|
503
454
|
# See https://developer.mozilla.org/docs/Web/HTML/Element/li
|
504
455
|
register_element def li(
|
@@ -508,7 +459,6 @@ module Phlex::HTML::StandardElements
|
|
508
459
|
**attributes,
|
509
460
|
&content
|
510
461
|
) = nil
|
511
|
-
|
512
462
|
# Outputs a `<main>` tag.
|
513
463
|
# See https://developer.mozilla.org/docs/Web/HTML/Element/main
|
514
464
|
register_element def main(
|
@@ -517,7 +467,6 @@ module Phlex::HTML::StandardElements
|
|
517
467
|
**attributes,
|
518
468
|
&content
|
519
469
|
) = nil
|
520
|
-
|
521
470
|
# Outputs a `<map>` tag.
|
522
471
|
# See https://developer.mozilla.org/docs/Web/HTML/Element/map
|
523
472
|
register_element def map(
|
@@ -527,7 +476,6 @@ module Phlex::HTML::StandardElements
|
|
527
476
|
**attributes,
|
528
477
|
&content
|
529
478
|
) = nil
|
530
|
-
|
531
479
|
# Outputs a `<mark>` tag.
|
532
480
|
# See https://developer.mozilla.org/docs/Web/HTML/Element/mark
|
533
481
|
register_element def mark(
|
@@ -536,7 +484,6 @@ module Phlex::HTML::StandardElements
|
|
536
484
|
**attributes,
|
537
485
|
&content
|
538
486
|
) = nil
|
539
|
-
|
540
487
|
# Outputs a `<menu>` tag.
|
541
488
|
# See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/menu
|
542
489
|
register_element def menu(
|
@@ -546,7 +493,6 @@ module Phlex::HTML::StandardElements
|
|
546
493
|
**attributes,
|
547
494
|
&content
|
548
495
|
) = nil
|
549
|
-
|
550
496
|
# Outputs a `<meter>` tag.
|
551
497
|
# See https://developer.mozilla.org/docs/Web/HTML/Element/meter
|
552
498
|
register_element def meter(
|
@@ -561,7 +507,6 @@ module Phlex::HTML::StandardElements
|
|
561
507
|
**attributes,
|
562
508
|
&content
|
563
509
|
) = nil
|
564
|
-
|
565
510
|
# Outputs a `<nav>` tag.
|
566
511
|
# See https://developer.mozilla.org/docs/Web/HTML/Element/nav
|
567
512
|
register_element def nav(
|
@@ -570,7 +515,6 @@ module Phlex::HTML::StandardElements
|
|
570
515
|
**attributes,
|
571
516
|
&content
|
572
517
|
) = nil
|
573
|
-
|
574
518
|
# Outputs a `<noscript>` tag.
|
575
519
|
# See https://developer.mozilla.org/docs/Web/HTML/Element/noscript
|
576
520
|
register_element def noscript(
|
@@ -579,7 +523,6 @@ module Phlex::HTML::StandardElements
|
|
579
523
|
**attributes,
|
580
524
|
&content
|
581
525
|
) = nil
|
582
|
-
|
583
526
|
# Outputs an `<object>` tag.
|
584
527
|
# See https://developer.mozilla.org/docs/Web/HTML/Element/object
|
585
528
|
register_element def object(
|
@@ -592,7 +535,6 @@ module Phlex::HTML::StandardElements
|
|
592
535
|
**attributes,
|
593
536
|
&content
|
594
537
|
) = nil
|
595
|
-
|
596
538
|
# Outputs an `<ol>` tag.
|
597
539
|
# See https://developer.mozilla.org/docs/Web/HTML/Element/ol
|
598
540
|
register_element def ol(
|
@@ -604,7 +546,6 @@ module Phlex::HTML::StandardElements
|
|
604
546
|
**attributes,
|
605
547
|
&content
|
606
548
|
) = nil
|
607
|
-
|
608
549
|
# Outputs an `<optgroup>` tag.
|
609
550
|
# See https://developer.mozilla.org/docs/Web/HTML/Element/optgroup
|
610
551
|
register_element def optgroup(
|
@@ -615,7 +556,6 @@ module Phlex::HTML::StandardElements
|
|
615
556
|
**attributes,
|
616
557
|
&content
|
617
558
|
) = nil
|
618
|
-
|
619
559
|
# Outputs an `<option>` tag.
|
620
560
|
# See https://developer.mozilla.org/docs/Web/HTML/Element/option
|
621
561
|
register_element def option(
|
@@ -627,7 +567,6 @@ module Phlex::HTML::StandardElements
|
|
627
567
|
**attributes,
|
628
568
|
&content
|
629
569
|
) = nil
|
630
|
-
|
631
570
|
# Outputs an `<output>` tag.
|
632
571
|
# See https://developer.mozilla.org/docs/Web/HTML/Element/output
|
633
572
|
register_element def output(
|
@@ -639,7 +578,6 @@ module Phlex::HTML::StandardElements
|
|
639
578
|
**attributes,
|
640
579
|
&content
|
641
580
|
) = nil
|
642
|
-
|
643
581
|
# Outputs a `<p>` tag.
|
644
582
|
# See https://developer.mozilla.org/docs/Web/HTML/Element/p
|
645
583
|
register_element def p(
|
@@ -648,7 +586,6 @@ module Phlex::HTML::StandardElements
|
|
648
586
|
**attributes,
|
649
587
|
&content
|
650
588
|
) = nil
|
651
|
-
|
652
589
|
# Outputs a `<picture>` tag.
|
653
590
|
# See https://developer.mozilla.org/docs/Web/HTML/Element/picture
|
654
591
|
register_element def picture(
|
@@ -657,7 +594,6 @@ module Phlex::HTML::StandardElements
|
|
657
594
|
**attributes,
|
658
595
|
&content
|
659
596
|
) = nil
|
660
|
-
|
661
597
|
# Outputs a `<portal>` tag. (Experimental)
|
662
598
|
# See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/portal
|
663
599
|
register_element def portal(
|
@@ -667,7 +603,6 @@ module Phlex::HTML::StandardElements
|
|
667
603
|
**attributes,
|
668
604
|
&content
|
669
605
|
) = nil
|
670
|
-
|
671
606
|
# Outputs a `<pre>` tag.
|
672
607
|
# See https://developer.mozilla.org/docs/Web/HTML/Element/pre
|
673
608
|
register_element def pre(
|
@@ -676,7 +611,6 @@ module Phlex::HTML::StandardElements
|
|
676
611
|
**attributes,
|
677
612
|
&content
|
678
613
|
) = nil
|
679
|
-
|
680
614
|
# Outputs a `<progress>` tag.
|
681
615
|
# See https://developer.mozilla.org/docs/Web/HTML/Element/progress
|
682
616
|
register_element def progress(
|
@@ -687,7 +621,6 @@ module Phlex::HTML::StandardElements
|
|
687
621
|
**attributes,
|
688
622
|
&content
|
689
623
|
) = nil
|
690
|
-
|
691
624
|
# Outputs a `<q>` tag.
|
692
625
|
# See https://developer.mozilla.org/docs/Web/HTML/Element/q
|
693
626
|
register_element def q(
|
@@ -697,7 +630,6 @@ module Phlex::HTML::StandardElements
|
|
697
630
|
**attributes,
|
698
631
|
&content
|
699
632
|
) = nil
|
700
|
-
|
701
633
|
# Outputs an `<rp>` tag.
|
702
634
|
# See https://developer.mozilla.org/docs/Web/HTML/Element/rp
|
703
635
|
register_element def rp(
|
@@ -706,7 +638,6 @@ module Phlex::HTML::StandardElements
|
|
706
638
|
**attributes,
|
707
639
|
&content
|
708
640
|
) = nil
|
709
|
-
|
710
641
|
# Outputs an `<rt>` tag.
|
711
642
|
# See https://developer.mozilla.org/docs/Web/HTML/Element/rt
|
712
643
|
register_element def rt(
|
@@ -715,7 +646,6 @@ module Phlex::HTML::StandardElements
|
|
715
646
|
**attributes,
|
716
647
|
&content
|
717
648
|
) = nil
|
718
|
-
|
719
649
|
# Outputs a `<ruby>` tag. (The best tag ever!)
|
720
650
|
# See https://developer.mozilla.org/docs/Web/HTML/Element/ruby
|
721
651
|
register_element def ruby(
|
@@ -724,7 +654,6 @@ module Phlex::HTML::StandardElements
|
|
724
654
|
**attributes,
|
725
655
|
&content
|
726
656
|
) = nil
|
727
|
-
|
728
657
|
# Outputs an `<s>` tag.
|
729
658
|
# See https://developer.mozilla.org/docs/Web/HTML/Element/s
|
730
659
|
register_element def s(
|
@@ -733,7 +662,6 @@ module Phlex::HTML::StandardElements
|
|
733
662
|
**attributes,
|
734
663
|
&content
|
735
664
|
) = nil
|
736
|
-
|
737
665
|
# Outputs a `<samp>` tag.
|
738
666
|
# See https://developer.mozilla.org/docs/Web/HTML/Element/samp
|
739
667
|
register_element def samp(
|
@@ -742,7 +670,6 @@ module Phlex::HTML::StandardElements
|
|
742
670
|
**attributes,
|
743
671
|
&content
|
744
672
|
) = nil
|
745
|
-
|
746
673
|
# Outputs a `<script>` tag.
|
747
674
|
# See https://developer.mozilla.org/docs/Web/HTML/Element/script
|
748
675
|
register_element def script(
|
@@ -755,7 +682,6 @@ module Phlex::HTML::StandardElements
|
|
755
682
|
**attributes,
|
756
683
|
&content
|
757
684
|
) = nil
|
758
|
-
|
759
685
|
# Outputs a `<search>` tag.
|
760
686
|
# See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/search
|
761
687
|
register_element def search(
|
@@ -764,7 +690,6 @@ module Phlex::HTML::StandardElements
|
|
764
690
|
**attributes,
|
765
691
|
&content
|
766
692
|
) = nil
|
767
|
-
|
768
693
|
# Outputs a `<section>` tag.
|
769
694
|
# See https://developer.mozilla.org/docs/Web/HTML/Element/section
|
770
695
|
register_element def section(
|
@@ -773,7 +698,6 @@ module Phlex::HTML::StandardElements
|
|
773
698
|
**attributes,
|
774
699
|
&content
|
775
700
|
) = nil
|
776
|
-
|
777
701
|
# Outputs a `<select>` tag.
|
778
702
|
# See https://developer.mozilla.org/docs/Web/HTML/Element/select
|
779
703
|
register_element def select(
|
@@ -785,7 +709,6 @@ module Phlex::HTML::StandardElements
|
|
785
709
|
**attributes,
|
786
710
|
&content
|
787
711
|
) = nil
|
788
|
-
|
789
712
|
# Outputs a `<slot>` tag.
|
790
713
|
# See https://developer.mozilla.org/docs/Web/HTML/Element/slot
|
791
714
|
register_element def slot(
|
@@ -795,7 +718,6 @@ module Phlex::HTML::StandardElements
|
|
795
718
|
**attributes,
|
796
719
|
&content
|
797
720
|
) = nil
|
798
|
-
|
799
721
|
# Outputs a `<small>` tag.
|
800
722
|
# See https://developer.mozilla.org/docs/Web/HTML/Element/small
|
801
723
|
register_element def small(
|
@@ -804,7 +726,6 @@ module Phlex::HTML::StandardElements
|
|
804
726
|
**attributes,
|
805
727
|
&content
|
806
728
|
) = nil
|
807
|
-
|
808
729
|
# Outputs a `<span>` tag.
|
809
730
|
# See https://developer.mozilla.org/docs/Web/HTML/Element/span
|
810
731
|
register_element def span(
|
@@ -813,7 +734,6 @@ module Phlex::HTML::StandardElements
|
|
813
734
|
**attributes,
|
814
735
|
&content
|
815
736
|
) = nil
|
816
|
-
|
817
737
|
# Outputs a `<strong>` tag.
|
818
738
|
# See https://developer.mozilla.org/docs/Web/HTML/Element/strong
|
819
739
|
register_element def strong(
|
@@ -822,7 +742,6 @@ module Phlex::HTML::StandardElements
|
|
822
742
|
**attributes,
|
823
743
|
&content
|
824
744
|
) = nil
|
825
|
-
|
826
745
|
# Outputs a `<style>` tag.
|
827
746
|
# See https://developer.mozilla.org/docs/Web/HTML/Element/style
|
828
747
|
register_element def style(
|
@@ -833,7 +752,6 @@ module Phlex::HTML::StandardElements
|
|
833
752
|
**attributes,
|
834
753
|
&content
|
835
754
|
) = nil
|
836
|
-
|
837
755
|
# Outputs a `<sub>` tag.
|
838
756
|
# See https://developer.mozilla.org/docs/Web/HTML/Element/sub
|
839
757
|
register_element def sub(
|
@@ -842,7 +760,6 @@ module Phlex::HTML::StandardElements
|
|
842
760
|
**attributes,
|
843
761
|
&content
|
844
762
|
) = nil
|
845
|
-
|
846
763
|
# Outputs a `<summary>` tag.
|
847
764
|
# See https://developer.mozilla.org/docs/Web/HTML/Element/summary
|
848
765
|
register_element def summary(
|
@@ -851,7 +768,6 @@ module Phlex::HTML::StandardElements
|
|
851
768
|
**attributes,
|
852
769
|
&content
|
853
770
|
) = nil
|
854
|
-
|
855
771
|
# Outputs a `<sup>` tag.
|
856
772
|
# See https://developer.mozilla.org/docs/Web/HTML/Element/sup
|
857
773
|
register_element def sup(
|
@@ -860,7 +776,6 @@ module Phlex::HTML::StandardElements
|
|
860
776
|
**attributes,
|
861
777
|
&content
|
862
778
|
) = nil
|
863
|
-
|
864
779
|
# Outputs an `<svg>` tag.
|
865
780
|
# See https://developer.mozilla.org/en-US/docs/Web/SVG/Element/svg
|
866
781
|
register_element def svg(
|
@@ -872,7 +787,6 @@ module Phlex::HTML::StandardElements
|
|
872
787
|
**attributes,
|
873
788
|
&content
|
874
789
|
) = nil
|
875
|
-
|
876
790
|
# Outputs a `<table>` tag.
|
877
791
|
# See https://developer.mozilla.org/docs/Web/HTML/Element/table
|
878
792
|
register_element def table(
|
@@ -881,7 +795,6 @@ module Phlex::HTML::StandardElements
|
|
881
795
|
**attributes,
|
882
796
|
&content
|
883
797
|
) = nil
|
884
|
-
|
885
798
|
# Outputs a `<tbody>` tag.
|
886
799
|
# See https://developer.mozilla.org/docs/Web/HTML/Element/tbody
|
887
800
|
register_element def tbody(
|
@@ -890,7 +803,6 @@ module Phlex::HTML::StandardElements
|
|
890
803
|
**attributes,
|
891
804
|
&content
|
892
805
|
) = nil
|
893
|
-
|
894
806
|
# Outputs a `<td>` tag.
|
895
807
|
# See https://developer.mozilla.org/docs/Web/HTML/Element/td
|
896
808
|
register_element def td(
|
@@ -902,7 +814,6 @@ module Phlex::HTML::StandardElements
|
|
902
814
|
**attributes,
|
903
815
|
&content
|
904
816
|
) = nil
|
905
|
-
|
906
817
|
# Outputs a `<template>` tag.
|
907
818
|
# See https://developer.mozilla.org/docs/Web/HTML/Element/template
|
908
819
|
register_element def template(
|
@@ -911,7 +822,6 @@ module Phlex::HTML::StandardElements
|
|
911
822
|
**attributes,
|
912
823
|
&content
|
913
824
|
) = nil
|
914
|
-
|
915
825
|
# Outputs a `<textarea>` tag.
|
916
826
|
# See https://developer.mozilla.org/docs/Web/HTML/Element/textarea
|
917
827
|
register_element def textarea(
|
@@ -925,7 +835,6 @@ module Phlex::HTML::StandardElements
|
|
925
835
|
**attributes,
|
926
836
|
&content
|
927
837
|
) = nil
|
928
|
-
|
929
838
|
# Outputs a `<tfoot>` tag.
|
930
839
|
# See https://developer.mozilla.org/docs/Web/HTML/Element/tfoot
|
931
840
|
register_element def tfoot(
|
@@ -934,7 +843,6 @@ module Phlex::HTML::StandardElements
|
|
934
843
|
**attributes,
|
935
844
|
&content
|
936
845
|
) = nil
|
937
|
-
|
938
846
|
# Outputs a `<th>` tag.
|
939
847
|
# See https://developer.mozilla.org/docs/Web/HTML/Element/th
|
940
848
|
register_element def th(
|
@@ -947,7 +855,6 @@ module Phlex::HTML::StandardElements
|
|
947
855
|
**attributes,
|
948
856
|
&content
|
949
857
|
) = nil
|
950
|
-
|
951
858
|
# Outputs a `<thead>` tag.
|
952
859
|
# See https://developer.mozilla.org/docs/Web/HTML/Element/thead
|
953
860
|
register_element def thead(
|
@@ -956,7 +863,6 @@ module Phlex::HTML::StandardElements
|
|
956
863
|
**attributes,
|
957
864
|
&content
|
958
865
|
) = nil
|
959
|
-
|
960
866
|
# Outputs a `<time>` tag.
|
961
867
|
# See https://developer.mozilla.org/docs/Web/HTML/Element/time
|
962
868
|
register_element def time(
|
@@ -966,7 +872,6 @@ module Phlex::HTML::StandardElements
|
|
966
872
|
**attributes,
|
967
873
|
&content
|
968
874
|
) = nil
|
969
|
-
|
970
875
|
# Outputs a `<title>` tag.
|
971
876
|
# See https://developer.mozilla.org/docs/Web/HTML/Element/title
|
972
877
|
register_element def title(
|
@@ -975,7 +880,6 @@ module Phlex::HTML::StandardElements
|
|
975
880
|
**attributes,
|
976
881
|
&content
|
977
882
|
) = nil
|
978
|
-
|
979
883
|
# Outputs a `<tr>` tag.
|
980
884
|
# See https://developer.mozilla.org/docs/Web/HTML/Element/tr
|
981
885
|
register_element def tr(
|
@@ -984,7 +888,6 @@ module Phlex::HTML::StandardElements
|
|
984
888
|
**attributes,
|
985
889
|
&content
|
986
890
|
) = nil
|
987
|
-
|
988
891
|
# Outputs a `<u>` tag.
|
989
892
|
# See https://developer.mozilla.org/docs/Web/HTML/Element/u
|
990
893
|
register_element def u(
|
@@ -993,7 +896,6 @@ module Phlex::HTML::StandardElements
|
|
993
896
|
**attributes,
|
994
897
|
&content
|
995
898
|
) = nil
|
996
|
-
|
997
899
|
# Outputs a `<ul>` tag.
|
998
900
|
# See https://developer.mozilla.org/docs/Web/HTML/Element/ul
|
999
901
|
register_element def ul(
|
@@ -1002,7 +904,6 @@ module Phlex::HTML::StandardElements
|
|
1002
904
|
**attributes,
|
1003
905
|
&content
|
1004
906
|
) = nil
|
1005
|
-
|
1006
907
|
# Outputs a `<var>` tag.
|
1007
908
|
# See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/var
|
1008
909
|
register_element def var(
|
@@ -1011,7 +912,6 @@ module Phlex::HTML::StandardElements
|
|
1011
912
|
**attributes,
|
1012
913
|
&content
|
1013
914
|
) = nil
|
1014
|
-
|
1015
915
|
# Outputs a `<video>` tag.
|
1016
916
|
# See https://developer.mozilla.org/docs/Web/HTML/Element/video
|
1017
917
|
register_element def video(
|
@@ -1026,7 +926,6 @@ module Phlex::HTML::StandardElements
|
|
1026
926
|
**attributes,
|
1027
927
|
&content
|
1028
928
|
) = nil
|
1029
|
-
|
1030
929
|
# Outputs a `<wbr>` tag.
|
1031
930
|
# See https://developer.mozilla.org/docs/Web/HTML/Element/wbr
|
1032
931
|
register_element def wbr(
|