diff --git a/normalize.css b/normalize.css index 192eb9ce4..a0270f5db 100644 --- a/normalize.css +++ b/normalize.css @@ -25,10 +25,12 @@ body { } /** - * Render the `main` element consistently in IE. + * 1. Render the `main` element consistently in IE. + * 2. Add the correct display in Edge, IE 10+, and Firefox. */ -main { +main, /* 1 */ +details { /* 2 */ display: block; } @@ -46,14 +48,22 @@ h1 { ========================================================================== */ /** - * 1. Add the correct box sizing in Firefox. - * 2. Show the overflow in Edge and IE. + * Show the overflow in IE. */ +button, +input, hr { - box-sizing: content-box; /* 1 */ - height: 0; /* 1 */ - overflow: visible; /* 2 */ + overflow: visible; +} + +/** + * Add the correct box sizing in Firefox. + */ + +hr { + box-sizing: content-box; + height: 0; } /** @@ -168,16 +178,6 @@ textarea { margin: 0; /* 2 */ } -/** - * Show the overflow in IE. - * 1. Show the overflow in Edge. - */ - -button, -input { /* 1 */ - overflow: visible; -} - /** * Remove the inheritance of text transform in Edge, Firefox, and IE. * 1. Remove the inheritance of text transform in Firefox. @@ -313,14 +313,6 @@ textarea { /* Interactive ========================================================================== */ -/* - * Add the correct display in Edge, IE 10+, and Firefox. - */ - -details { - display: block; -} - /* * Add the correct display in all browsers. */ @@ -336,14 +328,7 @@ summary { * Add the correct display in IE 10+. */ -template { - display: none; -} - -/** - * Add the correct display in IE 10. - */ - +template, [hidden] { display: none; }