Saturday, 22 June 2019

shortcut "font" in CSS

Does the shortcut version of the "font" property in CSS work properly in
Netsurf?

This CSS gives me the display I want:
font-family: serif;
font-style: italic;
font-weight: bold;
font-size: 24pt;

This single CSS expression is supposed to be equivalent, but Netsurf
ignores it:
font: serif italic bold 24pt;

Or am I failing to understand the spec?

Using #4682 and many previous builds.

--
Jim Nagel www.archivemag.co.uk

No comments:

Post a Comment