w3c / csswg-drafts

CSS Working Group Editor Drafts
https://drafts.csswg.org/
Other
4.5k stars 661 forks source link

[css-font-loading] Should the font-display descriptor value be exposed on `FontFace`? #1360

Open frivoal opened 7 years ago

frivoal commented 7 years ago

Issue first reported and discussed here: https://github.com/tabatkins/specs/issues/54

(part of #1357)

Agenda+ since implementations are about to ship.

frivoal commented 7 years ago

cc @zachleat @heycam @KenjiBaheux

litherum commented 7 years ago

I'll add it just to be consistent with the other attributes in the object, but our strategy may change once https://github.com/w3c/csswg-drafts/issues/825 gets resolved.

litherum commented 7 years ago

If this issue is actually about the FontFace object in the CSS Font Loading API, this issue should be cloned and retagged.

litherum commented 7 years ago

https://chromium.googlesource.com/chromium/src/+/ec812adbe02d56c9efafcaa77c7dfd9121510959 https://hg.mozilla.org/mozilla-central/rev/6d9b17e5e7b5

https://codereview.chromium.org/2640753002 https://bugzilla.mozilla.org/show_bug.cgi?id=1157064 https://bugs.webkit.org/show_bug.cgi?id=175383

litherum commented 7 years ago

We should either spec the attribute, or existing implementations should remove their support.

zachleat commented 7 years ago

(I shouldn’t get a vote because I won’t be doing the work but if I did I’d vote for the former)

litherum commented 7 years ago

I'm implementing this in WebKit because the other browsers have it.