Page MenuHomePhabricator

Bug 1616140 - Rename append_dynamic_properties to append_dynamic_transform_properties. r?gw
ClosedPublic

Authored by hiro on Feb 17 2020, 11:02 PM.

Details

Summary

It's only for transforms by APZC.

Diff Detail

Repository
rMOZILLACENTRAL mozilla-central
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

hiro created this revision.Feb 17 2020, 11:02 PM
Herald added a project: Restricted Project. · View Herald TranscriptFeb 17 2020, 11:02 PM
phab-bot requested review of this revision.Feb 17 2020, 11:03 PM
phab-bot changed the visibility from "Custom Policy" to "Public (No Login Required)".
phab-bot changed the edit policy from "Custom Policy" to "Restricted Project (Project)".
phab-bot removed a project: Restricted Project.
gw added a comment.Feb 17 2020, 11:11 PM

I'm unsure about this one - isn't it possible in the future that Gecko might want to use this API to update other properties (such as color properties)?

hiro added a comment.Feb 17 2020, 11:25 PM
In D63115#1920686, @gw wrote:

I'm unsure about this one - isn't it possible in the future that Gecko might want to use this API to update other properties (such as color properties)?

For animations driven by CSS (or WebAnimation APIs) we use update_dynamic_properties. append_dynamic_properties is used to _apply_ transform effects based on the CSS transform animations. append means for that purpose.

gw accepted this revision.Feb 17 2020, 11:37 PM
This revision is now accepted and ready to land.Feb 17 2020, 11:37 PM