W3C home > Mailing lists > Public > www-style@w3.org > September 2012

Re: [css3-fonts] rethinking font load events

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Thu, 6 Sep 2012 18:08:00 -0700
Message-ID: <CAAWBYDBSkVe_T0_iuBv85j6-KHu+Wt9yy_qf0JndfQjRt3Z_AQ@mail.gmail.com>
To: Glenn Adams <glenn@skynav.com>
Cc: John Daggett <jdaggett@mozilla.com>, www-style list <www-style@w3.org>
On Thu, Sep 6, 2012 at 6:03 PM, Glenn Adams <glenn@skynav.com> wrote:
> On Thu, Sep 6, 2012 at 10:10 PM, John Daggett <jdaggett@mozilla.com> wrote:
>>
>>
>>   // notify completion, even if no fonts load
>>   void notifyAfterCompletion();
>
> The utility of this method seems particularly questionable. What should a UA
> do when this is called?

If FontLoader.readyState is "loading", nothing.

If it's "idle", fire an "allcomplete" event anyway.

I explained the utility of it in my last message.

~TJ
Received on Friday, 7 September 2012 01:08:48 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:59 GMT