From 94a4699a7eb6b6393f9eb05e1d1b8b0a606abee6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philip=20J=C3=A4genstedt?= Date: Fri, 12 Nov 2021 14:35:07 +0100 Subject: [PATCH] Remove calc()'s " value support" entry 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. --- css/types/calc.json | 50 ++------------------------------------------- 1 file changed, 2 insertions(+), 48 deletions(-) diff --git a/css/types/calc.json b/css/types/calc.json index 065d9fbf5c0e44..e015dbd229aa3a 100644 --- a/css/types/calc.json +++ b/css/types/calc.json @@ -26,6 +26,7 @@ { "version_added": "16", "notes": [ + "Before Firefox 59 calc() is not supported in rgb() and other color functions.", "Before Firefox 57 calc(1*2*3) is not parsed successfully.", "Firefox 57 increased the number of places calc() could substitute another value. See bug 1350857." ] @@ -40,6 +41,7 @@ { "version_added": "16", "notes": [ + "Before Firefox 59 calc() is not supported in rgb() and other color functions.", "Before Firefox 57 calc(1*2*3) is not parsed successfully.", "Firefox 57 increased the number of places calc() could substitute another value. See bug 1350857." ] @@ -96,54 +98,6 @@ "deprecated": false } }, - "color_values": { - "__compat": { - "description": "<color> value support", - "support": { - "chrome": { - "version_added": false - }, - "chrome_android": { - "version_added": false - }, - "edge": { - "version_added": false - }, - "firefox": { - "version_added": "59" - }, - "firefox_android": { - "version_added": "59" - }, - "ie": { - "version_added": false - }, - "opera": { - "version_added": false - }, - "opera_android": { - "version_added": false - }, - "safari": { - "version_added": "6" - }, - "safari_ios": { - "version_added": "6" - }, - "samsunginternet_android": { - "version_added": false - }, - "webview_android": { - "version_added": false - } - }, - "status": { - "experimental": false, - "standard_track": true, - "deprecated": false - } - } - }, "gradient_color_stops": { "__compat": { "description": "Gradient color stops support",