From 7c69b02e2966894b35f1a49c5c2e2a7b220b155e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philip=20J=C3=A4genstedt?= Date: Fri, 12 Apr 2024 01:09:52 +0200 Subject: [PATCH 1/3] Rename subfeature to content-visibility animation This is to match the display property: https://github.com/mdn/browser-compat-data/blob/d1d6eb30ec8c2ae2dfa19de2d7f6053c4c016857/css/properties/display.json#L498-L501 --- css/properties/content-visibility.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/css/properties/content-visibility.json b/css/properties/content-visibility.json index e26cb88459b6f1..0b44da7d6d071a 100644 --- a/css/properties/content-visibility.json +++ b/css/properties/content-visibility.json @@ -137,7 +137,7 @@ } } }, - "transitionable": { + "is_transitionable": { "__compat": { "description": "Transitionable when setting transition-behavior: allow-discrete", "spec_url": "https://drafts.csswg.org/css-display-4/#display-animation", From c0bbe84c93c895ecef6959b51e95afd2a8aa8ca4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philip=20J=C3=A4genstedt?= Date: Fri, 12 Apr 2024 01:12:44 +0200 Subject: [PATCH 2/3] Update content-visibility.json --- css/properties/content-visibility.json | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/css/properties/content-visibility.json b/css/properties/content-visibility.json index 0b44da7d6d071a..0da8893f567728 100644 --- a/css/properties/content-visibility.json +++ b/css/properties/content-visibility.json @@ -103,13 +103,13 @@ } } }, - "keyframe_animatable": { + "is_transitionable": { "__compat": { - "description": "@keyframe animatable", - "spec_url": "https://drafts.csswg.org/css-contain-3/#content-visibility-animation", + "description": "Transitionable when setting transition-behavior: allow-discrete", + "spec_url": "https://drafts.csswg.org/css-display-4/#display-animation", "support": { "chrome": { - "version_added": "116" + "version_added": "117" }, "chrome_android": "mirror", "edge": "mirror", @@ -124,7 +124,7 @@ "opera": "mirror", "opera_android": "mirror", "safari": { - "version_added": "preview" + "version_added": false }, "safari_ios": "mirror", "samsunginternet_android": "mirror", @@ -137,13 +137,13 @@ } } }, - "is_transitionable": { + "keyframe_animatable": { "__compat": { - "description": "Transitionable when setting transition-behavior: allow-discrete", - "spec_url": "https://drafts.csswg.org/css-display-4/#display-animation", + "description": "@keyframe animatable", + "spec_url": "https://drafts.csswg.org/css-contain-3/#content-visibility-animation", "support": { "chrome": { - "version_added": "117" + "version_added": "116" }, "chrome_android": "mirror", "edge": "mirror", @@ -158,7 +158,7 @@ "opera": "mirror", "opera_android": "mirror", "safari": { - "version_added": false + "version_added": "preview" }, "safari_ios": "mirror", "samsunginternet_android": "mirror", From 1ecd0f50e9e2f21b54ff63f107e9d32de7b89369 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philip=20J=C3=A4genstedt?= Date: Fri, 12 Apr 2024 01:13:56 +0200 Subject: [PATCH 3/3] Fix spec URL --- css/properties/content-visibility.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/css/properties/content-visibility.json b/css/properties/content-visibility.json index 0da8893f567728..b4bab07674c283 100644 --- a/css/properties/content-visibility.json +++ b/css/properties/content-visibility.json @@ -106,7 +106,7 @@ "is_transitionable": { "__compat": { "description": "Transitionable when setting transition-behavior: allow-discrete", - "spec_url": "https://drafts.csswg.org/css-display-4/#display-animation", + "spec_url": "https://drafts.csswg.org/css-contain-3/#content-visibility-animation", "support": { "chrome": { "version_added": "117"