So I was trying to detect browser support for COLRv1 font palettes. I thought this would work:
.colrv1-supported-area {
display: none;
}
@supports (font-palette: --1) {
.colrv1-supported-area {
display: block;
}
}
But it does not. The .colrv1-supported-area block shows up even in Safari Desktop and on iOS where COLRv1 palettes are not supported.
Anyone out there have a working solution for this? Or should I just give up on detecting support? #COLRv1 #ColorFonts #webDesign