Normalize hr overflow

Address IE 8,9,10,11 setting overflow to hidden.
This commit is contained in:
James Nowland 2014-12-01 15:56:54 +11:00 committed by Jonathan Neal
parent bb55babbd1
commit 46e3e0554c
2 changed files with 7 additions and 3 deletions

View File

@ -1,6 +1,7 @@
=== HEAD === HEAD
* Address inconsistent styling of b and strong. * Address inconsistent styling of b and strong.
* Correct `hr` overflow in IE 8/9/10/11 and Edge 12.
=== 3.0.3 (March 30, 2015) === 3.0.3 (March 30, 2015)

9
normalize.css vendored
View File

@ -212,12 +212,15 @@ figure {
} }
/** /**
* Address differences between Firefox and other browsers. * Address inconsistent styling of `hr`.
* 1. Correct `box-sizing` set to `border-box` in Firefox.
* 2. Correct `overflow` set to `hidden` in IE 8/9/10/11 and Edge 12.
*/ */
hr { hr {
box-sizing: content-box; box-sizing: content-box; /* 1 */
height: 0; height: 0; /* 1 */
overflow: visible; /* 2 */
} }
/** /**