Skip to content

Commit e5f83be

Browse files
committed
Update <summary> element
1 parent dc04ccb commit e5f83be

1 file changed

Lines changed: 10 additions & 2 deletions

File tree

sanitize.css

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,7 @@ header,
1919
main, /* 2 */
2020
menu,
2121
nav,
22-
section,
23-
summary { /* 1 */
22+
section { /* 1 */
2423
display: block;
2524
}
2625

@@ -44,6 +43,14 @@ audio:not([controls]) {
4443
height: 0;
4544
}
4645

46+
/*
47+
* Add the correct display in all browsers.
48+
*/
49+
50+
summary {
51+
display: list-item;
52+
}
53+
4754
/**
4855
* Add the correct display in IE 10-.
4956
* 1. Add the correct display in IE.
@@ -529,6 +536,7 @@ button,
529536
input,
530537
label,
531538
select,
539+
summary,
532540
textarea,
533541
[tabindex] {
534542
-ms-touch-action: manipulation; /* 1 */

0 commit comments

Comments
 (0)