-
Notifications
You must be signed in to change notification settings - Fork 23k
Lint: quote non-generic font-family values (3) #41471
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Preview URLs (48 pages)
Flaws (359)Note! 7 documents with no flaws that don't need to be listed. 🎉 URL:
URL:
URL:
URL:
URL:
URL:
URL:
URL:
URL:
URL:
URL:
URL:
URL:
URL:
URL:
URL:
URL:
URL:
URL:
URL:
URL:
URL:
URL:
URL:
URL:
URL:
URL:
URL:
URL:
URL:
URL:
URL:
URL:
URL:
URL:
URL:
URL:
URL:
URL:
URL:
URL:
|
|
|
||
| @font-palette-values --blue-nabla { | ||
| font-family: Nabla; | ||
| font-family: "Nabla"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The CSS rules recommend a fallback, but don't cover the case where there is no natural fallback. I am therefore assuming things like this are fine.
hamishwillee
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks very much @Josh-Cena
After #40228, we are a lot more explicit on some CSS stylistic decisions. In particular, we now require all non-generic font family names to be quoted, no exceptions—not even
"Arial". In addition, I noticed that the weirdArial, Helvetica, sans-serifcombination is used a lot—which is pointless because every computer that supports Helvetica is also going to support Arial, so I reordered these two.