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

Reference for CSS value serialization, especially as it relates to colors #32734

Open
6 tasks
estelle opened this issue Mar 18, 2024 · 2 comments
Open
6 tasks
Labels
accepting PR Feel free to open a PR to resolve this issue Content:CSS Cascading Style Sheets docs help wanted If you know something about this topic, we would love your help!

Comments

@estelle
Copy link
Member

estelle commented Mar 18, 2024

Create a glossary page for "serialized" to explain what serializing means, especially as it relates to colors.

Link to this new page from:

  • hsl()
  • rgb(),
  • hwb()
  • color space glossary.
  • css colors module landing page
  • using relative colors page

Originally posted by @estelle in #32004 (comment)

@github-actions github-actions bot added the needs triage Triage needed by staff and/or partners. Automatically applied when an issue is opened. label Mar 18, 2024
@bsmth bsmth added accepting PR Feel free to open a PR to resolve this issue and removed needs triage Triage needed by staff and/or partners. Automatically applied when an issue is opened. labels Apr 8, 2024
@bsmth
Copy link
Member

bsmth commented Apr 8, 2024

Thanks Estelle. Removing needs triage as I think next steps are a PR to add this 👍🏻

@Josh-Cena Josh-Cena added help wanted If you know something about this topic, we would love your help! Content:CSS Cascading Style Sheets docs labels Jun 5, 2024
@bsmth bsmth added the Content:Glossary Glossary entries label Jul 9, 2024
@Josh-Cena
Copy link
Member

FYI, we already have a glossary entry here: https://developer.mozilla.org/en-US/docs/Glossary/Serialization It says if you want to get the serialized value of a property, use the CSSStyleDeclaration.getPropertyValue() function. "Serializing CSS values" itself should be a CSS topic, not a glossary topic. The relevant spec is https://drafts.csswg.org/cssom/#serialize-a-css-value

@Josh-Cena Josh-Cena removed the Content:Glossary Glossary entries label Jul 12, 2024
@Josh-Cena Josh-Cena changed the title Create a glossary page for "serialized" to explain what serializing means, especially as it relates to colors. Jul 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
accepting PR Feel free to open a PR to resolve this issue Content:CSS Cascading Style Sheets docs help wanted If you know something about this topic, we would love your help!
3 participants