Skip to content

[css-fonts-4] Remove mentions of invalid @font-face #9491

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
cdoublev opened this issue Oct 18, 2023 · 1 comment
Closed

[css-fonts-4] Remove mentions of invalid @font-face #9491

cdoublev opened this issue Oct 18, 2023 · 1 comment

Comments

@cdoublev
Copy link
Collaborator

cdoublev commented Oct 18, 2023

According to #1133 (comment) and CSS Fonts 4:

[...] @font-face rules require a font-family and src descriptor; if either of these are missing, the @font-face 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 and to become considered when performing the font matching algorithm).

But later it is defined as invalid:

Name: font-family

[...] It is required for the @font-face rule to be valid.

Name: src

[...] It is required for the @font-face rule to be valid.

I propose to remove these mentions.

@svgeesus
Copy link
Contributor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants