Repository navigation
style: Move font-variant-numeric outside of mako - #19277
Conversation
|
Heads up! This PR modifies the following files:
|
| } | ||
|
|
||
| #[cfg(feature = "gecko")] | ||
| impl_gecko_keyword_conversions!(VariantNumeric, u8); |
There was a problem hiding this comment.
@emilio Previously, in the PRs of font-variant-east-asian and font-variant-ligatures, I copied the content of impl_gecko_keyword_conversions macro. However, they will be looked like very duplicate codes.
Thus, if using macro is better, I'd like to send another PR to implement this macro for font-variant-east-asian and font-variant-ligatures.
There was a problem hiding this comment.
Great! Thanks; I'll send a PR for it!
| } | ||
|
|
||
| #[cfg(feature = "gecko")] | ||
| impl_gecko_keyword_conversions!(VariantNumeric, u8); |
|
@bors-servo r+ |
|
📌 Commit a38de8b has been approved by |
style: Move font-variant-numeric outside of mako This is a sub-PR of #19015 r? @emilio --- - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [x] These changes fix #19276 - [x] These changes do not require tests <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/19277) <!-- Reviewable:end -->
|
☀️ Test successful - android, arm32, arm64, linux-dev, linux-rel-css, linux-rel-wpt, mac-dev-unit, mac-rel-css1, mac-rel-css2, mac-rel-wpt1, mac-rel-wpt2, mac-rel-wpt3, mac-rel-wpt4, windows-msvc-dev |
Use macro to impl From for font variant As I discussed in #19277, I'd like to change the implementation for `From` of font variant to use macro, `impl_gecko_keyword_conversions`. r? @emilio --- - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [x] These changes update `From` impl for font variant to use macro `impl_gecko_keyword_conversions`. - [x] These changes do not require tests <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/19282) <!-- Reviewable:end -->
Use macro to impl From for font variant As I discussed in #19277, I'd like to change the implementation for `From` of font variant to use macro, `impl_gecko_keyword_conversions`. r? @emilio --- - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [x] These changes update `From` impl for font variant to use macro `impl_gecko_keyword_conversions`. - [x] These changes do not require tests <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/19282) <!-- Reviewable:end -->
Use macro to impl From for font variant As I discussed in #19277, I'd like to change the implementation for `From` of font variant to use macro, `impl_gecko_keyword_conversions`. r? @emilio --- - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [x] These changes update `From` impl for font variant to use macro `impl_gecko_keyword_conversions`. - [x] These changes do not require tests <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/19282) <!-- Reviewable:end -->
This is a sub-PR of #19015
r? emilio
./mach build -ddoes not report any errors./mach test-tidydoes not report any errorsThis change is