- From: Hamish Willee via GitHub <sysbot+gh@w3.org>
- Date: Fri, 16 Sep 2022 02:20:16 +0000
- To: public-css-archive@w3.org
hamishwillee has just created a new issue for https://github.com/w3c/csswg-drafts: == [css-fonts] Multiple @font-face multiple src declarations == CSS Fonts Module Level 4, [Editor’s Draft](https://www.w3.org/standards/types#ED), 15 September 2022 Says in [`@font-face` rule](https://w3c.github.io/csswg-drafts/css-fonts-4/#font-face-rule): > .... When a given descriptor occurs multiple times in a given @font-face rule, only the last descriptor declaration is used and all prior declarations for that descriptor are ignored. Then [example 22](https://w3c.github.io/csswg-drafts/css-fonts-4/#ex-incremental) shows where we have multiple src descriptors, allowing fallback: ```css @font-face { font-family: "MyIncrementallyLoadedWebFont"; src: url("FallbackURLForBrowsersWhichDontSupportIncrementalLoading.woff2") format("woff2"); src: url("MyIncrementallyLoadedWebFont.otf") format(opentype) tech(incremental); } ``` My assumption is that multple `src` descriptors are allowed if valid. If so perhaps the initial sentence could reflect this. Not sure how - maybe something like > .... When a given descriptor occurs multiple times in a given @font-face rule, only the last _actionable_ descriptor declaration is used and all prior declarations for that descriptor are ignored. Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/7753 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Friday, 16 September 2022 02:20:17 UTC