Bug 1878361 - Fix animation throttling to properly consider opacity animations on...
commita4f3e104b78e04021fa0afea5edd9e7269949fec
authorEmilio Cobos Álvarez <emilio@crisal.io>
Mon, 12 Feb 2024 04:56:35 +0000 (12 04:56 +0000)
committerEmilio Cobos Álvarez <emilio@crisal.io>
Mon, 12 Feb 2024 04:56:35 +0000 (12 04:56 +0000)
tree42cf9e9f4e9c2f082fbc5a0fdd7ec526d35044c2
parent6678244978c6547bbbaf1e62e215451713f8ebf6
Bug 1878361 - Fix animation throttling to properly consider opacity animations on the root of the opacity: 0 subtree. r=boris

We had a test for this but it didn't get to the buggy line because the
opacity animation in the test started at 1. Fixed, and also added a test
for a compositor animation.

Differential Revision: https://phabricator.services.mozilla.com/D201355
dom/animation/KeyframeEffect.cpp
dom/animation/test/mozilla/file_restyles.html