Skip to content

Commit

Permalink
Update elements
Browse files Browse the repository at this point in the history
  • Loading branch information
prnss authored and Parnassius committed Dec 2, 2023
1 parent b6f871a commit 04d0677
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion domify/html_elements.py
Original file line number Diff line number Diff line change
Expand Up @@ -376,7 +376,7 @@ class Details(HtmlElement):
Disclosure control for hiding details
"""

element_attributes = {"open": v.attribute_bool}
element_attributes = {"name": v.attribute_str, "open": v.attribute_bool}


class Dfn(HtmlElement):
Expand Down Expand Up @@ -1093,6 +1093,10 @@ class Template(HtmlElement):
"""

is_empty = True
element_attributes = {
"shadowrootmode": {"open", "closed"},
"shadowrootdelegatesfocus": v.attribute_bool,
}


class Textarea(HtmlElement):
Expand Down

0 comments on commit 04d0677

Please sign in to comment.