[csswg-drafts] [css-fonts-4] Remove mentions of invalid `@font-face` (#9491)

cdoublev has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-fonts-4] Remove mentions of invalid `@font-face` ==
According to https://github.com/w3c/csswg-drafts/issues/1133#issuecomment-319945737 and [CSS Fonts 4](https://drafts.csswg.org/css-fonts-4/#font-face-rule):

  > [...] `@font-face` rules require a `font-family` and `src` descriptor; if either of these are missing, the `@font-fac`e rule must not be considered when performing the font matching algorithm.

Basically, it remains valid but it does not declare a resource (CSSOM allows to update it to become valid). 

But later it is defined as invalid:

  > **Name:** [`font-family`](https://drafts.csswg.org/css-fonts-4/#font-family-desc)
  >
  > [...] It is required for the `@font-face` rule to be valid.

  > **Name:** [`src`](https://drafts.csswg.org/css-fonts-4/#descdef-font-face-src)
  > 
  > [...] It is required for the `@font-face` rule to be valid.

I propose to remove these mentions.

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/9491 using your GitHub account


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

Received on Wednesday, 18 October 2023 13:30:05 UTC