- From: Myles C. Maxfield via GitHub <sysbot+gh@w3.org>
- Date: Sat, 28 Aug 2021 06:58:09 +0000
- To: public-css-archive@w3.org
litherum has just submitted a new pull request for https://github.com/w3c/csswg-drafts: == [css-font-loading-3] FontFaceSet.clear() should not clear CSS-connected items == The spec says in https://drafts.csswg.org/css-font-loading-3/#document-font-face-set: > The set entries for a document’s font source must be initially populated with all the CSS-connected FontFace objects from all of the CSS @font-face rules. And in https://drafts.csswg.org/css-font-loading-3/#font-face-css-connection > There is a two-way connection between [FontFace objects and @font-face rules]: any change made to a @font-face descriptor is immediately reflected in the corresponding FontFace attribute, and vice versa. And, finally, in https://drafts.csswg.org/css-font-loading-3/#dom-fontfaceset-clear > Remove all items from the FontFaceSet’s set entries. It seems like clear() shouldn't delete CSS-connected FontFaces. This is also what Firefox and Chrome both do. I'm updating WebKit to do this in https://bugs.webkit.org/show_bug.cgi?id=229643. See https://github.com/w3c/csswg-drafts/pull/6553 -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Saturday, 28 August 2021 06:58:11 UTC