diff --git a/components/style/lib.rs b/components/style/lib.rs index b82d2fd3cc0..e1453706977 100644 --- a/components/style/lib.rs +++ b/components/style/lib.rs @@ -171,7 +171,7 @@ pub mod gecko_properties { } macro_rules! reexport_computed_values { - ( $( $name: ident )+ ) => { + ( $( { $name: ident, $boxed: expr } )+ ) => { /// Types for [computed values][computed]. /// /// [computed]: https://drafts.csswg.org/css-cascade/#computed diff --git a/components/style/properties/properties.mako.rs b/components/style/properties/properties.mako.rs index 0e11d2ac0ad..d6c6faf964d 100644 --- a/components/style/properties/properties.mako.rs +++ b/components/style/properties/properties.mako.rs @@ -3419,7 +3419,7 @@ macro_rules! longhand_properties_idents { ($macro_name: ident) => { $macro_name! { % for property in data.longhands: - ${property.ident} + { ${property.ident}, ${"true" if property.boxed else "false"} } % endfor } }