correct summary styling

closes #891

This revised style ensures that only summary elements that are properly used will be provided the `display: list-item` style.
This commit is contained in:
Scott O'Hara 2022-12-12 12:01:58 -05:00 committed by GitHub
parent fc091cce15
commit b69b8157d8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -325,7 +325,7 @@ details {
* Add the correct display in all browsers. * Add the correct display in all browsers.
*/ */
summary { details > summary:first-of-type {
display: list-item; display: list-item;
} }