[csswg-drafts] [css-font-loading] Remove the FontFaceSet constructor? (#10390)

foolip has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-font-loading] Remove the FontFaceSet constructor? ==
https://crbug.com/40287940 tracks this missing constructor in Chromium. However, it's not clear what a developer could do with a constructed `FontFaceSet`.

According to MDN only Safari has the constructor:
https://developer.mozilla.org/en-US/docs/Web/API/FontFaceSet#browser_compatibility

The only tests for `new FontFaceSet` in WPT only checks that a `FontFace` object can be added, but nothing else:

https://github.com/web-platform-tests/wpt/blob/master/css/css-font-loading/fontfaceset-add-css-connected.html

Removing it would be a matter of removing this line and anything connected to it:

https://github.com/w3c/csswg-drafts/blob/3a7db3e637ee1c2ddeb91134872ea9872ec46cce/css-font-loading-3/Overview.bs#L510



Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/10390 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Tuesday, 4 June 2024 15:11:30 UTC