diff --git a/ports/geckolib/properties.mako.rs b/ports/geckolib/properties.mako.rs index 534733c1c77..91400bc5b54 100644 --- a/ports/geckolib/properties.mako.rs +++ b/ports/geckolib/properties.mako.rs @@ -434,7 +434,8 @@ fn static_assert() { <% border_style_keyword = Keyword("border-style", "none solid double dotted dashed hidden groove ridge inset outset") %> -<% skip_border_longhands = " ".join(["border-{0}-style border-{0}-width ".format(x.ident) for x in SIDES]) %> +<% skip_border_longhands = " ".join(["border-{0}-color border-{0}-style border-{0}-width ".format(x.ident) + for x in SIDES]) %> <%self:impl_trait style_struct_name="Border" skip_longhands="${skip_border_longhands}" skip_additionals="*"> @@ -443,6 +444,9 @@ fn static_assert() { <% impl_keyword("border_%s_style" % side.ident, "mBorderStyle[%s]" % side.index, border_style_keyword, need_clone=True) %> + <% impl_color("border_%s_color" % side.ident, "mBorderColor[%s]" % side.index, + color_flags_ffi_name="mBorderStyle[%s]" % side.index) %> + <% impl_app_units("border_%s_width" % side.ident, "mComputedBorder.%s" % side.ident, need_clone=False) %> fn border_${side.ident}_has_nonzero_width(&self) -> bool {