Skip to content

Commit 5e5496c

Browse files
committed
Add summary to the block-level display rule for HTML5 elements
Legacy browsers, including IE6/7 and Firefox 3, do not make the new HTML5 `summary` element block-level by default. This is contrary to the HTML5 recommendations and the behaviour of modern browsers.
1 parent cb17683 commit 5e5496c

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

normalize.css

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*! normalize.css 2012-02-07T10:31 UTC - http://github.com/necolas/normalize.css */
1+
/*! normalize.css 2012-02-07T12:37 UTC - http://github.com/necolas/normalize.css */
22

33
/* =============================================================================
44
HTML5 display definitions
@@ -17,7 +17,8 @@ footer,
1717
header,
1818
hgroup,
1919
nav,
20-
section {
20+
section,
21+
summary {
2122
display: block;
2223
}
2324

0 commit comments

Comments
 (0)