Mozilla サポートの検索

サポート詐欺に注意してください。 私たちはあなたに通話やショートメッセージの送信、個人情報の共有を求めることはありません。疑わしい行為を見つけたら「迷惑行為を報告」からご報告ください。

詳しく学ぶ

Animation-Timeline CSS property not working on Firefox

  • 1 件の返信
  • 0 人がこの問題に困っています
  • 29 回表示
  • 最後の返信者: Mark

more options

I used the CSS animation property called animation-timeline , which is written as:

element{ animation-time: view(); }

When I view the webpage on Chrome, Edge, Opera, and even on Phoenix browser, the animation works.

It is only on Firefox that the animation does not work. I even added the Vendor-prefix of " -moz-animation-timeline " to the CSS property, and it still didn't work on Firefox, while it is working on all other browsers.

The CAN I USE website ( https://caniuse.com/?search=animation-timeline ) tells me that Firefox does not support it at all.

It however said that I can enable it, by setting "layout.css.scroll-driven-animations.enabled" to true.

1.) I don't know what that means.

2.) Would my website's users be able to see the animation on their Firefox browser, if we assume that I make this setting ?

3.) I am using Firefox version 138.0.3 (64-bit) : What can I do to see that both I and users of my website are able to see this animation on Firefox ?

Regards.

I used the '''CSS animation property''' called '''animation-timeline''' , which is written as: element{ animation-time: view(); } When I view the webpage on Chrome, Edge, Opera, and even on Phoenix browser, the animation works. It is only on Firefox that the animation does not work. I even added the Vendor-prefix of " '''-moz-animation-timeline''' " to the CSS property, and it still didn't work on Firefox, while it is working on all other browsers. The '''CAN I USE''' website ( https://caniuse.com/?search=animation-timeline ) tells me that Firefox does not support it at all. It however said that I can enable it, by setting "layout.css.scroll-driven-animations.enabled" to true. 1.) I don't know what that means. 2.) Would my website's users be able to see the animation on their Firefox browser, if we assume that I make this setting ? 3.) I am using Firefox version 138.0.3 (64-bit) : What can I do to see that both I and users of my website are able to see this animation on Firefox ? Regards.

すべての返信 (1)

more options

The "layout.css.scroll-driven-animations.enabled" is a preference set by the user in about:config. It is not something websites can set. If a user set this preference to true in about:config, they should be able to see the animation-timeline.

Below, I have attached a description from https://developer.mozilla.org/en-US/docs/Web/CSS/animation-timeline#browser_compatibility.


WARNING from the moderator team: Changing Firefox preferences from the about:config page can sometimes break Firefox or cause strange behavior. You should only do this if you know what you're doing. Please read Firefox advanced customization and configuration options to learn more.

この投稿は Paul により に変更されました

役に立ちましたか?

質問する

投稿に返信するには あなたのアカウントにログイン する必要があります。まだアカウントをお持ちでなければ、新しい質問を開始 してください。