W3C home > Mailing lists > Public > public-css-archive@w3.org > August 2021

Re: [csswg-drafts] [css-om] Serialization of font-family names: quoted string vs keyword (#5846)

From: Frédéric Wang via GitHub <sysbot+gh@w3.org>
Date: Thu, 12 Aug 2021 14:38:14 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-897695322-1628779092-sysbot+gh@w3.org>
> But it's easy to fix by always adding quotes if the name is the same as a `<generic-family>`.

It's also necessary to add quotes for font names that are the same as global values:

`font-family: "initial"`
`font-family: "inherit"`
`font-family: "unset"`
`font-family: "revert"`


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


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Thursday, 12 August 2021 14:38:19 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:42:42 UTC