Hi Bram,
Is there any feature detection test for font-display?
If there is one can do this for old browsers:
if(!fontdisplaysupport) { //run fontfaceobserver }
CSS.supports() doesn't work as it's supposed to test properties not descriptors and font-display is a descriptor not a property, according to discussions here:
https://bugs.chromium.org/p/chromium/issues/detail?id=600137
Hi Bram,
Is there any feature detection test for font-display?
If there is one can do this for old browsers:
if(!fontdisplaysupport) { //run fontfaceobserver }CSS.supports() doesn't work as it's supposed to test properties not descriptors and font-display is a descriptor not a property, according to discussions here:
https://bugs.chromium.org/p/chromium/issues/detail?id=600137