From c7bef7960b7db184073a09e9da3120d1fa94f5bc Mon Sep 17 00:00:00 2001 From: Jonathan Neal Date: Fri, 18 Mar 2016 00:01:15 -0400 Subject: [PATCH] Remove opinionated pre overflow --- normalize.css | 8 -------- test.html | 6 ------ 2 files changed, 14 deletions(-) diff --git a/normalize.css b/normalize.css index ae57050..72b5e69 100644 --- a/normalize.css +++ b/normalize.css @@ -226,14 +226,6 @@ hr { overflow: visible; /* 2 */ } -/** - * Contain overflow in all browsers. - */ - -pre { - overflow: auto; -} - /** * 1. Correct inheritance and scaling of font-size for preformatted text. * 2. Address odd `em`-unit font size rendering in all browsers. diff --git a/test.html b/test.html index d5a0015..b7ebe86 100644 --- a/test.html +++ b/test.html @@ -241,12 +241,6 @@
-

pre

-

should trigger a scrollbar when too wide for its container

-
-
Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa. Cum sociis natoque penatibus et me.
-
-

code, kbd, pre, samp

should render em-unit preformatted text at the same absolute size as normal text