This needs to update the "fill-rule" and "clip-rule" to use
predefined_type to avoid some compilation errors.
Details
Details
- Reviewers
emilio - Commits
- Restricted Diffusion Commit
rMOZILLACENTRAL46a60644a820: Bug 1501116 - Part 5: Use alias for StyleFillRule. r=emilio - Bugzilla Bug ID
- 1501116
Diff Detail
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
Comment Actions
Hmm, instead of introducing more mako magic, why not using the general machinery we have to share types across multiple properties, something like:
rust pub use values::generics::FillRule;
In both specified/basic_shape.rs and computed/basic_shape.rs.
Then changing these two to use prefefined_type("FillRule")?
Then these can just use impl_simple in gecko.mako.rs.
wdyt?