[csswg-drafts] [css-fonts][css-font-loading] @font-face's font-variant descriptor vs. FontFace's variant attribute (#7502)

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

== [css-fonts][css-font-loading] @font-face's font-variant descriptor vs. FontFace's variant attribute ==
In https://github.com/w3c/csswg-drafts/commit/d3db8697852a6ccc1c8dafcb4aff1f516198bb50, the `font-variant` descriptor of the `@font-face` rule was dropped, resolving https://github.com/w3c/csswg-drafts/issues/2531.

However, the `FontFace` interface still has the `variant` attribute:
https://www.w3.org/TR/css-font-loading-3/#fontface-interface

It's not clear if this is an oversight, or if it makes sense somehow. Should the descriptor be reinstated, or the attribute removed?

WebKit removed both https://github.com/WebKit/WebKit/commit/af1a8ee05741c91cfe065c3b8e695bb786eeb43f, leaving WebKit the only engine without `FontFace`'s `variant` attribute, which is how I came to notice this.

cc @litherum @drott @svgeesus

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


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

Received on Friday, 15 July 2022 09:02:29 UTC