- From: L. David Baron <dbaron@dbaron.org>
- Date: Mon, 13 Feb 2012 05:19:42 -0800
On Monday 2012-02-13 14:03 +0100, Simon Pieters wrote: > You say that it doesn't apply for the size of 'font'. The link above uses > > font:60 serif > > and has a 60px font size in Firefox Nightly for me. > > These also get applied: > > font:101 serif > font:100 60 serif > font:100 100 serif > font:bold 100 serif > font:normal normal normal 100 serif > > These don't: > > font:100 serif > font:100/1 serif > font:normal 100 serif > font:normal normal 100 serif I believe they don't because the '100' gets consumed as a valid value of font-weight (since the shorthand parser assumes there's no ambiguity to be handled between font-weight and font-size), and then the shorthand is syntactically invalid because it doesn't have a font-size. I don't see any reason to "fix" that. -David -- ? L. David Baron http://dbaron.org/ ? ? Mozilla http://www.mozilla.org/ ?
Received on Monday, 13 February 2012 05:19:42 UTC