Skip to content

Commit 8260b75

Browse files
authored
Add <selectedcontent> element (#890)
Closes #888
1 parent 7310b9a commit 8260b75

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

lib/phlex/html/standard_elements.rb

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -472,6 +472,13 @@ module Phlex::HTML::StandardElements
472472
# [Spec](https://html.spec.whatwg.org/#the-select-element)
473473
register_element def select(**attributes, &content) = nil
474474

475+
# [EXPERIMENTAL] Outputs a `<selectedcontent>` tag.
476+
#
477+
# [MDN Docs](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/selectedcontent)
478+
# [Draft Spec](https://github.com/whatwg/html/pull/10633)
479+
# [Can I Use?](https://caniuse.com/mdn-html_elements_selectedcontent)
480+
register_element def selectedcontent(**attributes, &content) = nil
481+
475482
# Outputs a `<slot>` tag.
476483
#
477484
# [MDN Docs](https://developer.mozilla.org/docs/Web/HTML/Element/slot)

0 commit comments

Comments
 (0)