Merge pull request #538 from necolas/fix/313

Remove opinionated pre overflow
This commit is contained in:
Jonathan Neal 2016-03-18 22:55:44 -04:00
commit aef06ef3f3
2 changed files with 0 additions and 14 deletions

8
normalize.css vendored
View File

@ -226,14 +226,6 @@ hr {
overflow: visible; /* 2 */ overflow: visible; /* 2 */
} }
/**
* Contain overflow in all browsers.
*/
pre {
overflow: auto;
}
/** /**
* 1. Correct inheritance and scaling of font-size for preformatted text. * 1. Correct inheritance and scaling of font-size for preformatted text.
* 2. Address odd `em`-unit font size rendering in all browsers. * 2. Address odd `em`-unit font size rendering in all browsers.

View File

@ -241,12 +241,6 @@
<hr style="height:2px; border:solid #ADD8E6; border-width:2px 0;"> <hr style="height:2px; border:solid #ADD8E6; border-width:2px 0;">
</div> </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> <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> <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"> <div class="Test-run">