Skip to content

Commit

Permalink
Add some missing HTML5 elements
Browse files Browse the repository at this point in the history
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
  • Loading branch information
tagliala committed Jan 31, 2025
1 parent ccb8f74 commit d78ebaa
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions lib/arbre/html/html5_elements.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ module HTML
:audio,
:b,
:base,
:bdi,
:bdo,
:blockquote,
:body,
Expand All @@ -24,11 +25,13 @@ module HTML
:col,
:colgroup,
:command,
:data,
:datalist,
:dd,
:del,
:details,
:dfn,
:dialog,
:div,
:dl,
:dt,
Expand Down Expand Up @@ -76,14 +79,20 @@ module HTML
:option,
:output,
:param,
:picture,
:pre,
:progress,
:q,
:rp,
:rt,
:ruby,
:s,
:samp,
:script,
:search,
:section,
:select,
:slot,
:small,
:source,
:span,
Expand All @@ -96,6 +105,7 @@ module HTML
:table,
:tbody,
:td,
:template,
:textarea,
:tfoot,
:th,
Expand All @@ -104,6 +114,7 @@ module HTML
:title,
:tr,
:track,
:u,
:ul,
:var,
:video,
Expand Down

0 comments on commit d78ebaa

Please sign in to comment.