mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
stylo: Update transform-box glue.
This commit is contained in:
parent
e8d8b9984f
commit
6ccbf499b8
3 changed files with 21 additions and 22 deletions
|
@ -711,9 +711,6 @@ pub mod root {
|
||||||
pub const NS_STYLE_TOUCH_ACTION_MANIPULATION: ::std::os::raw::c_uint = 16;
|
pub const NS_STYLE_TOUCH_ACTION_MANIPULATION: ::std::os::raw::c_uint = 16;
|
||||||
pub const NS_STYLE_TOP_LAYER_NONE: ::std::os::raw::c_uint = 0;
|
pub const NS_STYLE_TOP_LAYER_NONE: ::std::os::raw::c_uint = 0;
|
||||||
pub const NS_STYLE_TOP_LAYER_TOP: ::std::os::raw::c_uint = 1;
|
pub const NS_STYLE_TOP_LAYER_TOP: ::std::os::raw::c_uint = 1;
|
||||||
pub const NS_STYLE_TRANSFORM_BOX_BORDER_BOX: ::std::os::raw::c_uint = 0;
|
|
||||||
pub const NS_STYLE_TRANSFORM_BOX_FILL_BOX: ::std::os::raw::c_uint = 1;
|
|
||||||
pub const NS_STYLE_TRANSFORM_BOX_VIEW_BOX: ::std::os::raw::c_uint = 2;
|
|
||||||
pub const NS_STYLE_TRANSITION_TIMING_FUNCTION_EASE: ::std::os::raw::c_uint
|
pub const NS_STYLE_TRANSITION_TIMING_FUNCTION_EASE: ::std::os::raw::c_uint
|
||||||
=
|
=
|
||||||
0;
|
0;
|
||||||
|
@ -5965,13 +5962,13 @@ pub mod root {
|
||||||
#[repr(u8)]
|
#[repr(u8)]
|
||||||
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
|
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
|
||||||
pub enum StyleGeometryBox {
|
pub enum StyleGeometryBox {
|
||||||
Content = 0,
|
ContentBox = 0,
|
||||||
Padding = 1,
|
PaddingBox = 1,
|
||||||
Border = 2,
|
BorderBox = 2,
|
||||||
Margin = 3,
|
MarginBox = 3,
|
||||||
Fill = 4,
|
FillBox = 4,
|
||||||
Stroke = 5,
|
StrokeBox = 5,
|
||||||
View = 6,
|
ViewBox = 6,
|
||||||
NoClip = 7,
|
NoClip = 7,
|
||||||
Text = 8,
|
Text = 8,
|
||||||
NoBox = 9,
|
NoBox = 9,
|
||||||
|
@ -21657,7 +21654,7 @@ pub mod root {
|
||||||
pub mScrollSnapCoordinate: root::nsTArray<root::mozilla::Position>,
|
pub mScrollSnapCoordinate: root::nsTArray<root::mozilla::Position>,
|
||||||
pub mBackfaceVisibility: u8,
|
pub mBackfaceVisibility: u8,
|
||||||
pub mTransformStyle: u8,
|
pub mTransformStyle: u8,
|
||||||
pub mTransformBox: u8,
|
pub mTransformBox: root::nsStyleDisplay_StyleGeometryBox,
|
||||||
pub mSpecifiedTransform: root::RefPtr<root::nsCSSValueSharedList>,
|
pub mSpecifiedTransform: root::RefPtr<root::nsCSSValueSharedList>,
|
||||||
pub mTransformOrigin: [root::nsStyleCoord; 3usize],
|
pub mTransformOrigin: [root::nsStyleCoord; 3usize],
|
||||||
pub mChildPerspective: root::nsStyleCoord,
|
pub mChildPerspective: root::nsStyleCoord,
|
||||||
|
@ -21679,6 +21676,8 @@ pub mod root {
|
||||||
pub mAnimationIterationCountCount: u32,
|
pub mAnimationIterationCountCount: u32,
|
||||||
pub mShapeOutside: root::mozilla::StyleShapeSource,
|
pub mShapeOutside: root::mozilla::StyleShapeSource,
|
||||||
}
|
}
|
||||||
|
pub use self::super::root::mozilla::StyleGeometryBox as
|
||||||
|
nsStyleDisplay_StyleGeometryBox;
|
||||||
#[test]
|
#[test]
|
||||||
fn bindgen_test_layout_nsStyleDisplay() {
|
fn bindgen_test_layout_nsStyleDisplay() {
|
||||||
assert_eq!(::std::mem::size_of::<nsStyleDisplay>() , 416usize , concat
|
assert_eq!(::std::mem::size_of::<nsStyleDisplay>() , 416usize , concat
|
||||||
|
|
|
@ -711,9 +711,6 @@ pub mod root {
|
||||||
pub const NS_STYLE_TOUCH_ACTION_MANIPULATION: ::std::os::raw::c_uint = 16;
|
pub const NS_STYLE_TOUCH_ACTION_MANIPULATION: ::std::os::raw::c_uint = 16;
|
||||||
pub const NS_STYLE_TOP_LAYER_NONE: ::std::os::raw::c_uint = 0;
|
pub const NS_STYLE_TOP_LAYER_NONE: ::std::os::raw::c_uint = 0;
|
||||||
pub const NS_STYLE_TOP_LAYER_TOP: ::std::os::raw::c_uint = 1;
|
pub const NS_STYLE_TOP_LAYER_TOP: ::std::os::raw::c_uint = 1;
|
||||||
pub const NS_STYLE_TRANSFORM_BOX_BORDER_BOX: ::std::os::raw::c_uint = 0;
|
|
||||||
pub const NS_STYLE_TRANSFORM_BOX_FILL_BOX: ::std::os::raw::c_uint = 1;
|
|
||||||
pub const NS_STYLE_TRANSFORM_BOX_VIEW_BOX: ::std::os::raw::c_uint = 2;
|
|
||||||
pub const NS_STYLE_TRANSITION_TIMING_FUNCTION_EASE: ::std::os::raw::c_uint
|
pub const NS_STYLE_TRANSITION_TIMING_FUNCTION_EASE: ::std::os::raw::c_uint
|
||||||
=
|
=
|
||||||
0;
|
0;
|
||||||
|
@ -5804,13 +5801,13 @@ pub mod root {
|
||||||
#[repr(u8)]
|
#[repr(u8)]
|
||||||
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
|
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
|
||||||
pub enum StyleGeometryBox {
|
pub enum StyleGeometryBox {
|
||||||
Content = 0,
|
ContentBox = 0,
|
||||||
Padding = 1,
|
PaddingBox = 1,
|
||||||
Border = 2,
|
BorderBox = 2,
|
||||||
Margin = 3,
|
MarginBox = 3,
|
||||||
Fill = 4,
|
FillBox = 4,
|
||||||
Stroke = 5,
|
StrokeBox = 5,
|
||||||
View = 6,
|
ViewBox = 6,
|
||||||
NoClip = 7,
|
NoClip = 7,
|
||||||
Text = 8,
|
Text = 8,
|
||||||
NoBox = 9,
|
NoBox = 9,
|
||||||
|
@ -21016,7 +21013,7 @@ pub mod root {
|
||||||
pub mScrollSnapCoordinate: root::nsTArray<root::mozilla::Position>,
|
pub mScrollSnapCoordinate: root::nsTArray<root::mozilla::Position>,
|
||||||
pub mBackfaceVisibility: u8,
|
pub mBackfaceVisibility: u8,
|
||||||
pub mTransformStyle: u8,
|
pub mTransformStyle: u8,
|
||||||
pub mTransformBox: u8,
|
pub mTransformBox: root::nsStyleDisplay_StyleGeometryBox,
|
||||||
pub mSpecifiedTransform: root::RefPtr<root::nsCSSValueSharedList>,
|
pub mSpecifiedTransform: root::RefPtr<root::nsCSSValueSharedList>,
|
||||||
pub mTransformOrigin: [root::nsStyleCoord; 3usize],
|
pub mTransformOrigin: [root::nsStyleCoord; 3usize],
|
||||||
pub mChildPerspective: root::nsStyleCoord,
|
pub mChildPerspective: root::nsStyleCoord,
|
||||||
|
@ -21038,6 +21035,8 @@ pub mod root {
|
||||||
pub mAnimationIterationCountCount: u32,
|
pub mAnimationIterationCountCount: u32,
|
||||||
pub mShapeOutside: root::mozilla::StyleShapeSource,
|
pub mShapeOutside: root::mozilla::StyleShapeSource,
|
||||||
}
|
}
|
||||||
|
pub use self::super::root::mozilla::StyleGeometryBox as
|
||||||
|
nsStyleDisplay_StyleGeometryBox;
|
||||||
#[test]
|
#[test]
|
||||||
fn bindgen_test_layout_nsStyleDisplay() {
|
fn bindgen_test_layout_nsStyleDisplay() {
|
||||||
assert_eq!(::std::mem::size_of::<nsStyleDisplay>() , 416usize , concat
|
assert_eq!(::std::mem::size_of::<nsStyleDisplay>() , 416usize , concat
|
||||||
|
|
|
@ -1807,6 +1807,7 @@ ${helpers.single_keyword("backface-visibility",
|
||||||
|
|
||||||
${helpers.single_keyword("transform-box",
|
${helpers.single_keyword("transform-box",
|
||||||
"border-box fill-box view-box",
|
"border-box fill-box view-box",
|
||||||
|
gecko_enum_prefix="StyleGeometryBox",
|
||||||
products="gecko",
|
products="gecko",
|
||||||
spec="https://drafts.csswg.org/css-transforms/#transform-box",
|
spec="https://drafts.csswg.org/css-transforms/#transform-box",
|
||||||
animatable=False)}
|
animatable=False)}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue