Open Bug 1870107 Opened 5 months ago Updated 5 months ago

Consider renaming AnimatedPropertyID to something else.

Categories

(Core :: CSS Parsing and Computation, task, P3)

task

Tracking

()

People

(Reporter: emilio, Unassigned)

References

Details

Bug 1846516 introduces AnimatedPropertyID, but really isn't animation specific. AnimatedPropertyID roughly maps to Rust's PropertyId, while nsCSSPropertyID roughly maps to Rust's NonCustomPropertyId.

Maybe we could make them autogenerated, or at least more closely align the namings here.

One potential issue with auto-generating them is that PropertyId / NonCustomPropertyId currently live in the properties.mako.rs file, which cbindgen can't parse as Rust.

But generally moving some of these out of mako seems valuable, so maybe we should try to do that?

Depends on: 1870676
Depends on: 1870832
You need to log in before you can comment on or make changes to this bug.