I think the problem is with adding “inherit” to your value.
According to specifications:
[[<'font-style'> || <'font-variant'> || <'font-weight'>]? <'font-size'> [/ <'line-height'>]? <'font-family'>] | signature | icon | menu | message box | inherit
I think the bold section I listed above is one option, and "caption", "icon", "menu", "message-box" and "inherit" are the remaining options.
In short, try: font: bold 10px / 13px
Update:
Webkit seems to have an outstanding bug report on this very issue. Not sure about Firefox. ( https://bugs.webkit.org/show_bug.cgi?id=20181 )
Also, as someone mentions on a ticket, specification 2.1 addresses this:
"The shorthand properties take a list of subvariant values or the value of inherit. You cannot mix 'inherit' with other subproperty values, since it would be impossible to specify a subtask to which 'inherit' applies. The number of shorthand properties did not apply this rule:" border-top " , "border-right", "border-bottom", "border-left", "border", "background", "font", "list-style" ',' cue 'and' outline '.
http://www.w3.org/TR/CSS21/changes.html#q142
Adam wagner
source share