It's overly generic for no good reason.
Details
- Reviewers
hiro birtles heycam - Group Reviewers
Restricted Project - Commits
- Restricted Diffusion Commit
rMOZILLACENTRAL6251012862a2: Bug 1504536 - Simplify the SVG animation code. r=hiro,heycam - Bugzilla Bug ID
- 1504536
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
| servo/components/style/values/animated/svg.rs | ||
|---|---|---|
| 74–80 | I am confused about this impl. Did I miss that the corresponding impl was moved from generics/svg.rs into this animated/svg.rs? Or the original impl should be removed in this patch? Or am I totally miss something? | |
Err, good catch, I need to remove https://searchfox.org/mozilla-central/rev/efc0d9172cb6a5849c6c4fc0f19d7fd5a2da9643/servo/components/style/values/generics/svg.rs#155 which I think on trunk panics if you specify calc, which seems bad.
I can also remove has_calc.
r=me on all the bits outside of values/animated/, which I defer to Hiro/Brian.
| servo/components/style/properties/gecko.mako.rs | ||
|---|---|---|
| 566 | Nit: no comma at the end of braced match arms. | |
| servo/components/style/properties/gecko.mako.rs | ||
|---|---|---|
| 566 | As much as I agree with the sentiment, Servo's rustfmt.toml has the following: match_block_trailing_comma = true So given Servo has been rustfmt'ing stuff, I'd rather keep the style consistent. | |