Add comment addressing intentional duplicated monospace font

https://github.com/necolas/normalize.css/issues/480
2bdda84272/README.md (pre-code-kbd-samp)
This commit is contained in:
Fritz Lin 2015-11-07 19:20:52 +08:00 committed by Jonathan Neal
parent 5304c784ff
commit 5daad010a2
2 changed files with 5 additions and 3 deletions

View File

@ -5,6 +5,7 @@
* Ensure `mark` long-hand background declaration usage. * Ensure `mark` long-hand background declaration usage.
* Remove color inheritance from form controls. * Remove color inheritance from form controls.
* Address inconsistent styling of abbr[title]. * Address inconsistent styling of abbr[title].
* Correct inheritance and scaling of font-size for preformatted text.
=== 3.0.3 (March 30, 2015) === 3.0.3 (March 30, 2015)

7
normalize.css vendored
View File

@ -236,15 +236,16 @@ pre {
} }
/** /**
* Address odd `em`-unit font size rendering in all browsers. * 1. Correct inheritance and scaling of font-size for preformatted text.
* 2. Address odd `em`-unit font size rendering in all browsers.
*/ */
code, code,
kbd, kbd,
pre, pre,
samp { samp {
font-family: monospace, monospace; font-family: monospace, monospace; /* 1 */
font-size: 1em; font-size: 1em; /* 2 */
} }
/* Forms /* Forms