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

[cssom-1][css-color-4] "specified value" here would better be reworded as declared value #9993

Closed
qnighy opened this issue Feb 24, 2024 · 2 comments · Fixed by #9995
Closed
Labels
css-color-4 Current Work cssom-1 Current Work

Comments

@qnighy
Copy link
Contributor

qnighy commented Feb 24, 2024

Serializing CSS Values mentions specified, resolved, computed, and used values for serialization. The specified values are mentioned here with values from CSSStyleSheet or ElementCSSInlineStyle in mind. In css-cascade-5 terminology, however, it corresponds with declared values rather than specified values.

One important difference is with CSS-wide keywords. CSS-wide keywords, such as inherit, are serialized as they are within CSSOM APIs like cssText. This is unintuitive if they are called specified values, as they should have been resolved to other values in specified values (in the sense of css-cascade-5).

The same argument applies to Resolving <color> values.

@svgeesus
Copy link
Contributor

Understood. Would you like to make a pull request to correct this?

@svgeesus svgeesus added css-color-4 Current Work cssom-1 Current Work labels Feb 24, 2024
@qnighy
Copy link
Contributor Author

qnighy commented Feb 25, 2024

Yes, I'd love to!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
css-color-4 Current Work cssom-1 Current Work
Projects
None yet
2 participants