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

On Fri, Mar 28, 2014 at 12:18 AM, John Daggett <jdaggett@mozilla.com> wrote:
> 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.

Cool.  I've done so.

~TJ

Received on Friday, 28 March 2014 22:25:45 UTC