Skip to content

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

Merged
Elchi3 merged 1 commit intomdn:mainfrom
foolip:color_values
Nov 12, 2021
Merged

Remove calc()'s "<color> value support" entry#13486
Elchi3 merged 1 commit intomdn:mainfrom
foolip:color_values

Conversation

@foolip
Copy link
Contributor

@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