Re: [PATCH] LibCSS: Correct defaults for font-face rules.

2012-01-24 Thread John-Mark Bell
On Tue, 2012-01-24 at 12:05 +, James Montgomerie wrote: > Attached is a patch that contains a fix to the @font-face handling to > correctly set the default state of font-face rules. At the moment, a > rule is initialised by being memset to 0, which leaves the style and > weight at 'inherit', w

[PATCH] LibCSS: Correct defaults for font-face rules.

2012-01-24 Thread James Montgomerie
Attached is a patch that contains a fix to the @font-face handling to correctly set the default state of font-face rules. At the moment, a rule is initialised by being memset to 0, which leaves the style and weight at 'inherit', which is incorrect (and invalid - @font-face has no concept of inh