W3C home > Mailing lists > Public > www-style@w3.org > May 2013

Re: [css3-fonts] font shorthand and font-synthesis, font-size-adjust

From: John Daggett <jdaggett@mozilla.com>
Date: Fri, 17 May 2013 00:20:32 -0700 (PDT)
To: www-style@w3.org
Message-ID: <556892162.16010666.1368775232772.JavaMail.root@mozilla.com>

fantasai wrote:

> I don't think font-synthesis should be reset by the font shorthand.
> It's typically something you want to set once at the top of the
> document, and allow to inherit through the whole thing.

Um, it's not reset by the font shorthand...  Maybe you're not parsing
"font feature properties" correctly?  I guess it would make sense to
give a more specific list to reduce the chance for confusion like this.

> The 'font-size-adjust' property has a similar usage pattern,
> especially wrt the 'auto' value. Since other values might be less
> like that, I can see an argument for resetting it in the shorthand.
> However, if we think it should be reset nonetheless, that fact
> should be pointed out in a note in the 'font-size-adjust' property,
> and a good practice example for using 'auto' included.

I don't think this is quite right, 'font-size-adjust' usage makes
sense for small body text but less so for display text or body text
that of a "large enough" size.  So I don't think it's blanket use for
all elements on a page is something to be recommended.

> Hm, given the awkwardness of that, I'm definitely leaning towards
> leaving out of the 'font' shorthand...

It's not part of the 'font' shorthand but it is reset by the font
shorthand.

Regards,

John
Received on Friday, 17 May 2013 07:20:59 UTC

This archive was generated by hypermail 2.3.1 : Friday, 17 May 2013 07:21:00 UTC