- From: Guillaume via GitHub <sysbot+gh@w3.org>
- Date: Mon, 21 Nov 2022 08:50:32 +0000
- To: public-css-archive@w3.org
> My assumption is that multple `src` descriptors are allowed if valid. This would prevent seting/updating `src` via CSSOM, assuming such use case exists and that the specs explicitly supports this and defines what should happen. I guess the current implementations register font source definitions when parsing `src` therefore multiple declarations are already accepted and none is ignored. The author can already define multiple sources with comma-separated values: ```css src: url("FallbackURLForBrowsersWhichDontSupportIncrementalLoading.woff2") format("woff2"), url("MyIncrementallyLoadedWebFont.otf") format(opentype) tech(incremental); ``` > The [`src`](https://drafts.csswg.org/css-fonts-4/#descdef-font-face-src) descriptor value must be parsed according to section [CSS Syntax 3 ยง 5.3.11 Parse a comma-separated list of component values](https://drafts.csswg.org/css-syntax-3/#parse-comma-separated-list-of-component-values). -- GitHub Notification of comment by cdoublev Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/7753#issuecomment-1321709363 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Monday, 21 November 2022 08:50:35 UTC