Re: [csswg-drafts] [css-fonts] Drop bracket matching step from `@font-face` src: line parsing (#6340)

I suspect the split on parantheses came about because [at one point](https://github.com/w3c/csswg-drafts/issues/633#issuecomment-339058646) we were considering syntax like

```css
@font-face {
  font-family: heading-font;
  src: url(fancy-font.woff2) format("woff2;tables=CPAL,FVAR"),
        url(fallback-font.woff2) format("woff2"),
        url(fallback-fallback-font.woff) format("woff"),
        url(how-old-is-your-browser-font.ttf) format("ttf");
}
```

Note the commas inside the overloaded format specifier.

But we ended up not doing that, so segmenting first on balanced parentheses no longer has any value.

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


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Wednesday, 2 June 2021 18:06:09 UTC