Skip to content

Commit d78ebaa

Browse files
committed
Add some missing HTML5 elements
Source: https://developer.mozilla.org/en-US/docs/Web/HTML New, non experimental, non deprecated elements: - <bdi> - <data> - <dialog> - <picture> - <rp> - <rt> - <ruby> - <search> - <slot> - <template> - <u> Close #654
1 parent ccb8f74 commit d78ebaa

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

lib/arbre/html/html5_elements.rb

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ module HTML
1212
:audio,
1313
:b,
1414
:base,
15+
:bdi,
1516
:bdo,
1617
:blockquote,
1718
:body,
@@ -24,11 +25,13 @@ module HTML
2425
:col,
2526
:colgroup,
2627
:command,
28+
:data,
2729
:datalist,
2830
:dd,
2931
:del,
3032
:details,
3133
:dfn,
34+
:dialog,
3235
:div,
3336
:dl,
3437
:dt,
@@ -76,14 +79,20 @@ module HTML
7679
:option,
7780
:output,
7881
:param,
82+
:picture,
7983
:pre,
8084
:progress,
8185
:q,
86+
:rp,
87+
:rt,
88+
:ruby,
8289
:s,
8390
:samp,
8491
:script,
92+
:search,
8593
:section,
8694
:select,
95+
:slot,
8796
:small,
8897
:source,
8998
:span,
@@ -96,6 +105,7 @@ module HTML
96105
:table,
97106
:tbody,
98107
:td,
108+
:template,
99109
:textarea,
100110
:tfoot,
101111
:th,
@@ -104,6 +114,7 @@ module HTML
104114
:title,
105115
:tr,
106116
:track,
117+
:u,
107118
:ul,
108119
:var,
109120
:video,

0 commit comments

Comments
 (0)