From af43ece78f440426bed0da5b5916491dd4fdd9a9 Mon Sep 17 00:00:00 2001 From: Matt Brundage <1263178+mattbrundage@users.noreply.github.com> Date: Thu, 23 Apr 2020 12:03:35 -0400 Subject: [PATCH] HR: no need for Firefox normalization Firefox no longer needs ``box-sizing`` and ``height`` rules, as the browser's stylesheet now specifies the correct ``box-sizing`` value and does not affect height. Tested in Firefox ESR (v. 68) through Firefox Developer Edition (v. 76). Paste this into Firefox's address bar to view the browser's default styles: ``view-source:resource://gre-resources/html.css`` --- normalize.css | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/normalize.css b/normalize.css index 192eb9ce4..2c7f6c6de 100644 --- a/normalize.css +++ b/normalize.css @@ -46,14 +46,11 @@ h1 { ========================================================================== */ /** - * 1. Add the correct box sizing in Firefox. - * 2. Show the overflow in Edge and IE. + * 1. Show the overflow in Edge and IE. */ hr { - box-sizing: content-box; /* 1 */ - height: 0; /* 1 */ - overflow: visible; /* 2 */ + overflow: visible; /* 1 */ } /**