diff --git a/components/style/properties/longhand/border.mako.rs b/components/style/properties/longhand/border.mako.rs index b62d1210480..fac233a6924 100644 --- a/components/style/properties/longhand/border.mako.rs +++ b/components/style/properties/longhand/border.mako.rs @@ -63,3 +63,9 @@ % endfor ${helpers.single_keyword("box-decoration-break", "slice clone", products="gecko")} + +${helpers.single_keyword("-moz-float-edge", + "content-box margin-box", + gecko_ffi_name="mFloatEdge", + gecko_constant_prefix="NS_STYLE_FLOAT_EDGE", + products="gecko")} diff --git a/ports/geckolib/gecko_bindings/structs.rs b/ports/geckolib/gecko_bindings/structs.rs index 7958002e3c4..8ecb189fcdf 100644 --- a/ports/geckolib/gecko_bindings/structs.rs +++ b/ports/geckolib/gecko_bindings/structs.rs @@ -92,8 +92,8 @@ pub const NS_STYLE_BASIC_SHAPE_CIRCLE: ::std::os::raw::c_uint = 1; pub const NS_STYLE_BASIC_SHAPE_ELLIPSE: ::std::os::raw::c_uint = 2; pub const NS_STYLE_BASIC_SHAPE_INSET: ::std::os::raw::c_uint = 3; pub const NS_STYLE_BOX_SHADOW_INSET: ::std::os::raw::c_uint = 0; -pub const NS_STYLE_FLOAT_EDGE_CONTENT: ::std::os::raw::c_uint = 0; -pub const NS_STYLE_FLOAT_EDGE_MARGIN: ::std::os::raw::c_uint = 1; +pub const NS_STYLE_FLOAT_EDGE_CONTENT_BOX: ::std::os::raw::c_uint = 0; +pub const NS_STYLE_FLOAT_EDGE_MARGIN_BOX: ::std::os::raw::c_uint = 1; pub const NS_STYLE_USER_FOCUS_NONE: ::std::os::raw::c_uint = 0; pub const NS_STYLE_USER_FOCUS_IGNORE: ::std::os::raw::c_uint = 1; pub const NS_STYLE_USER_FOCUS_NORMAL: ::std::os::raw::c_uint = 2;