Re: [css-font-loading] how/when do FontFace objects end up in a FontFaceSet

Tab Atkins wrote:

> On the other hand, FontFaceSet#ready() does something related, but
> substantially different.  (It doesn't return the same promise every
> time; the promises it returns can fulfill at different times.)  The
> fact that the two methods had *close* but not *identical* semantics
> was apparently confusing, at least according to some internal
> feedback I got on the issue.
> 
> If you can come up with a different name, I'd be happy to add the
> promise back to FontFace.  Other feedback suggested that, since this
> does always return the same Promise, it should be an attribute
> rather than a method.  Maybe .loaded?

A 'loaded' attribute that returns the same Promise sounds fine to me.

Cheers,

John Daggett

Received on Friday, 28 March 2014 07:19:12 UTC