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

Re: [csswg-drafts] [css-fonts-4][css-nesting] Nesting of @supports inside @font-face and font technology feature queries (#6520)

From: Chris Lilley via GitHub <sysbot+gh@w3.org>
Date: Wed, 25 Aug 2021 17:13:43 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-905721156-1629911621-sysbot+gh@w3.org>
> In the second example, if the browser doesn't understand the new syntax, or "COLRv1", the entire src line falls back wholesale.

No, that is actually the reason we went for that syntax - the second src (or the second comma-separated item, if you did it that way)  is dropped but the first remains, so in older browsers you end up with

```css
@font-face {
    font-family: jewel;
    src: url(jewel-fallback.woff2) format("woff2");
}

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


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Wednesday, 25 August 2021 17:13:44 UTC

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