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

Re: [css-font-loading] Document the "font" and "text" parameters for check()

From: Dan Dascalescu <ddascalescu+w3@gmail.com>
Date: Sun, 30 Aug 2015 21:00:59 -0700
Message-ID: <CAGhnvXamh2yC1=qOE0XDS4JHdBcu3kPA+jBoV37D=Rz88UZS7Q@mail.gmail.com>
To: www-style@w3.org
On Sun, Aug 30, 2015 at 4:28 AM, Cameron McCormack <cam@mcc.id.au> wrote:

> Dan Dascalescu:
> > What is the exact format for the "font" parameter to check()?
> >
> >
> https://drafts.csswg.org/css-font-loading/#dom-fontfaceset-check-font-text-font
> > is links to itself in trying to document the "font" parameter.
>
> It is the value that the font shorthand takes; see
>
>   https://drafts.csswg.org/css-font-loading/#find-the-matching-font-faces
>
> which the check() method algorithm links to.
>

Thanks Cameron. I created
https://developer.mozilla.org/en-US/docs/Web/API/FontFaceSet/check based on
your reply.

BTW, the "font" link in bullet #2 at
https://drafts.csswg.org/css-font-loading/#font-face-set-check back to
https://drafts.csswg.org/css-font-loading/#dom-fontfaceset-check-font-text-font
points. Could be made more helpful, perhaps by linking to
https://drafts.csswg.org/css-font-loading/#find-the-matching-font-faces or
https://drafts.csswg.org/css-fonts-3/#propdef-font?
Received on Monday, 31 August 2015 04:01:47 UTC

This archive was generated by hypermail 2.3.1 : Monday, 31 August 2015 04:01:48 UTC