Skip to content

Commit c7bef79

Browse files
committed
Remove opinionated pre overflow
1 parent 7b962cc commit c7bef79

File tree

2 files changed

+0
-14
lines changed

2 files changed

+0
-14
lines changed

normalize.css

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -226,14 +226,6 @@ hr {
226226
overflow: visible; /* 2 */
227227
}
228228

229-
/**
230-
* Contain overflow in all browsers.
231-
*/
232-
233-
pre {
234-
overflow: auto;
235-
}
236-
237229
/**
238230
* 1. Correct inheritance and scaling of font-size for preformatted text.
239231
* 2. Address odd `em`-unit font size rendering in all browsers.

test.html

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -241,12 +241,6 @@ <h3 class="Test-it">should have a <code>content-box</code> box model</h3>
241241
<hr style="height:2px; border:solid #ADD8E6; border-width:2px 0;">
242242
</div>
243243

244-
<h2 class="Test-describe"><code>pre</code></h2>
245-
<h3 class="Test-it">should trigger a scrollbar when too wide for its container</h3>
246-
<div class="Test-run" style="max-width:300px; outline:1px solid #ADD8E6;">
247-
<pre>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa. Cum sociis natoque penatibus et me.</pre>
248-
</div>
249-
250244
<h2 class="Test-describe"><code>code</code>, <code>kbd</code>, <code>pre</code>, <code>samp</code></h2>
251245
<h3 class="Test-it">should render <code>em</code>-unit preformatted text at the same absolute size as normal text</h3>
252246
<div class="Test-run">

0 commit comments

Comments
 (0)