Skip to content
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

Cast exception when validating @font-face rule with CSS level 2 profile #416

Open
correctmost opened this issue Mar 20, 2024 · 0 comments
Open

Comments

@correctmost
Copy link

Steps to reproduce:

  1. Go to https://jigsaw.w3.org/css-validator/#validate_by_input+with_options
  2. Select CSS level 2 as the profile
  3. Paste @font-face {font-weight: 700;} into the textarea
  4. Press the Check button

Error encountered:
class org.w3c.css.properties.css2.Css2Style cannot be cast to class org.w3c.css.properties.css2.font.Css2Style (org.w3c.css.properties.css2.Css2Style and org.w3c.css.properties.css2.font.Css2Style are in unnamed module of loader org.w3c.jigsaw.servlet.AutoReloadServletLoader @2bee1bfe)

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

No branches or pull requests

1 participant