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

Link browser bugs for relative color support #22961

Open
foolip opened this issue Apr 29, 2024 · 1 comment
Open

Link browser bugs for relative color support #22961

foolip opened this issue Apr 29, 2024 · 1 comment
Labels
data:css 🎨 Compat data for CSS features. https://developer.mozilla.org/docs/Web/CSS

Comments

@foolip
Copy link
Collaborator

foolip commented Apr 29, 2024

Partial implementation and notes is used for a bunch of the relative_syntax entries, from #21937.

I've sent #22960 for two notes I suspect are wrong. These are the remaining notes that should ideally have a bug link so that it's possible to check if it's resolved or not:

color() in Safari:

"safari": {
"version_added": "16.4",
"partial_implementation": true,
"notes": "Implementation based on older spec version. As a result, calculations with channel values do not work correctly, requiring values to be specified as percentages with units (<code>%</code>)."
},

HSL in Chrome and Safari:

"chrome": {
"version_added": "119",
"partial_implementation": true,
"notes": "<code>s</code> and <code>l</code> channel values incorrectly resolve to numbers between 0-1 rather than 0-100. As a result, channel value calculations require <code>s</code> and <code>l</code> values to be specified as decimal percentage equivalents (e.g. 0.2 for 20%)."
},

"safari": {
"version_added": "16.4",
"partial_implementation": true,
"notes": "Implementation based on older spec version. As a result, calculations with channel values do not work correctly, requiring values to be specified with units (<code>deg</code> for <code>h</code>, <code>%</code> for <code>s</code> and <code>l</code>)."
},

HWB in Chrome and Safari:

"chrome": {
"version_added": "119",
"partial_implementation": true,
"notes": "<code>w</code> and <code>b</code> channel values incorrectly resolve to numbers between 0-1 rather than 0-100. As a result, channel value calculations require <code>w</code> and <code>b</code> values to be specified as decimal percentage equivalents (e.g. 0.2 for 20%)."
},

"safari": {
"version_added": "16.4",
"partial_implementation": true,
"notes": "Implementation based on older spec version. As a result, calculations with channel values do not work correctly, requiring values to be specified with units (<code>deg</code> for <code>h</code>, <code>%</code> for <code>w</code> and <code>b</code>)."
},

LCH in Safari:

"safari": {
"version_added": "16.4",
"partial_implementation": true,
"notes": "Implementation based on older spec version. As a result, calculations with <code>h</code> channel values do not work correctly, requiring values to be specified with units (<code>deg</code>)."
},

Oklch in Safari:

"safari": {
"version_added": "16.4",
"partial_implementation": true,
"notes": "Implementation based on older spec version. As a result, calculations with <code>h</code> channel values do not work correctly, requiring values to be specified with units (<code>deg</code>)."
},

@romainmenke do you have bug links handy for any of these? Are there any you know to be fixed already?

@romainmenke
Copy link
Contributor

romainmenke commented Apr 29, 2024

For Safari I do not have any bug links.

For Chrome only HSL/HWB seems to be still open.
This issue seems relevant : https://issues.chromium.org/issues/41488645

I don't know exactly when this was fixed.

Chrome 124 is still broken, 126 seems fine.

@queengooborg queengooborg added the data:css 🎨 Compat data for CSS features. https://developer.mozilla.org/docs/Web/CSS label Apr 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
data:css 🎨 Compat data for CSS features. https://developer.mozilla.org/docs/Web/CSS
Projects
None yet
Development

No branches or pull requests

3 participants