diff --git a/components/style/build_gecko.rs b/components/style/build_gecko.rs index de60fe615be..ee7825fe054 100644 --- a/components/style/build_gecko.rs +++ b/components/style/build_gecko.rs @@ -285,6 +285,7 @@ mod bindings { "mozilla::PropertyStyleAnimationValuePair", "mozilla::TraversalRootBehavior", "mozilla::StyleShapeRadius", + "mozilla::StyleGrid.*", ".*ThreadSafe.*Holder", "AnonymousContent", "AudioContext", diff --git a/components/style/gecko_bindings/structs_debug.rs b/components/style/gecko_bindings/structs_debug.rs index 302aa8bb0a1..746cbacee9e 100644 --- a/components/style/gecko_bindings/structs_debug.rs +++ b/components/style/gecko_bindings/structs_debug.rs @@ -537,12 +537,6 @@ pub mod root { pub const NS_STYLE_GRID_AUTO_FLOW_COLUMN: ::std::os::raw::c_uint = 2; pub const NS_STYLE_GRID_AUTO_FLOW_DENSE: ::std::os::raw::c_uint = 4; pub const NS_STYLE_GRID_TEMPLATE_SUBGRID: ::std::os::raw::c_uint = 0; - pub const NS_STYLE_GRID_TRACK_BREADTH_MAX_CONTENT: ::std::os::raw::c_uint - = - 1; - pub const NS_STYLE_GRID_TRACK_BREADTH_MIN_CONTENT: ::std::os::raw::c_uint - = - 2; pub const NS_STYLE_GRID_REPEAT_AUTO_FILL: ::std::os::raw::c_uint = 0; pub const NS_STYLE_GRID_REPEAT_AUTO_FIT: ::std::os::raw::c_uint = 1; pub const NS_STYLE_WIDTH_MAX_CONTENT: ::std::os::raw::c_uint = 0; @@ -5813,6 +5807,9 @@ pub mod root { MozGroupbox = 37, MozPopup = 38, } + #[repr(u8)] + #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)] + pub enum StyleGridTrackBreadth { MaxContent = 1, MinContent = 2, } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct WritingMode([u8; 0]); diff --git a/components/style/gecko_bindings/structs_release.rs b/components/style/gecko_bindings/structs_release.rs index b7f7be53fb8..ac21902cf62 100644 --- a/components/style/gecko_bindings/structs_release.rs +++ b/components/style/gecko_bindings/structs_release.rs @@ -537,12 +537,6 @@ pub mod root { pub const NS_STYLE_GRID_AUTO_FLOW_COLUMN: ::std::os::raw::c_uint = 2; pub const NS_STYLE_GRID_AUTO_FLOW_DENSE: ::std::os::raw::c_uint = 4; pub const NS_STYLE_GRID_TEMPLATE_SUBGRID: ::std::os::raw::c_uint = 0; - pub const NS_STYLE_GRID_TRACK_BREADTH_MAX_CONTENT: ::std::os::raw::c_uint - = - 1; - pub const NS_STYLE_GRID_TRACK_BREADTH_MIN_CONTENT: ::std::os::raw::c_uint - = - 2; pub const NS_STYLE_GRID_REPEAT_AUTO_FILL: ::std::os::raw::c_uint = 0; pub const NS_STYLE_GRID_REPEAT_AUTO_FIT: ::std::os::raw::c_uint = 1; pub const NS_STYLE_WIDTH_MAX_CONTENT: ::std::os::raw::c_uint = 0; @@ -5653,6 +5647,9 @@ pub mod root { MozGroupbox = 37, MozPopup = 38, } + #[repr(u8)] + #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)] + pub enum StyleGridTrackBreadth { MaxContent = 1, MinContent = 2, } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct WritingMode([u8; 0]);