Skip to content
Permalink
Browse files
Merge pull request #538 from necolas/fix/313
Remove opinionated pre overflow
  • Loading branch information
Jonathan Neal committed Mar 19, 2016
2 parents 35673c5 + c7bef79 commit aef06ef3f3263e7a6503693b9409a7210980aa22
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 14 deletions.
@@ -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.
@@ -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">

0 comments on commit aef06ef

Please sign in to comment.