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

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