Re: [csswg-drafts] [css-fonts-4] font-display says it's valid in @font-feature-values but it isn't an at-rule (#2973)

Reposting https://github.com/google/fonts/issues/358#issuecomment-463322909 here: 

Hi all,

I want to take this opportunity to point to a potential issue with `@font-feature-values`

I came across this tweet:

https://twitter.com/pjchrobak/status/1059229076987301888

It seems removing semicolon in `font-display` in `@font-feature-values` breaks Firefox CSS below that for older versions.

> Keep in mind, that if you add
> `@font-feature-values FontName {   font-display: whatever; }` without semicolon after value (what minifiers do), older versions of Firefox stop render whole CSS after this descriptor 🤯

I tested this on Browserstack with Firefox 56 in MacOS Mojave and the tweet seems right!

![image](https://user-images.githubusercontent.com/13736892/52736404-ccbae380-2fef-11e9-8ffa-6f189dcfbf36.png)

Firefox 57 onward fine but this raises questions about the syntax.

-- 
GitHub Notification of comment by vijayaraghavanramanan
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/2973#issuecomment-463323859 using your GitHub account

Received on Wednesday, 13 February 2019 19:01:32 UTC