Closed Bug 1869185 Opened 2 years ago Closed 2 years ago

[css-properties-values-api] Support interpolating registered custom properties.

Categories

(Core :: CSS Parsing and Computation, enhancement)

enhancement

Tracking

()

RESOLVED FIXED
124 Branch
Tracking Status
firefox124 --- fixed

People

(Reporter: zrhoffman, Assigned: zsun)

References

(Blocks 3 open bugs)

Details

Attachments

(2 files)

Once support for custom properties in discrete animations is added in bug 1846516, we can add support for interpolating custom properties.

Depends on: 1864736
Assignee: nobody → zsun
Status: NEW → ASSIGNED
Attachment #9371707 - Attachment description: Bug 1869185 - Part1: add initial interpolating animation support for registered custom properties. r=zrhoffman,emilio → Bug 1869185 - Add initial interpolating animation support for registered custom properties. r=zrhoffman,emilio
Blocks: 1875546
  • Move the manual code outside the auto-generated animated_properties
    file.

  • Treat unregistered custom properties and universal-syntax properties
    the same.

  • A void a bunch of copy-pasta and extra unnecessary clone() calls.

  • Fix animations with mismatched multipliers, custom property names,
    etc. This isn't really testable, since afaict you can't create such
    an animation (maybe if you override the registration dynamically?),
    but seems better for consistency.

Depends on D198004

Pushed by ealvarez@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/90216cb9029e Add initial interpolating animation support for registered custom properties. r=emilio https://hg.mozilla.org/integration/autoland/rev/e80ef237bb81 Various clean-ups and fixes on top of the previous patch. r=zrhoffman,firefox-style-system-reviewers
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 124 Branch

(In reply to Emilio Cobos Álvarez (:emilio) from comment #2)

Created attachment 9376016 [details]
Bug 1869185 - Various clean-ups and fixes on top of the previous patch. r=zsun,zrhoffman,#style
Thanks very much Emilio!

Blocks: 1899531
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: