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

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.

~TJ

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