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

John-Mark Bell jmb at netsurf-browser.org
Tue Jan 24 20:23:45 GMT 2012


On Tue, 2012-01-24 at 12:05 +0000, 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', which is incorrect (and invalid - @font-face has
> no concept of inheritance).

Thanks! Committed as r13406.


J.




More information about the netsurf-dev mailing list