Re: [css-fonts] "system" generic font name

On Tuesday 2015-07-14 17:42 -0400, Felix Miata wrote:
> Wouldn't your "system" be equivalent to or duplicative of one or more of the
> 6 existing "system" fonts on http://www.w3.org/TR/css3-fonts/#font-prop ,
> e.g. menu?

It's also worth noting that these system fonts set all of the
subproperties of the font property, so that you get not only the
family of the system font, but also the size, weight, style, etc.,
which could then be individually overridden (or not) by the
longhands.

I could certainly believe that the current list of system fonts
there doesn't make sense in today's world; Gecko has long
implemented an additional list [1] that were prefixed versions of
ones in earlier drafts of css3-ui [2], but have since been removed,
and some of these were widely used in the Firefox UI and in our UA
style sheets for form controls and for XUL.

These have been implemented in Gecko since its early history,
although in a reasonably conformant way only since 2007 [3].

-David

[1] -moz-window, -moz-document, -moz-workspace, -moz-desktop,
    -moz-info, -moz-dialog, -moz-button, -moz-pull-down-menu,
    -moz-list, -moz-field
[2] http://www.w3.org/TR/2004/CR-css3-ui-20040511/#system0
[3] https://bugzilla.mozilla.org/show_bug.cgi?id=377947

-- 
𝄞   L. David Baron                         http://dbaron.org/   𝄂
𝄢   Mozilla                          https://www.mozilla.org/   𝄂
             Before I built a wall I'd ask to know
             What I was walling in or walling out,
             And to whom I was like to give offense.
               - Robert Frost, Mending Wall (1914)

Received on Tuesday, 14 July 2015 22:28:36 UTC