Skip to content

Commit

Permalink
Normalize hr overflow
Browse files Browse the repository at this point in the history
Address IE 8,9,10,11 setting overflow to hidden.
  • Loading branch information
James Nowland authored and jonathantneal committed Jan 22, 2016
1 parent bb55bab commit 46e3e05
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
=== HEAD

* 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)

Expand Down
9 changes: 6 additions & 3 deletions normalize.css
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
box-sizing: content-box;
height: 0;
box-sizing: content-box; /* 1 */
height: 0; /* 1 */
overflow: visible; /* 2 */
}

/**
Expand Down

0 comments on commit 46e3e05

Please sign in to comment.