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

Re: [css3-fonts] FontLoader v2

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Fri, 7 Sep 2012 08:53:14 -0700
Message-ID: <CAAWBYDDS+sdos65sbgcGTj3QmwZm0Q_XYZAq-+kph+xM5pvXGA@mail.gmail.com>
To: John Daggett <jdaggett@mozilla.com>
Cc: www-style list <www-style@w3.org>
Everything sounds pretty good except this:

On Fri, Sep 7, 2012 at 1:18 AM, John Daggett <jdaggett@mozilla.com> wrote:
> The "load" and "error" events would fire the event below:
> [Constructor]
> interface CSSFontFaceLoadEvent : Event {
>   readonly attribute CSSFontFaceRule fontface;
>   readonly attribute DOMString error;
> }

I'm still not in favor of attaching a CSSFontFaceRule here - having to
do "event.fontface.style.weight" instead of "event.weight" gives us no
benefit, but is cumbersome and annoying for the author.

I'm also still in favor of exposing which source, exactly, was used in the load.

Received on Friday, 7 September 2012 15:54:01 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:21 UTC