W3C home > Mailing lists > Public > www-style@w3.org > June 2014

Re: [css-font-loading] feedback

From: Anne van Kesteren <annevk@annevk.nl>
Date: Tue, 10 Jun 2014 08:39:51 +0200
Message-ID: <CADnb78iOaoG4-c5Aa03Kaks26F9C5naxh_FtuyBAmZrU1+JVaA@mail.gmail.com>
To: "Tab Atkins Jr." <jackalmage@gmail.com>
Cc: "www-style@w3.org" <www-style@w3.org>, Domenic Denicola <domenic@domenicdenicola.com>
On Tue, Jun 10, 2014 at 3:35 AM, Tab Atkins Jr. <jackalmage@gmail.com> wrote:
> On Mon, May 26, 2014 at 6:51 AM, Anne van Kesteren <annevk@annevk.nl> wrote:
>> In the FontFace constructor you set status to "loading" at some point,
>> but it's not clear from which task or microtask this is done. How can
>> this be observed?
>
> Hopefully fixed correctly - I now queue a task to set it.  (And do the
> same with the font descriptors, which were similarly bugged.)

Given that there's nothing that tells web developers this has changed,
how is changing the state randomly useful? There's no way to observe
this change.

I think you want to cross-reference the "await a stable state"
language by the way.


>> You need to use the [Exposed] attribute to make sure your interfaces
>> are actually available in workers. See e.g. URL or Encoding for
>> examples.
>
> Do I need this on my FontFaceEvent interface too?  Added it to the
> other interfaces.

Although events seem special, they're not. So yes.


-- 
http://annevankesteren.nl/
Received on Tuesday, 10 June 2014 06:40:19 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:39:22 UTC