Skip to content

Commit

Permalink
Remove opinionated pre overflow
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathantneal committed Mar 18, 2016
1 parent 7b962cc commit c7bef79
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 14 deletions.
8 changes: 0 additions & 8 deletions normalize.css
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
6 changes: 0 additions & 6 deletions test.html
Original file line number Diff line number Diff line change
Expand Up @@ -241,12 +241,6 @@ <h3 class="Test-it">should have a <code>content-box</code> box model</h3>
<hr style="height:2px; border:solid #ADD8E6; border-width:2px 0;">
</div>

<h2 class="Test-describe"><code>pre</code></h2>
<h3 class="Test-it">should trigger a scrollbar when too wide for its container</h3>
<div class="Test-run" style="max-width:300px; outline:1px solid #ADD8E6;">
<pre>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa. Cum sociis natoque penatibus et me.</pre>
</div>

<h2 class="Test-describe"><code>code</code>, <code>kbd</code>, <code>pre</code>, <code>samp</code></h2>
<h3 class="Test-it">should render <code>em</code>-unit preformatted text at the same absolute size as normal text</h3>
<div class="Test-run">
Expand Down

0 comments on commit c7bef79

Please sign in to comment.