From 793fab878e715f289e55577589eb6c8475e82eb9 Mon Sep 17 00:00:00 2001 From: Hamish Willee Date: Mon, 24 Oct 2022 13:58:43 +1100 Subject: [PATCH 1/3] FF101 CSS scroll() function on animation_timeline --- css/properties/animation-timeline.json | 42 ++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) diff --git a/css/properties/animation-timeline.json b/css/properties/animation-timeline.json index 706c250db7988..37dd7141087e8 100644 --- a/css/properties/animation-timeline.json +++ b/css/properties/animation-timeline.json @@ -40,6 +40,48 @@ "standard_track": true, "deprecated": false } + }, + "scroll": { + "__compat": { + "description": "scroll()", + "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/animation-timeline/scroll", + "spec_url": "https://w3c.github.io/csswg-drafts/scroll-animations-1/#funcdef-scroll", + "support": { + "chrome": { + "version_added": false + }, + "chrome_android": "mirror", + "edge": "mirror", + "firefox": { + "version_added": "101", + "flags": [ + { + "type": "preference", + "name": "layout.css.scroll-linked-animations.enabled", + "value_to_set": "true" + } + ] + }, + "firefox_android": "mirror", + "ie": { + "version_added": false + }, + "oculus": "mirror", + "opera": "mirror", + "opera_android": "mirror", + "safari": { + "version_added": false + }, + "safari_ios": "mirror", + "samsunginternet_android": "mirror", + "webview_android": "mirror" + }, + "status": { + "experimental": true, + "standard_track": true, + "deprecated": false + } + } } } } From 7c1933086700d83071e241f6c251a1476f9f4d6f Mon Sep 17 00:00:00 2001 From: Hamish Willee Date: Mon, 24 Oct 2022 14:12:24 +1100 Subject: [PATCH 2/3] Add note about spec violation --- css/properties/animation-timeline.json | 1 + 1 file changed, 1 insertion(+) diff --git a/css/properties/animation-timeline.json b/css/properties/animation-timeline.json index 37dd7141087e8..41d7d08cbc731 100644 --- a/css/properties/animation-timeline.json +++ b/css/properties/animation-timeline.json @@ -54,6 +54,7 @@ "edge": "mirror", "firefox": { "version_added": "101", + "notes": "Zero scroll range is treated as 100% but should be 0% (see csswg-drafts#7401).", "flags": [ { "type": "preference", From 3a622bfaa9ea8d4a530ab391a9bca8eee91fb58b Mon Sep 17 00:00:00 2001 From: Hamish Willee Date: Fri, 28 Oct 2022 12:15:49 +1100 Subject: [PATCH 3/3] Update css/properties/animation-timeline.json --- css/properties/animation-timeline.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/css/properties/animation-timeline.json b/css/properties/animation-timeline.json index 41d7d08cbc731..8898a466b8c46 100644 --- a/css/properties/animation-timeline.json +++ b/css/properties/animation-timeline.json @@ -54,7 +54,7 @@ "edge": "mirror", "firefox": { "version_added": "101", - "notes": "Zero scroll range is treated as 100% but should be 0% (see csswg-drafts#7401).", + "notes": "Zero scroll range is treated as 100% but should be 0% (see bug 1780865).", "flags": [ { "type": "preference",