Open Bug 1408323 Opened 2 years ago Updated 2 years ago

stylo: consider generating nsStyleConsts.h values from Servo

Categories

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

enhancement

Tracking

()

Tracking Status
firefox57 --- wontfix
firefox58 --- affected

People

(Reporter: heycam, Unassigned)

References

Details

It would be nice if we could generate the enums in nsStyleConsts.h from the Servo property definitions, instead of needing to define them in two separate places.
Priority: -- → P3
Blocks: stylo
Summary: consider generating nsStyleConsts.h values from Servo → stylo: consider generating nsStyleConsts.h values from Servo
Generally I think this stuff makes the most sense as a toml file that both sides can reasonably parse and operate on, instead of having servo generate C code or Gecko generate Rust code.
You need to log in before you can comment on or make changes to this bug.