On Fri, 2011-12-02 at 15:02 +0000, James Montgomerie wrote:
The spec (CSS 2 and 3) doesn't seem to say specifically what
should
happen if there's no system font specified. Existing browsers seem to
fall back on the browser default font as a last resort (so not the
parent's font, which might also make sense).
I've fixed the problem by following their lead; in
css__cascade_font_family, if there are specific fonts used, I call
ua_default_for_property and use the system font it returns as the
system font value instead of leaving CSS_FONT_FAMILY_INHERIT.
Committed (slightly modified) as r13227.
Thanks,
J.