Summary: According to a Chrome Platform Status statistics site [1] `background-color` is the third most popular animating CSS property. Running background color animations on the compositor makes the main thread less busy because styling/painting for the animations are skipped on the main thread. Which means that it improves performance and reduces battery consumption theoretically.
Bugs: for WebRender https://bugzilla.mozilla.org/show_bug.cgi?id=1510030 for non WebRender https://bugzilla.mozilla.org/show_bug.cgi?id=1504065 As you may know, on our Nightlies it's been enabled since Nov. 2018 for non WebRender backend. The WebRender backend will be landed soon. Platform coverage: all Preference: gfx.omta.background-color DevTools bug: There is no specific bugs for devtools because the animation inspector has already a feature which shows a lightning bolt icon for each animation if the animation runs on the compositor. See a document [2] for details. Other browsers: No other browser implements it, as far as I know. A few years ago, Chrome seems to start considering it [3], but I don't know what the current status is. As a side note, Blink plans to run clip-path animations on the compositor [4], WebKit is interested in it [5] (Though I've heard WebKit has already implemented it, I may be mis-remembering). We might plan to do it at some point in future. Bug to turn on by default: https://bugzilla.mozilla.org/show_bug.cgi?id=1535532 Target Release: 76 hiro [1] https://www.chromestatus.com/metrics/css/animated [2] https://developer.mozilla.org/en-US/docs/Tools/Page_Inspector/How_to/Work_with_animations#Animation_inspector [3] https://groups.google.com/a/chromium.org/d/msg/paint-dev/3-_82v7-tK8/LNkGN0ywBQAJ [4] https://bugs.chromium.org/p/chromium/issues/detail?id=686074 [5] https://bugs.webkit.org/show_bug.cgi?id=185816 _______________________________________________ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform