W3C home > Mailing lists > Public > www-style@w3.org > February 2016

Re: [css-font-loading] Events for FontFaceSet

From: Simon Pieters <simonp@opera.com>
Date: Tue, 16 Feb 2016 13:51:16 +0100
To: "www-style@w3.org" <www-style@w3.org>
Cc: "Tab Atkins Jr." <jackalmage@gmail.com>
Message-ID: <op.ycxfbqniidj3kv@simons-mbp>
On Thu, 11 Feb 2016 10:56:21 +0100, Simon Pieters <simonp@opera.com> wrote:

> https://drafts.csswg.org/css-font-loading/#FontFaceSet-events
>
> Why are the events named "loading", "loadingdone" and "loadingerror",  
> rather than using the same names as <img>/<video>/XHR?
>
> loading -> loadstart
> loadingdone -> load
> loadingerror -> error
> N/A -> loadend (fired after load/error, in the same task)

To be clear, I propose to rename the events as above, and to add a new  
event 'loadend'.

-- 
Simon Pieters
Opera Software
Received on Tuesday, 16 February 2016 12:51:48 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:09:00 UTC