Why doesn't normalize.css set the font style: italics for <i> and tags?

normalize.css sets font-weight: bold; for the <b> and <strong> tags.

I expect it to have font-style: italic; for <i> and <em> , however, it indicates font-style: italic; for the <dfn> tag only.

https://github.com/necolas/normalize.css/blob/master/normalize.css#l118-l129

 b, strong { font-weight: bold; } dfn { font-style: italic; } 

Is there any special reason for this?

+7
html css
source share
1 answer
Tags

<i> and <em> always italicized, regardless of which browser you are in.

Normalize settings:

 b, strong { font-weight: bold; } 

Because some browsers choose <b> and <strong> with font-weight: bolder instead of font-weight: bold . As indicated in an unused file:

 /** * Address style set to `bolder` in Firefox 4+, Safari, and Chrome. */ 
0
source share

All Articles