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

Remove calc()'s "<color> value support" entry #13486

Merged
merged 1 commit into from
Nov 12, 2021
Merged

Conversation

foolip
Copy link
Collaborator

@foolip foolip commented Nov 12, 2021

This entry represents support for calc() inside color functions like
rgb(), and can be tested with rgb(0, calc(64 + 64), 0):
http://software.hixie.ch/utilities/js/live-dom-viewer/?saved=9798

The data for Firefox is correct, this didn't work before Firefox 59.

However, the data for Chrome and Edge is wrong, this was supported since
Chrome 16 (with -webkit-calc()) and at least since Edge 15.

Since this concerns only Firefox, make it a note instead.

This entry represents support for calc() inside color functions like
rgb(), and can be tested with `rgb(0, calc(64 + 64), 0)`:
http://software.hixie.ch/utilities/js/live-dom-viewer/?saved=9798

The data for Firefox is correct, this didn't work before Firefox 59.

However, the data for Chrome and Edge is wrong, this was supported since
Chrome 16 (with `-webkit-calc()`) and at least since Edge 15.

Since this concerns only Firefox, make it a note instead.
@github-actions github-actions bot added the data:css Compat data for CSS features. https://developer.mozilla.org/docs/Web/CSS label Nov 12, 2021
Copy link
Member

@Elchi3 Elchi3 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@Elchi3 Elchi3 merged commit d3b43a8 into mdn:main Nov 12, 2021
@foolip foolip deleted the color_values branch November 12, 2021 13:49
ddbeck added a commit to ddbeck/browser-compat-data that referenced this pull request Nov 16, 2021
ddbeck added a commit that referenced this pull request Nov 16, 2021
* Bump version to v4.0.11

* Add release date

* Add release note for #12879

* Add release note for #13424

* Add release note for #13479

* Add release note for #13486

* Add release note for #13523

* Hoist from previous release

* Add stats

* Copyedit

* Fix order
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

Successfully merging this pull request may close these issues.

3 participants