Skip to content

Commit

Permalink
[css-selectors-4] Add <input> to list of :open elements (#11338)
Browse files Browse the repository at this point in the history
Since the list of elements almost includes all of the elements which
:open is going to apply to, I figure that adding <input> to make it
complete will reduce any potential confusion.
  • Loading branch information
josepharhar authored Jan 14, 2025
1 parent 69a9856 commit 761f69a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion selectors-4/Overview.bs
Original file line number Diff line number Diff line change
Expand Up @@ -2619,7 +2619,7 @@ Collapse State: the '':open'' pseudo-class</h3>

Exactly what “open” and “closed” mean is host-language specific,
but exemplified by elements such as
HTML's <{details}>, <{select}>, and <{dialog}> elements,
HTML's <{details}>, <{select}>, <{dialog}>, and <{input}> elements,
all of which can be toggled “open” to display more content
(or any content at all, in the case of <{dialog}>).

Expand Down

0 comments on commit 761f69a

Please sign in to comment.