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

Re: [css-font-loading] using inherit in FontFaceSet.{load,check} font argument

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Wed, 8 Apr 2015 18:02:51 -0700
Message-ID: <CAAWBYDDZnmn2oSrTnu2=cpYbFy8Z0TL2v7WFbgnd7MbZaVQxNw@mail.gmail.com>
To: www-style list <www-style@w3.org>
On Sat, Mar 28, 2015 at 4:09 PM, Cameron McCormack <cam@mcc.id.au> wrote:
> Cameron McCormack:
>> The spec should say what it means to use “inherit” (and other CSS-wide
>> keywords) in the first argument to the load() and check() methods on
>> FontFaceSet.  Throwing an exception sounds good.

Yup, now throws a syntax exception.

> Similarly, it’s not clear what to do when a relative font weight is used
> in the font value.  (A relative font size doesn’t matter, since font
> size doesn’t affect font matching.)

It's now evaluated against the initial values of the properties,
similar to media queries.

Received on Thursday, 9 April 2015 01:03:38 UTC

This archive was generated by hypermail 2.4.0 : Monday, 23 January 2023 02:14:50 UTC