CSS <color> - missing compatibility data for floats in hsl() notation
Nobody has claimed this yet.
- Dominant language
- JSON
- Stars
- 5.8k
- Forks
- 2.6k
- Avg merge
- 1d 21h
- Merged PRs (30d)
- 186
Description
What information was incorrect, unhelpful, or incomplete?
BCD does not currently contain an entry on the browser support for float numbers in the hsl() / hsla() color notation, as it has for rgb() / rgba(). My current need is defining the hsl() serialization in a color manipulation library, where I'd make an informed decision whether to round saturation and lightness to the nearest integer.
Can you link to any release notes, bugs, pull requests, or MDN pages related to this?
https://developer.mozilla.org/en-US/docs/Web/CSS/color_value/hsl()
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the linked MDN hsl() page and compare the existing BCD entries for rgb() and rgba() compatibility. Identify the appropriate hsl()/hsla() data location, add browser support information for float saturation and lightness values, and verify that the compatibility data matches the documented behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- css
- Domain
- web-dev
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100