gecko-dev/layout
Boris Chiou bf583442cc Bug 1888317 - Use AnimatedPropertyIDSet for EffectSet::mPropertiesForAnimationsLevel. r=layout-reviewers,zrhoffman,emilio
We keep a set of properties which are running on the
`CascadeLevel::Animations`, to make sure we compose the correct properties
for the rule on Animations/Transitions cascade level.

In other words, without this patch, we may accidentally compose an
animation rule for `CascadeLevel::Animations` (from the KeyframeEffect of
the existing transition), even if we don't have any running animations,
if this transition property is a custom property.

The resolution is to use `AnimatedPropertyIDSet`, for
`mPropertiesForAnimationsLevel`, so we can skip the custom properties which
shouldn't belong to Animations cascade level when composing them.

Note that we don't change the logic, and we are still using
`nsCSSPropertyIDSet` for `EffectSet::mPropertiesWithImportantRules`
because compositor animations don't allow custom properties now.
(This could be a future work I guess, if we are using custom property
values for opacity, translate, rotate, scale, etc.)

Also, I noticed the subtest, "No transition when removing @property rule",
is similar to the testcase in this bug, and so it got passed as well.

Differential Revision: https://phabricator.services.mozilla.com/D210589
2024-05-21 16:55:00 +00:00
..
base Bug 1897827 - Remove FrameChildListID::Popup. r=dholbert 2024-05-20 22:00:08 +00:00
build Bug 1896711 part 1: Use MakeRefPtr to reduce boilerplate, in layout/{build,inspector,mathml}. r=TYLin 2024-05-15 07:29:19 +00:00
docs Bug 1896210 Part 4 - Address late review comments for Part 2. r=dholbert DONTBUILD 2024-05-20 18:01:16 +00:00
forms Bug 1830576 - Update textarea intrinsic height calculations r=dholbert 2024-05-18 14:12:26 +00:00
generic Bug 1897827 - Remove FrameChildListID::Popup. r=dholbert 2024-05-20 22:00:08 +00:00
inspector Bug 1896711 part 1: Use MakeRefPtr to reduce boilerplate, in layout/{build,inspector,mathml}. r=TYLin 2024-05-15 07:29:19 +00:00
ipc
mathml Bug 1896711 part 1: Use MakeRefPtr to reduce boilerplate, in layout/{build,inspector,mathml}. r=TYLin 2024-05-15 07:29:19 +00:00
media
painting Bug 1897749 - Remove unused HadWillChange(), r=tnikkel 2024-05-20 12:29:23 +00:00
printing Bug 1896762 - Make animation timing match the spec. r=smaug,firefox-animation-reviewers,boris 2024-05-17 16:33:06 +00:00
reftests Bug 1895637 - Remove reference to is64Bit in reftest.list files. r=jgilbert,dom-storage-reviewers,janv 2024-05-15 19:47:59 +00:00
style Bug 1888317 - Use AnimatedPropertyIDSet for EffectSet::mPropertiesForAnimationsLevel. r=layout-reviewers,zrhoffman,emilio 2024-05-21 16:55:00 +00:00
svg Bug 1897135 Part 2 - Remove redundant mFrameManager member in PresShell. r=dholbert 2024-05-17 21:37:01 +00:00
tables Bug 1824877 Part 3 - Change ScrollContainerFrame's type from Scroll to ScrollContainer. r=dholbert 2024-05-15 17:50:49 +00:00
tools Bug 1896684 - Update iteritems to items in reftestcommandline.py. r=jmaher 2024-05-16 04:36:34 +00:00
xul Bug 1895637 - Remove reference to is64Bit in reftest.list files. r=jgilbert,dom-storage-reviewers,janv 2024-05-15 19:47:59 +00:00
moz.build