-
Notifications
You must be signed in to change notification settings - Fork 509
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
The "Formal syntax" section for rgb()
is incorrect
#8777
Comments
This is defined here: https://github.com/mdn/data/blob/main/css/functions.json#L355 But I thought we were pulling this in from webref and no longer updating |
Actually I believe we're waiting to migrate webref to >=v6.0.0 edit: see https://github.com/mdn/yari/blob/main/kumascript/src/lib/css-syntax.ts |
@bsmth I refrained from opening a PR for |
I agree it's not easy to navigate this one, unfortunately. |
@yarusome We have meanwhile updated to |
It looks good to me now: So I'm going ahead and close this issue as resolved. |
Summary
The "Formal syntax" section only shows the legacy syntax of
rgb()
, and even the shown syntax is incorrect (i.e. lacks#
).URL
https://developer.mozilla.org/en-US/docs/Web/CSS/color_value/rgb#formal_syntax
Reproduction steps
Expected behavior
Actual behavior
Device
Desktop
Browser
Firefox
Browser version
Stable
Operating system
Windows
Screenshot
No response
Anything else?
css-color.json
.hsl()
, which also has a legacy syntax, shows correctly.Validations
The text was updated successfully, but these errors were encountered: