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

Re: [css-font-loading] clarifying what happens to a CSS-connected FontFace when the rule is removed

From: John Daggett <jdaggett@mozilla.com>
Date: Mon, 29 Sep 2014 00:02:33 -0700 (PDT)
To: Cameron McCormack <cam@mcc.id.au>
Cc: www-style@w3.org
Message-ID: <1436477101.499514.1411974153824.JavaMail.zimbra@mozilla.com>

Cameron McCormack wrote:

> When an @font-face rule is removed from the document, its FontFace
> object is removed from the FontFaceSet (per
> http://dev.w3.org/csswg/css-font-loading/#document-font-face-set).
> I think it would be good to explicitly mention in the last paragraph of
> http://dev.w3.org/csswg/css-font-loading/#font-face-css-connection
> that the FontFace object can stick around due to the author
> holding a reference to it, even though it is no longer in the
> FontFaceSet.

I think the spec also needs to clearly indicate how object deletion
affects promise resolution. For example, if the underlying
@font-face rule is deleted, are load promises resolved with an abort


John Daggett
Received on Monday, 29 September 2014 07:03:01 UTC

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