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

Re: [css-font-loading] FontFaceSet should inherit from EventTarget

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Fri, 20 Jun 2014 22:39:57 -0700
Message-ID: <CAAWBYDBBGNeBw2Lcax22ux3ZAzPXp5tWmdOWbfZD9aPr3nbouA@mail.gmail.com>
To: Cameron McCormack <cam@mcc.id.au>
Cc: "www-style@w3.org" <www-style@w3.org>
On Fri, Jun 20, 2014 at 8:19 PM, Cameron McCormack <cam@mcc.id.au> wrote:
> The pattern these days is to inherit from EventTarget rather than use
> "implements", where possible, so I suggest making FontFaceSet do so.

I can do that, but aw, that's terrible.  Using inheritance for what is
clearly a functionality mix-in is just a terrible abuse. :/

~TJ
Received on Saturday, 21 June 2014 05:40:46 UTC

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