W3C home > Mailing lists > Public > www-style@w3.org > July 2015

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

From: Sebastian Zartner <sebastianzartner@gmail.com>
Date: Thu, 16 Jul 2015 09:21:51 +0200
Message-ID: <CAERejNbL+Jrk_ZqOjARiemUPwrVr_QuJst1VgduHocM6iwzwKQ@mail.gmail.com>
To: Michiel Bijl <michiel@agosto.nl>
Cc: "L. David Baron" <dbaron@dbaron.org>, Jonathan Kew <jfkthame@gmail.com>, www-style list <www-style@w3.org>
On 15 July 2015 at 10:18, Michiel Bijl <michiel@agosto.nl> wrote:
> Wouldn’t a dash notation make more sense in the grammer of CSS?
>
> button {
>   font-size: system-menu;
>   font-family: system-caption;
> }

If there are no use cases, which need more than single keywords, this
may be the case. Though I'd argue that the functional notation
emphasizes that you use something external, i.e. system() reads like
"get me something from the system".

On 15 July 2015 at 10:11, L. David Baron <dbaron@dbaron.org> wrote:
> On Wednesday 2015-07-15 08:16 +0100, Jonathan Kew wrote:
>> On 15/7/15 07:09, Sebastian Zartner wrote:
>> >>Per David's email, don't you also need a way to set font size/weight etc to
>> >>values that match system usage? And isn't the 'font' property the best way
>> >>to do this?
>> >>
>> >>
>> >>Not at this point. Or, more accurately, not with this proposal. We just want
>> >>to match the family.
>> >
>> >FWIW that would be easily doable by allowing to set the new keyword on
>> >the other longhands like font-size, font-weight, font-style, etc.
>>
>> Not if the OS uses various sizes or styles of its "system font" for
>> different elements. Are menu items, window titles, icon captions, alert
>> messages, ..., all displayed with the same size?

Right, they can differ, so David's proposal targets this better.

Sebastian
Received on Thursday, 16 July 2015 07:22:56 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:52:18 UTC