From fdb11ae5b5e63431d6f8bd2496a11c08e9de46c5 Mon Sep 17 00:00:00 2001 From: Nicolas Gallagher Date: Sun, 20 Jan 2013 09:23:49 -0800 Subject: [PATCH] Normalize `hr` Firefox uses different `box-sizing` and `height` values to all other browsers. Firefox doesn't currently support `box-sizing` without the `-moz-` prefix, so we use both the vendor-prefixed and unprefixed properties to ensure that it matches the `content-box` value of other browsers. It also requires the `height` to be set to `0`. Fix gh-133 --- normalize.css | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/normalize.css b/normalize.css index aa47965..6ad7071 100644 --- a/normalize.css +++ b/normalize.css @@ -134,6 +134,16 @@ dfn { font-style: italic; } +/** + * Address differences between Firefox and other browsers. + */ + +hr { + -moz-box-sizing: content-box; + box-sizing: content-box; + height: 0; +} + /** * Address styling not present in IE 8/9. */