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

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
error?

Cheers,

John Daggett

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