mirror of
https://github.com/necolas/normalize.css.git
synced 2024-12-25 15:14:19 +00:00
Merge pull request #538 from necolas/fix/313
Remove opinionated pre overflow
This commit is contained in:
commit
aef06ef3f3
8
normalize.css
vendored
8
normalize.css
vendored
@ -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.
|
||||||
|
@ -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">
|
||||||
|
Loading…
Reference in New Issue
Block a user