The current display style applied to the summary element results in unwanted list-item styling for instances where the summary element is not used properly.
summary {
display: list-item;
}
This should rather be something like details > summary:first-of-type - which matches how modern browsers are treating the element.
The text was updated successfully, but these errors were encountered:
scottaohara
added a commit
to scottaohara/normalize.css
that referenced
this issue
Dec 12, 2022
The current display style applied to the summary element results in unwanted list-item styling for instances where the summary element is not used properly.
This should rather be something like
details > summary:first-of-type
- which matches how modern browsers are treating the element.The text was updated successfully, but these errors were encountered: