diff --git a/components/style/gecko_conversions.rs b/components/style/gecko_conversions.rs index 4e3a5acf2c90..9739e1d6697b 100644 --- a/components/style/gecko_conversions.rs +++ b/components/style/gecko_conversions.rs @@ -82,14 +82,15 @@ impl From for LengthOrPercentage { pub mod basic_shape { use euclid::size::Size2D; + use gecko_bindings::structs; use gecko_bindings::structs::StyleClipPathGeometryBox; use gecko_bindings::structs::{StyleBasicShape, StyleBasicShapeType, StyleFillRule}; - use gecko_bindings::structs::{nsStyleCoord, nsStyleCorners, nsStyleImageLayers_Position}; + use gecko_bindings::structs::{nsStyleCoord, nsStyleCorners}; use gecko_bindings::sugar::ns_style_coord::{CoordDataMut, CoordDataValue}; use gecko_values::GeckoStyleCoordConvertible; use std::borrow::Borrow; use values::computed::basic_shape::*; - use values::computed::position::Position; + use values::computed::position; use values::computed::{BorderRadiusSize, LengthOrPercentage}; // using Borrow so that we can have a non-moving .into() @@ -196,10 +197,10 @@ pub mod basic_shape { } // Can't be a From impl since we need to set an existing - // nsStyleImageLayers_Position, not create a new one - impl From for nsStyleImageLayers_Position { - fn from(other: Position) -> Self { - nsStyleImageLayers_Position { + // Position, not create a new one + impl From for structs::Position { + fn from(other: position::Position) -> Self { + structs::Position { mXPosition: other.horizontal.into(), mYPosition: other.vertical.into() } @@ -214,10 +215,10 @@ pub mod basic_shape { } } - impl> From for Position { + impl> From for position::Position { fn from(other: T) -> Self { let other = other.borrow(); - Position { + position::Position { horizontal: other.mXPosition.into(), vertical: other.mYPosition.into(), } diff --git a/ports/geckolib/gecko_bindings/bindings.rs b/ports/geckolib/gecko_bindings/bindings.rs index 2b208d751d57..6ee617fc5858 100644 --- a/ports/geckolib/gecko_bindings/bindings.rs +++ b/ports/geckolib/gecko_bindings/bindings.rs @@ -342,7 +342,7 @@ extern "C" { pub fn Gecko_NewBasicShape(type_: StyleBasicShapeType) -> *mut StyleBasicShape; pub fn Gecko_FillAllBackgroundLists(layers: *mut nsStyleImageLayers, - maxLen: u32); + max_len: u32); pub fn Gecko_AddRefCalcArbitraryThread(aPtr: *mut Calc); pub fn Gecko_ReleaseCalcArbitraryThread(aPtr: *mut Calc); pub fn Gecko_Construct_nsStyleFont(ptr: *mut nsStyleFont); diff --git a/ports/geckolib/gecko_bindings/structs_debug.rs b/ports/geckolib/gecko_bindings/structs_debug.rs index d86c90fb298c..b777d9a7700c 100644 --- a/ports/geckolib/gecko_bindings/structs_debug.rs +++ b/ports/geckolib/gecko_bindings/structs_debug.rs @@ -1449,7 +1449,6 @@ pub enum nsresult { NS_ERROR_DOM_BLUETOOTH_AUTH_REJECTED = -2140536821, NS_ERROR_SIGNED_APP_MANIFEST_INVALID = -2140471295, NS_ERROR_DOM_ANIM_MISSING_PROPS_ERR = -2140405759, - NS_ERROR_DOM_ANIM_NO_EFFECT_ERR = -2140405758, NS_ERROR_DOM_PUSH_INVALID_REGISTRATION_ERR = -2140340223, NS_ERROR_DOM_PUSH_DENIED_ERR = -2140340222, NS_ERROR_DOM_PUSH_ABORT_ERR = -2140340221, @@ -2111,6 +2110,13 @@ fn bindgen_test_layout_QITableEntry() { assert_eq!(::std::mem::align_of::() , 8usize); } pub enum TileClient { } +pub enum SerializedStructuredCloneBuffer { } +pub enum StructuredCloneData { } +pub enum ClonedMessageData { } +pub enum MessagePortMessage { } +pub enum StructuredCloneReadInfo { } +pub enum SerializedStructuredCloneReadInfo { } +pub enum ObjectStoreCursorResponse { } #[repr(C)] #[derive(Debug, Copy)] pub struct nsTArrayFallibleResult { @@ -2764,6 +2770,14 @@ pub struct nsTHashtable_Iterator { pub _phantom0: ::std::marker::PhantomData, } #[repr(C)] +#[derive(Debug, Copy)] +pub struct VoidPtrHashKey { + pub _base: [u64; 2usize], +} +impl ::std::clone::Clone for VoidPtrHashKey { + fn clone(&self) -> Self { *self } +} +#[repr(C)] pub struct nsDataHashtable; pub enum nsIContentSecurityPolicy { } pub enum nsIDOMDocument { } @@ -2905,6 +2919,7 @@ pub enum nsNodeWeakReference { } pub enum nsDOMMutationObserver { } pub enum ServoNodeData { } pub enum EventListenerManager { } +pub enum AccessibleNode { } pub enum BoxQuadOptions { } pub enum ConvertCoordinateOptions { } pub enum DOMPoint { } @@ -4051,7 +4066,7 @@ pub const eCSSProperty_COUNT_DUMMY2: nsCSSPropertyID = pub const eCSSPropertyAlias_WordWrap: nsCSSPropertyID = nsCSSPropertyID::eCSSProperty_COUNT; pub const eCSSProperty_COUNT_DUMMY3: nsCSSPropertyID = - nsCSSPropertyID::eCSSPropertyAlias_WebkitUserSelect; + nsCSSPropertyID::eCSSPropertyAlias_WebkitMaskSize; pub const eCSSPropertyExtra_no_properties: nsCSSPropertyID = nsCSSPropertyID::eCSSProperty_COUNT_with_aliases; #[repr(i32)] @@ -4232,277 +4247,297 @@ pub enum nsCSSPropertyID { eCSSProperty_marker_mid = 171, eCSSProperty_marker_offset = 172, eCSSProperty_marker_start = 173, - eCSSProperty_mask = 174, - eCSSProperty_mask_type = 175, - eCSSProperty_math_display = 176, - eCSSProperty_math_variant = 177, - eCSSProperty_max_block_size = 178, - eCSSProperty_max_height = 179, - eCSSProperty_max_inline_size = 180, - eCSSProperty_max_width = 181, - eCSSProperty_min_block_size = 182, - eCSSProperty__moz_min_font_size_ratio = 183, - eCSSProperty_min_height = 184, - eCSSProperty_min_inline_size = 185, - eCSSProperty_min_width = 186, - eCSSProperty_mix_blend_mode = 187, - eCSSProperty_object_fit = 188, - eCSSProperty_object_position = 189, - eCSSProperty_offset_block_end = 190, - eCSSProperty_offset_block_start = 191, - eCSSProperty_offset_inline_end = 192, - eCSSProperty_offset_inline_start = 193, - eCSSProperty_opacity = 194, - eCSSProperty_order = 195, - eCSSProperty_orient = 196, - eCSSProperty_osx_font_smoothing = 197, - eCSSProperty_outline_color = 198, - eCSSProperty_outline_offset = 199, - eCSSProperty__moz_outline_radius_bottomLeft = 200, - eCSSProperty__moz_outline_radius_bottomRight = 201, - eCSSProperty__moz_outline_radius_topLeft = 202, - eCSSProperty__moz_outline_radius_topRight = 203, - eCSSProperty_outline_style = 204, - eCSSProperty_outline_width = 205, - eCSSProperty_overflow_clip_box = 206, - eCSSProperty_overflow_x = 207, - eCSSProperty_overflow_y = 208, - eCSSProperty_padding_block_end = 209, - eCSSProperty_padding_block_start = 210, - eCSSProperty_padding_bottom = 211, - eCSSProperty_padding_inline_end = 212, - eCSSProperty_padding_inline_start = 213, - eCSSProperty_padding_left = 214, - eCSSProperty_padding_right = 215, - eCSSProperty_padding_top = 216, - eCSSProperty_page_break_after = 217, - eCSSProperty_page_break_before = 218, - eCSSProperty_page_break_inside = 219, - eCSSProperty_paint_order = 220, - eCSSProperty_perspective = 221, - eCSSProperty_perspective_origin = 222, - eCSSProperty_pointer_events = 223, - eCSSProperty_position = 224, - eCSSProperty_quotes = 225, - eCSSProperty_resize = 226, - eCSSProperty_right = 227, - eCSSProperty_ruby_align = 228, - eCSSProperty_ruby_position = 229, - eCSSProperty_script_level = 230, - eCSSProperty_script_min_size = 231, - eCSSProperty_script_size_multiplier = 232, - eCSSProperty_scroll_behavior = 233, - eCSSProperty_scroll_snap_coordinate = 234, - eCSSProperty_scroll_snap_destination = 235, - eCSSProperty_scroll_snap_points_x = 236, - eCSSProperty_scroll_snap_points_y = 237, - eCSSProperty_scroll_snap_type_x = 238, - eCSSProperty_scroll_snap_type_y = 239, - eCSSProperty_shape_outside = 240, - eCSSProperty_shape_rendering = 241, - eCSSProperty__x_span = 242, - eCSSProperty_stack_sizing = 243, - eCSSProperty_stop_color = 244, - eCSSProperty_stop_opacity = 245, - eCSSProperty_stroke = 246, - eCSSProperty_stroke_dasharray = 247, - eCSSProperty_stroke_dashoffset = 248, - eCSSProperty_stroke_linecap = 249, - eCSSProperty_stroke_linejoin = 250, - eCSSProperty_stroke_miterlimit = 251, - eCSSProperty_stroke_opacity = 252, - eCSSProperty_stroke_width = 253, - eCSSProperty__x_system_font = 254, - eCSSProperty__moz_tab_size = 255, - eCSSProperty_table_layout = 256, - eCSSProperty_text_align = 257, - eCSSProperty_text_align_last = 258, - eCSSProperty_text_anchor = 259, - eCSSProperty_text_combine_upright = 260, - eCSSProperty_text_decoration_color = 261, - eCSSProperty_text_decoration_line = 262, - eCSSProperty_text_decoration_style = 263, - eCSSProperty_text_emphasis_color = 264, - eCSSProperty_text_emphasis_position = 265, - eCSSProperty_text_emphasis_style = 266, - eCSSProperty__webkit_text_fill_color = 267, - eCSSProperty_text_indent = 268, - eCSSProperty_text_orientation = 269, - eCSSProperty_text_overflow = 270, - eCSSProperty_text_rendering = 271, - eCSSProperty_text_shadow = 272, - eCSSProperty_text_size_adjust = 273, - eCSSProperty__webkit_text_stroke_color = 274, - eCSSProperty__webkit_text_stroke_width = 275, - eCSSProperty_text_transform = 276, - eCSSProperty__x_text_zoom = 277, - eCSSProperty_top = 278, - eCSSProperty__moz_top_layer = 279, - eCSSProperty_touch_action = 280, - eCSSProperty_transform = 281, - eCSSProperty_transform_box = 282, - eCSSProperty_transform_origin = 283, - eCSSProperty_transform_style = 284, - eCSSProperty_transition_delay = 285, - eCSSProperty_transition_duration = 286, - eCSSProperty_transition_property = 287, - eCSSProperty_transition_timing_function = 288, - eCSSProperty_unicode_bidi = 289, - eCSSProperty_user_focus = 290, - eCSSProperty_user_input = 291, - eCSSProperty_user_modify = 292, - eCSSProperty_user_select = 293, - eCSSProperty_vector_effect = 294, - eCSSProperty_vertical_align = 295, - eCSSProperty_visibility = 296, - eCSSProperty_white_space = 297, - eCSSProperty_width = 298, - eCSSProperty_will_change = 299, - eCSSProperty__moz_window_dragging = 300, - eCSSProperty__moz_window_shadow = 301, - eCSSProperty_word_break = 302, - eCSSProperty_word_spacing = 303, - eCSSProperty_overflow_wrap = 304, - eCSSProperty_writing_mode = 305, - eCSSProperty_z_index = 306, - eCSSProperty_COUNT_no_shorthands = 307, - eCSSProperty_animation = 308, - eCSSProperty_background = 309, - eCSSProperty_background_position = 310, - eCSSProperty_border = 311, - eCSSProperty_border_block_end = 312, - eCSSProperty_border_block_start = 313, - eCSSProperty_border_bottom = 314, - eCSSProperty_border_color = 315, - eCSSProperty_border_image = 316, - eCSSProperty_border_inline_end = 317, - eCSSProperty_border_inline_start = 318, - eCSSProperty_border_left = 319, - eCSSProperty_border_radius = 320, - eCSSProperty_border_right = 321, - eCSSProperty_border_style = 322, - eCSSProperty_border_top = 323, - eCSSProperty_border_width = 324, - eCSSProperty__moz_column_rule = 325, - eCSSProperty__moz_columns = 326, - eCSSProperty_flex = 327, - eCSSProperty_flex_flow = 328, - eCSSProperty_font = 329, - eCSSProperty_font_variant = 330, - eCSSProperty_grid = 331, - eCSSProperty_grid_area = 332, - eCSSProperty_grid_column = 333, - eCSSProperty_grid_gap = 334, - eCSSProperty_grid_row = 335, - eCSSProperty_grid_template = 336, - eCSSProperty_list_style = 337, - eCSSProperty_margin = 338, - eCSSProperty_marker = 339, - eCSSProperty_outline = 340, - eCSSProperty__moz_outline_radius = 341, - eCSSProperty_overflow = 342, - eCSSProperty_padding = 343, - eCSSProperty_scroll_snap_type = 344, - eCSSProperty_text_decoration = 345, - eCSSProperty_text_emphasis = 346, - eCSSProperty__webkit_text_stroke = 347, - eCSSProperty__moz_transform = 348, - eCSSProperty_transition = 349, - eCSSProperty_COUNT = 350, - eCSSPropertyAlias_MozTransformOrigin = 351, - eCSSPropertyAlias_MozPerspectiveOrigin = 352, - eCSSPropertyAlias_MozPerspective = 353, - eCSSPropertyAlias_MozTransformStyle = 354, - eCSSPropertyAlias_MozBackfaceVisibility = 355, - eCSSPropertyAlias_MozBorderImage = 356, - eCSSPropertyAlias_MozTransition = 357, - eCSSPropertyAlias_MozTransitionDelay = 358, - eCSSPropertyAlias_MozTransitionDuration = 359, - eCSSPropertyAlias_MozTransitionProperty = 360, - eCSSPropertyAlias_MozTransitionTimingFunction = 361, - eCSSPropertyAlias_MozAnimation = 362, - eCSSPropertyAlias_MozAnimationDelay = 363, - eCSSPropertyAlias_MozAnimationDirection = 364, - eCSSPropertyAlias_MozAnimationDuration = 365, - eCSSPropertyAlias_MozAnimationFillMode = 366, - eCSSPropertyAlias_MozAnimationIterationCount = 367, - eCSSPropertyAlias_MozAnimationName = 368, - eCSSPropertyAlias_MozAnimationPlayState = 369, - eCSSPropertyAlias_MozAnimationTimingFunction = 370, - eCSSPropertyAlias_MozBoxSizing = 371, - eCSSPropertyAlias_MozFontFeatureSettings = 372, - eCSSPropertyAlias_MozFontLanguageOverride = 373, - eCSSPropertyAlias_MozPaddingEnd = 374, - eCSSPropertyAlias_MozPaddingStart = 375, - eCSSPropertyAlias_MozMarginEnd = 376, - eCSSPropertyAlias_MozMarginStart = 377, - eCSSPropertyAlias_MozBorderEnd = 378, - eCSSPropertyAlias_MozBorderEndColor = 379, - eCSSPropertyAlias_MozBorderEndStyle = 380, - eCSSPropertyAlias_MozBorderEndWidth = 381, - eCSSPropertyAlias_MozBorderStart = 382, - eCSSPropertyAlias_MozBorderStartColor = 383, - eCSSPropertyAlias_MozBorderStartStyle = 384, - eCSSPropertyAlias_MozBorderStartWidth = 385, - eCSSPropertyAlias_MozHyphens = 386, - eCSSPropertyAlias_MozTextAlignLast = 387, - eCSSPropertyAlias_WebkitAnimation = 388, - eCSSPropertyAlias_WebkitAnimationDelay = 389, - eCSSPropertyAlias_WebkitAnimationDirection = 390, - eCSSPropertyAlias_WebkitAnimationDuration = 391, - eCSSPropertyAlias_WebkitAnimationFillMode = 392, - eCSSPropertyAlias_WebkitAnimationIterationCount = 393, - eCSSPropertyAlias_WebkitAnimationName = 394, - eCSSPropertyAlias_WebkitAnimationPlayState = 395, - eCSSPropertyAlias_WebkitAnimationTimingFunction = 396, - eCSSPropertyAlias_WebkitFilter = 397, - eCSSPropertyAlias_WebkitTextSizeAdjust = 398, - eCSSPropertyAlias_WebkitTransform = 399, - eCSSPropertyAlias_WebkitTransformOrigin = 400, - eCSSPropertyAlias_WebkitTransformStyle = 401, - eCSSPropertyAlias_WebkitBackfaceVisibility = 402, - eCSSPropertyAlias_WebkitPerspective = 403, - eCSSPropertyAlias_WebkitPerspectiveOrigin = 404, - eCSSPropertyAlias_WebkitTransition = 405, - eCSSPropertyAlias_WebkitTransitionDelay = 406, - eCSSPropertyAlias_WebkitTransitionDuration = 407, - eCSSPropertyAlias_WebkitTransitionProperty = 408, - eCSSPropertyAlias_WebkitTransitionTimingFunction = 409, - eCSSPropertyAlias_WebkitBorderRadius = 410, - eCSSPropertyAlias_WebkitBorderTopLeftRadius = 411, - eCSSPropertyAlias_WebkitBorderTopRightRadius = 412, - eCSSPropertyAlias_WebkitBorderBottomLeftRadius = 413, - eCSSPropertyAlias_WebkitBorderBottomRightRadius = 414, - eCSSPropertyAlias_WebkitBackgroundClip = 415, - eCSSPropertyAlias_WebkitBackgroundOrigin = 416, - eCSSPropertyAlias_WebkitBackgroundSize = 417, - eCSSPropertyAlias_WebkitBorderImage = 418, - eCSSPropertyAlias_WebkitBoxShadow = 419, - eCSSPropertyAlias_WebkitBoxSizing = 420, - eCSSPropertyAlias_WebkitBoxFlex = 421, - eCSSPropertyAlias_WebkitBoxOrdinalGroup = 422, - eCSSPropertyAlias_WebkitBoxOrient = 423, - eCSSPropertyAlias_WebkitBoxDirection = 424, - eCSSPropertyAlias_WebkitBoxAlign = 425, - eCSSPropertyAlias_WebkitBoxPack = 426, - eCSSPropertyAlias_WebkitFlexDirection = 427, - eCSSPropertyAlias_WebkitFlexWrap = 428, - eCSSPropertyAlias_WebkitFlexFlow = 429, - eCSSPropertyAlias_WebkitOrder = 430, - eCSSPropertyAlias_WebkitFlex = 431, - eCSSPropertyAlias_WebkitFlexGrow = 432, - eCSSPropertyAlias_WebkitFlexShrink = 433, - eCSSPropertyAlias_WebkitFlexBasis = 434, - eCSSPropertyAlias_WebkitJustifyContent = 435, - eCSSPropertyAlias_WebkitAlignItems = 436, - eCSSPropertyAlias_WebkitAlignSelf = 437, - eCSSPropertyAlias_WebkitAlignContent = 438, - eCSSPropertyAlias_WebkitUserSelect = 439, - eCSSProperty_COUNT_with_aliases = 440, - eCSSPropertyExtra_all_properties = 441, - eCSSPropertyExtra_x_none_value = 442, - eCSSPropertyExtra_x_auto_value = 443, - eCSSPropertyExtra_variable = 444, + eCSSProperty_mask_clip = 174, + eCSSProperty_mask_composite = 175, + eCSSProperty_mask_image = 176, + eCSSProperty_mask_mode = 177, + eCSSProperty_mask_origin = 178, + eCSSProperty_mask_position_x = 179, + eCSSProperty_mask_position_y = 180, + eCSSProperty_mask_repeat = 181, + eCSSProperty_mask_size = 182, + eCSSProperty_mask_type = 183, + eCSSProperty_math_display = 184, + eCSSProperty_math_variant = 185, + eCSSProperty_max_block_size = 186, + eCSSProperty_max_height = 187, + eCSSProperty_max_inline_size = 188, + eCSSProperty_max_width = 189, + eCSSProperty_min_block_size = 190, + eCSSProperty__moz_min_font_size_ratio = 191, + eCSSProperty_min_height = 192, + eCSSProperty_min_inline_size = 193, + eCSSProperty_min_width = 194, + eCSSProperty_mix_blend_mode = 195, + eCSSProperty_object_fit = 196, + eCSSProperty_object_position = 197, + eCSSProperty_offset_block_end = 198, + eCSSProperty_offset_block_start = 199, + eCSSProperty_offset_inline_end = 200, + eCSSProperty_offset_inline_start = 201, + eCSSProperty_opacity = 202, + eCSSProperty_order = 203, + eCSSProperty_orient = 204, + eCSSProperty_osx_font_smoothing = 205, + eCSSProperty_outline_color = 206, + eCSSProperty_outline_offset = 207, + eCSSProperty__moz_outline_radius_bottomLeft = 208, + eCSSProperty__moz_outline_radius_bottomRight = 209, + eCSSProperty__moz_outline_radius_topLeft = 210, + eCSSProperty__moz_outline_radius_topRight = 211, + eCSSProperty_outline_style = 212, + eCSSProperty_outline_width = 213, + eCSSProperty_overflow_clip_box = 214, + eCSSProperty_overflow_x = 215, + eCSSProperty_overflow_y = 216, + eCSSProperty_padding_block_end = 217, + eCSSProperty_padding_block_start = 218, + eCSSProperty_padding_bottom = 219, + eCSSProperty_padding_inline_end = 220, + eCSSProperty_padding_inline_start = 221, + eCSSProperty_padding_left = 222, + eCSSProperty_padding_right = 223, + eCSSProperty_padding_top = 224, + eCSSProperty_page_break_after = 225, + eCSSProperty_page_break_before = 226, + eCSSProperty_page_break_inside = 227, + eCSSProperty_paint_order = 228, + eCSSProperty_perspective = 229, + eCSSProperty_perspective_origin = 230, + eCSSProperty_pointer_events = 231, + eCSSProperty_position = 232, + eCSSProperty_quotes = 233, + eCSSProperty_resize = 234, + eCSSProperty_right = 235, + eCSSProperty_ruby_align = 236, + eCSSProperty_ruby_position = 237, + eCSSProperty_script_level = 238, + eCSSProperty_script_min_size = 239, + eCSSProperty_script_size_multiplier = 240, + eCSSProperty_scroll_behavior = 241, + eCSSProperty_scroll_snap_coordinate = 242, + eCSSProperty_scroll_snap_destination = 243, + eCSSProperty_scroll_snap_points_x = 244, + eCSSProperty_scroll_snap_points_y = 245, + eCSSProperty_scroll_snap_type_x = 246, + eCSSProperty_scroll_snap_type_y = 247, + eCSSProperty_shape_outside = 248, + eCSSProperty_shape_rendering = 249, + eCSSProperty__x_span = 250, + eCSSProperty_stack_sizing = 251, + eCSSProperty_stop_color = 252, + eCSSProperty_stop_opacity = 253, + eCSSProperty_stroke = 254, + eCSSProperty_stroke_dasharray = 255, + eCSSProperty_stroke_dashoffset = 256, + eCSSProperty_stroke_linecap = 257, + eCSSProperty_stroke_linejoin = 258, + eCSSProperty_stroke_miterlimit = 259, + eCSSProperty_stroke_opacity = 260, + eCSSProperty_stroke_width = 261, + eCSSProperty__x_system_font = 262, + eCSSProperty__moz_tab_size = 263, + eCSSProperty_table_layout = 264, + eCSSProperty_text_align = 265, + eCSSProperty_text_align_last = 266, + eCSSProperty_text_anchor = 267, + eCSSProperty_text_combine_upright = 268, + eCSSProperty_text_decoration_color = 269, + eCSSProperty_text_decoration_line = 270, + eCSSProperty_text_decoration_style = 271, + eCSSProperty_text_emphasis_color = 272, + eCSSProperty_text_emphasis_position = 273, + eCSSProperty_text_emphasis_style = 274, + eCSSProperty__webkit_text_fill_color = 275, + eCSSProperty_text_indent = 276, + eCSSProperty_text_orientation = 277, + eCSSProperty_text_overflow = 278, + eCSSProperty_text_rendering = 279, + eCSSProperty_text_shadow = 280, + eCSSProperty_text_size_adjust = 281, + eCSSProperty__webkit_text_stroke_color = 282, + eCSSProperty__webkit_text_stroke_width = 283, + eCSSProperty_text_transform = 284, + eCSSProperty__x_text_zoom = 285, + eCSSProperty_top = 286, + eCSSProperty__moz_top_layer = 287, + eCSSProperty_touch_action = 288, + eCSSProperty_transform = 289, + eCSSProperty_transform_box = 290, + eCSSProperty_transform_origin = 291, + eCSSProperty_transform_style = 292, + eCSSProperty_transition_delay = 293, + eCSSProperty_transition_duration = 294, + eCSSProperty_transition_property = 295, + eCSSProperty_transition_timing_function = 296, + eCSSProperty_unicode_bidi = 297, + eCSSProperty_user_focus = 298, + eCSSProperty_user_input = 299, + eCSSProperty_user_modify = 300, + eCSSProperty_user_select = 301, + eCSSProperty_vector_effect = 302, + eCSSProperty_vertical_align = 303, + eCSSProperty_visibility = 304, + eCSSProperty_white_space = 305, + eCSSProperty_width = 306, + eCSSProperty_will_change = 307, + eCSSProperty__moz_window_dragging = 308, + eCSSProperty__moz_window_shadow = 309, + eCSSProperty_word_break = 310, + eCSSProperty_word_spacing = 311, + eCSSProperty_overflow_wrap = 312, + eCSSProperty_writing_mode = 313, + eCSSProperty_z_index = 314, + eCSSProperty_COUNT_no_shorthands = 315, + eCSSProperty_animation = 316, + eCSSProperty_background = 317, + eCSSProperty_background_position = 318, + eCSSProperty_border = 319, + eCSSProperty_border_block_end = 320, + eCSSProperty_border_block_start = 321, + eCSSProperty_border_bottom = 322, + eCSSProperty_border_color = 323, + eCSSProperty_border_image = 324, + eCSSProperty_border_inline_end = 325, + eCSSProperty_border_inline_start = 326, + eCSSProperty_border_left = 327, + eCSSProperty_border_radius = 328, + eCSSProperty_border_right = 329, + eCSSProperty_border_style = 330, + eCSSProperty_border_top = 331, + eCSSProperty_border_width = 332, + eCSSProperty__moz_column_rule = 333, + eCSSProperty__moz_columns = 334, + eCSSProperty_flex = 335, + eCSSProperty_flex_flow = 336, + eCSSProperty_font = 337, + eCSSProperty_font_variant = 338, + eCSSProperty_grid = 339, + eCSSProperty_grid_area = 340, + eCSSProperty_grid_column = 341, + eCSSProperty_grid_gap = 342, + eCSSProperty_grid_row = 343, + eCSSProperty_grid_template = 344, + eCSSProperty_list_style = 345, + eCSSProperty_margin = 346, + eCSSProperty_marker = 347, + eCSSProperty_mask = 348, + eCSSProperty_mask_position = 349, + eCSSProperty_outline = 350, + eCSSProperty__moz_outline_radius = 351, + eCSSProperty_overflow = 352, + eCSSProperty_padding = 353, + eCSSProperty_scroll_snap_type = 354, + eCSSProperty_text_decoration = 355, + eCSSProperty_text_emphasis = 356, + eCSSProperty__webkit_text_stroke = 357, + eCSSProperty__moz_transform = 358, + eCSSProperty_transition = 359, + eCSSProperty_COUNT = 360, + eCSSPropertyAlias_MozTransformOrigin = 361, + eCSSPropertyAlias_MozPerspectiveOrigin = 362, + eCSSPropertyAlias_MozPerspective = 363, + eCSSPropertyAlias_MozTransformStyle = 364, + eCSSPropertyAlias_MozBackfaceVisibility = 365, + eCSSPropertyAlias_MozBorderImage = 366, + eCSSPropertyAlias_MozTransition = 367, + eCSSPropertyAlias_MozTransitionDelay = 368, + eCSSPropertyAlias_MozTransitionDuration = 369, + eCSSPropertyAlias_MozTransitionProperty = 370, + eCSSPropertyAlias_MozTransitionTimingFunction = 371, + eCSSPropertyAlias_MozAnimation = 372, + eCSSPropertyAlias_MozAnimationDelay = 373, + eCSSPropertyAlias_MozAnimationDirection = 374, + eCSSPropertyAlias_MozAnimationDuration = 375, + eCSSPropertyAlias_MozAnimationFillMode = 376, + eCSSPropertyAlias_MozAnimationIterationCount = 377, + eCSSPropertyAlias_MozAnimationName = 378, + eCSSPropertyAlias_MozAnimationPlayState = 379, + eCSSPropertyAlias_MozAnimationTimingFunction = 380, + eCSSPropertyAlias_MozBoxSizing = 381, + eCSSPropertyAlias_MozFontFeatureSettings = 382, + eCSSPropertyAlias_MozFontLanguageOverride = 383, + eCSSPropertyAlias_MozPaddingEnd = 384, + eCSSPropertyAlias_MozPaddingStart = 385, + eCSSPropertyAlias_MozMarginEnd = 386, + eCSSPropertyAlias_MozMarginStart = 387, + eCSSPropertyAlias_MozBorderEnd = 388, + eCSSPropertyAlias_MozBorderEndColor = 389, + eCSSPropertyAlias_MozBorderEndStyle = 390, + eCSSPropertyAlias_MozBorderEndWidth = 391, + eCSSPropertyAlias_MozBorderStart = 392, + eCSSPropertyAlias_MozBorderStartColor = 393, + eCSSPropertyAlias_MozBorderStartStyle = 394, + eCSSPropertyAlias_MozBorderStartWidth = 395, + eCSSPropertyAlias_MozHyphens = 396, + eCSSPropertyAlias_MozTextAlignLast = 397, + eCSSPropertyAlias_WebkitAnimation = 398, + eCSSPropertyAlias_WebkitAnimationDelay = 399, + eCSSPropertyAlias_WebkitAnimationDirection = 400, + eCSSPropertyAlias_WebkitAnimationDuration = 401, + eCSSPropertyAlias_WebkitAnimationFillMode = 402, + eCSSPropertyAlias_WebkitAnimationIterationCount = 403, + eCSSPropertyAlias_WebkitAnimationName = 404, + eCSSPropertyAlias_WebkitAnimationPlayState = 405, + eCSSPropertyAlias_WebkitAnimationTimingFunction = 406, + eCSSPropertyAlias_WebkitFilter = 407, + eCSSPropertyAlias_WebkitTextSizeAdjust = 408, + eCSSPropertyAlias_WebkitTransform = 409, + eCSSPropertyAlias_WebkitTransformOrigin = 410, + eCSSPropertyAlias_WebkitTransformStyle = 411, + eCSSPropertyAlias_WebkitBackfaceVisibility = 412, + eCSSPropertyAlias_WebkitPerspective = 413, + eCSSPropertyAlias_WebkitPerspectiveOrigin = 414, + eCSSPropertyAlias_WebkitTransition = 415, + eCSSPropertyAlias_WebkitTransitionDelay = 416, + eCSSPropertyAlias_WebkitTransitionDuration = 417, + eCSSPropertyAlias_WebkitTransitionProperty = 418, + eCSSPropertyAlias_WebkitTransitionTimingFunction = 419, + eCSSPropertyAlias_WebkitBorderRadius = 420, + eCSSPropertyAlias_WebkitBorderTopLeftRadius = 421, + eCSSPropertyAlias_WebkitBorderTopRightRadius = 422, + eCSSPropertyAlias_WebkitBorderBottomLeftRadius = 423, + eCSSPropertyAlias_WebkitBorderBottomRightRadius = 424, + eCSSPropertyAlias_WebkitBackgroundClip = 425, + eCSSPropertyAlias_WebkitBackgroundOrigin = 426, + eCSSPropertyAlias_WebkitBackgroundSize = 427, + eCSSPropertyAlias_WebkitBorderImage = 428, + eCSSPropertyAlias_WebkitBoxShadow = 429, + eCSSPropertyAlias_WebkitBoxSizing = 430, + eCSSPropertyAlias_WebkitBoxFlex = 431, + eCSSPropertyAlias_WebkitBoxOrdinalGroup = 432, + eCSSPropertyAlias_WebkitBoxOrient = 433, + eCSSPropertyAlias_WebkitBoxDirection = 434, + eCSSPropertyAlias_WebkitBoxAlign = 435, + eCSSPropertyAlias_WebkitBoxPack = 436, + eCSSPropertyAlias_WebkitFlexDirection = 437, + eCSSPropertyAlias_WebkitFlexWrap = 438, + eCSSPropertyAlias_WebkitFlexFlow = 439, + eCSSPropertyAlias_WebkitOrder = 440, + eCSSPropertyAlias_WebkitFlex = 441, + eCSSPropertyAlias_WebkitFlexGrow = 442, + eCSSPropertyAlias_WebkitFlexShrink = 443, + eCSSPropertyAlias_WebkitFlexBasis = 444, + eCSSPropertyAlias_WebkitJustifyContent = 445, + eCSSPropertyAlias_WebkitAlignItems = 446, + eCSSPropertyAlias_WebkitAlignSelf = 447, + eCSSPropertyAlias_WebkitAlignContent = 448, + eCSSPropertyAlias_WebkitUserSelect = 449, + eCSSPropertyAlias_WebkitMask = 450, + eCSSPropertyAlias_WebkitMaskClip = 451, + eCSSPropertyAlias_WebkitMaskComposite = 452, + eCSSPropertyAlias_WebkitMaskImage = 453, + eCSSPropertyAlias_WebkitMaskOrigin = 454, + eCSSPropertyAlias_WebkitMaskPosition = 455, + eCSSPropertyAlias_WebkitMaskPositionX = 456, + eCSSPropertyAlias_WebkitMaskPositionY = 457, + eCSSPropertyAlias_WebkitMaskRepeat = 458, + eCSSPropertyAlias_WebkitMaskSize = 459, + eCSSProperty_COUNT_with_aliases = 460, + eCSSPropertyExtra_all_properties = 461, + eCSSPropertyExtra_x_none_value = 462, + eCSSPropertyExtra_x_auto_value = 463, + eCSSPropertyExtra_variable = 464, } #[repr(i32)] #[derive(Debug, Copy, Clone, Eq, PartialEq, Hash)] @@ -5530,6 +5565,20 @@ fn bindgen_test_layout_FragmentOrURL() { assert_eq!(::std::mem::align_of::() , 8usize); } #[repr(C)] +#[derive(Debug, Copy)] +pub struct Position { + pub mXPosition: nsStyleCoord_CalcValue, + pub mYPosition: nsStyleCoord_CalcValue, +} +impl ::std::clone::Clone for Position { + fn clone(&self) -> Self { *self } +} +#[test] +fn bindgen_test_layout_Position() { + assert_eq!(::std::mem::size_of::() , 24usize); + assert_eq!(::std::mem::align_of::() , 4usize); +} +#[repr(C)] pub struct nsStyleFont { pub mFont: nsFont, pub mSize: nscoord, @@ -5718,22 +5767,6 @@ pub enum nsStyleImageLayers_nsStyleStruct_h_unnamed_22 { pub enum nsStyleImageLayers_LayerType { Background = 0, Mask = 1, } #[repr(C)] #[derive(Debug, Copy)] -pub struct nsStyleImageLayers_Position { - pub mXPosition: nsStyleCoord_CalcValue, - pub mYPosition: nsStyleCoord_CalcValue, -} -impl ::std::clone::Clone for nsStyleImageLayers_Position { - fn clone(&self) -> Self { *self } -} -#[test] -fn bindgen_test_layout_nsStyleImageLayers_Position() { - assert_eq!(::std::mem::size_of::() , - 24usize); - assert_eq!(::std::mem::align_of::() , - 4usize); -} -#[repr(C)] -#[derive(Debug, Copy)] pub struct nsStyleImageLayers_Size { pub mWidth: nsStyleImageLayers_Size_Dimension, pub mHeight: nsStyleImageLayers_Size_Dimension, @@ -5790,7 +5823,7 @@ fn bindgen_test_layout_nsStyleImageLayers_Repeat() { pub struct nsStyleImageLayers_Layer { pub mImage: nsStyleImage, pub mSourceURI: FragmentOrURL, - pub mPosition: nsStyleImageLayers_Position, + pub mPosition: Position, pub mSize: nsStyleImageLayers_Size, pub mClip: u8, pub mOrigin: u8, @@ -6026,7 +6059,7 @@ fn bindgen_test_layout_nsStyleGridTemplate() { #[repr(C)] #[derive(Debug)] pub struct nsStylePosition { - pub mObjectPosition: nsStyleImageLayers_Position, + pub mObjectPosition: Position, pub mOffset: nsStyleSides, pub mWidth: nsStyleCoord, pub mMinWidth: nsStyleCoord, @@ -6379,7 +6412,7 @@ pub struct StyleBasicShape { pub mType: StyleBasicShapeType, pub mFillRule: StyleFillRule, pub mCoordinates: nsTArray, - pub mPosition: nsStyleImageLayers_Position, + pub mPosition: Position, pub mRadius: nsStyleCorners, } #[test] @@ -6444,8 +6477,8 @@ pub struct nsStyleDisplay { pub mScrollSnapTypeY: u8, pub mScrollSnapPointsX: nsStyleCoord, pub mScrollSnapPointsY: nsStyleCoord, - pub mScrollSnapDestination: nsStyleImageLayers_Position, - pub mScrollSnapCoordinate: nsTArray, + pub mScrollSnapDestination: Position, + pub mScrollSnapCoordinate: nsTArray, pub mBackfaceVisibility: u8, pub mTransformStyle: u8, pub mTransformBox: u8, diff --git a/ports/geckolib/gecko_bindings/structs_release.rs b/ports/geckolib/gecko_bindings/structs_release.rs index 755b0a02452f..1749e2ad8e09 100644 --- a/ports/geckolib/gecko_bindings/structs_release.rs +++ b/ports/geckolib/gecko_bindings/structs_release.rs @@ -1449,7 +1449,6 @@ pub enum nsresult { NS_ERROR_DOM_BLUETOOTH_AUTH_REJECTED = -2140536821, NS_ERROR_SIGNED_APP_MANIFEST_INVALID = -2140471295, NS_ERROR_DOM_ANIM_MISSING_PROPS_ERR = -2140405759, - NS_ERROR_DOM_ANIM_NO_EFFECT_ERR = -2140405758, NS_ERROR_DOM_PUSH_INVALID_REGISTRATION_ERR = -2140340223, NS_ERROR_DOM_PUSH_DENIED_ERR = -2140340222, NS_ERROR_DOM_PUSH_ABORT_ERR = -2140340221, @@ -2111,6 +2110,13 @@ fn bindgen_test_layout_QITableEntry() { assert_eq!(::std::mem::align_of::() , 8usize); } pub enum TileClient { } +pub enum SerializedStructuredCloneBuffer { } +pub enum StructuredCloneData { } +pub enum ClonedMessageData { } +pub enum MessagePortMessage { } +pub enum StructuredCloneReadInfo { } +pub enum SerializedStructuredCloneReadInfo { } +pub enum ObjectStoreCursorResponse { } #[repr(C)] #[derive(Debug, Copy)] pub struct nsTArrayFallibleResult { @@ -2743,6 +2749,14 @@ pub struct nsTHashtable_Iterator { pub _phantom0: ::std::marker::PhantomData, } #[repr(C)] +#[derive(Debug, Copy)] +pub struct VoidPtrHashKey { + pub _base: [u64; 2usize], +} +impl ::std::clone::Clone for VoidPtrHashKey { + fn clone(&self) -> Self { *self } +} +#[repr(C)] pub struct nsDataHashtable; pub enum nsIContentSecurityPolicy { } pub enum nsIDOMDocument { } @@ -2884,6 +2898,7 @@ pub enum nsNodeWeakReference { } pub enum nsDOMMutationObserver { } pub enum ServoNodeData { } pub enum EventListenerManager { } +pub enum AccessibleNode { } pub enum BoxQuadOptions { } pub enum ConvertCoordinateOptions { } pub enum DOMPoint { } @@ -4030,7 +4045,7 @@ pub const eCSSProperty_COUNT_DUMMY2: nsCSSPropertyID = pub const eCSSPropertyAlias_WordWrap: nsCSSPropertyID = nsCSSPropertyID::eCSSProperty_COUNT; pub const eCSSProperty_COUNT_DUMMY3: nsCSSPropertyID = - nsCSSPropertyID::eCSSPropertyAlias_WebkitUserSelect; + nsCSSPropertyID::eCSSPropertyAlias_WebkitMaskSize; pub const eCSSPropertyExtra_no_properties: nsCSSPropertyID = nsCSSPropertyID::eCSSProperty_COUNT_with_aliases; #[repr(i32)] @@ -4211,277 +4226,297 @@ pub enum nsCSSPropertyID { eCSSProperty_marker_mid = 171, eCSSProperty_marker_offset = 172, eCSSProperty_marker_start = 173, - eCSSProperty_mask = 174, - eCSSProperty_mask_type = 175, - eCSSProperty_math_display = 176, - eCSSProperty_math_variant = 177, - eCSSProperty_max_block_size = 178, - eCSSProperty_max_height = 179, - eCSSProperty_max_inline_size = 180, - eCSSProperty_max_width = 181, - eCSSProperty_min_block_size = 182, - eCSSProperty__moz_min_font_size_ratio = 183, - eCSSProperty_min_height = 184, - eCSSProperty_min_inline_size = 185, - eCSSProperty_min_width = 186, - eCSSProperty_mix_blend_mode = 187, - eCSSProperty_object_fit = 188, - eCSSProperty_object_position = 189, - eCSSProperty_offset_block_end = 190, - eCSSProperty_offset_block_start = 191, - eCSSProperty_offset_inline_end = 192, - eCSSProperty_offset_inline_start = 193, - eCSSProperty_opacity = 194, - eCSSProperty_order = 195, - eCSSProperty_orient = 196, - eCSSProperty_osx_font_smoothing = 197, - eCSSProperty_outline_color = 198, - eCSSProperty_outline_offset = 199, - eCSSProperty__moz_outline_radius_bottomLeft = 200, - eCSSProperty__moz_outline_radius_bottomRight = 201, - eCSSProperty__moz_outline_radius_topLeft = 202, - eCSSProperty__moz_outline_radius_topRight = 203, - eCSSProperty_outline_style = 204, - eCSSProperty_outline_width = 205, - eCSSProperty_overflow_clip_box = 206, - eCSSProperty_overflow_x = 207, - eCSSProperty_overflow_y = 208, - eCSSProperty_padding_block_end = 209, - eCSSProperty_padding_block_start = 210, - eCSSProperty_padding_bottom = 211, - eCSSProperty_padding_inline_end = 212, - eCSSProperty_padding_inline_start = 213, - eCSSProperty_padding_left = 214, - eCSSProperty_padding_right = 215, - eCSSProperty_padding_top = 216, - eCSSProperty_page_break_after = 217, - eCSSProperty_page_break_before = 218, - eCSSProperty_page_break_inside = 219, - eCSSProperty_paint_order = 220, - eCSSProperty_perspective = 221, - eCSSProperty_perspective_origin = 222, - eCSSProperty_pointer_events = 223, - eCSSProperty_position = 224, - eCSSProperty_quotes = 225, - eCSSProperty_resize = 226, - eCSSProperty_right = 227, - eCSSProperty_ruby_align = 228, - eCSSProperty_ruby_position = 229, - eCSSProperty_script_level = 230, - eCSSProperty_script_min_size = 231, - eCSSProperty_script_size_multiplier = 232, - eCSSProperty_scroll_behavior = 233, - eCSSProperty_scroll_snap_coordinate = 234, - eCSSProperty_scroll_snap_destination = 235, - eCSSProperty_scroll_snap_points_x = 236, - eCSSProperty_scroll_snap_points_y = 237, - eCSSProperty_scroll_snap_type_x = 238, - eCSSProperty_scroll_snap_type_y = 239, - eCSSProperty_shape_outside = 240, - eCSSProperty_shape_rendering = 241, - eCSSProperty__x_span = 242, - eCSSProperty_stack_sizing = 243, - eCSSProperty_stop_color = 244, - eCSSProperty_stop_opacity = 245, - eCSSProperty_stroke = 246, - eCSSProperty_stroke_dasharray = 247, - eCSSProperty_stroke_dashoffset = 248, - eCSSProperty_stroke_linecap = 249, - eCSSProperty_stroke_linejoin = 250, - eCSSProperty_stroke_miterlimit = 251, - eCSSProperty_stroke_opacity = 252, - eCSSProperty_stroke_width = 253, - eCSSProperty__x_system_font = 254, - eCSSProperty__moz_tab_size = 255, - eCSSProperty_table_layout = 256, - eCSSProperty_text_align = 257, - eCSSProperty_text_align_last = 258, - eCSSProperty_text_anchor = 259, - eCSSProperty_text_combine_upright = 260, - eCSSProperty_text_decoration_color = 261, - eCSSProperty_text_decoration_line = 262, - eCSSProperty_text_decoration_style = 263, - eCSSProperty_text_emphasis_color = 264, - eCSSProperty_text_emphasis_position = 265, - eCSSProperty_text_emphasis_style = 266, - eCSSProperty__webkit_text_fill_color = 267, - eCSSProperty_text_indent = 268, - eCSSProperty_text_orientation = 269, - eCSSProperty_text_overflow = 270, - eCSSProperty_text_rendering = 271, - eCSSProperty_text_shadow = 272, - eCSSProperty_text_size_adjust = 273, - eCSSProperty__webkit_text_stroke_color = 274, - eCSSProperty__webkit_text_stroke_width = 275, - eCSSProperty_text_transform = 276, - eCSSProperty__x_text_zoom = 277, - eCSSProperty_top = 278, - eCSSProperty__moz_top_layer = 279, - eCSSProperty_touch_action = 280, - eCSSProperty_transform = 281, - eCSSProperty_transform_box = 282, - eCSSProperty_transform_origin = 283, - eCSSProperty_transform_style = 284, - eCSSProperty_transition_delay = 285, - eCSSProperty_transition_duration = 286, - eCSSProperty_transition_property = 287, - eCSSProperty_transition_timing_function = 288, - eCSSProperty_unicode_bidi = 289, - eCSSProperty_user_focus = 290, - eCSSProperty_user_input = 291, - eCSSProperty_user_modify = 292, - eCSSProperty_user_select = 293, - eCSSProperty_vector_effect = 294, - eCSSProperty_vertical_align = 295, - eCSSProperty_visibility = 296, - eCSSProperty_white_space = 297, - eCSSProperty_width = 298, - eCSSProperty_will_change = 299, - eCSSProperty__moz_window_dragging = 300, - eCSSProperty__moz_window_shadow = 301, - eCSSProperty_word_break = 302, - eCSSProperty_word_spacing = 303, - eCSSProperty_overflow_wrap = 304, - eCSSProperty_writing_mode = 305, - eCSSProperty_z_index = 306, - eCSSProperty_COUNT_no_shorthands = 307, - eCSSProperty_animation = 308, - eCSSProperty_background = 309, - eCSSProperty_background_position = 310, - eCSSProperty_border = 311, - eCSSProperty_border_block_end = 312, - eCSSProperty_border_block_start = 313, - eCSSProperty_border_bottom = 314, - eCSSProperty_border_color = 315, - eCSSProperty_border_image = 316, - eCSSProperty_border_inline_end = 317, - eCSSProperty_border_inline_start = 318, - eCSSProperty_border_left = 319, - eCSSProperty_border_radius = 320, - eCSSProperty_border_right = 321, - eCSSProperty_border_style = 322, - eCSSProperty_border_top = 323, - eCSSProperty_border_width = 324, - eCSSProperty__moz_column_rule = 325, - eCSSProperty__moz_columns = 326, - eCSSProperty_flex = 327, - eCSSProperty_flex_flow = 328, - eCSSProperty_font = 329, - eCSSProperty_font_variant = 330, - eCSSProperty_grid = 331, - eCSSProperty_grid_area = 332, - eCSSProperty_grid_column = 333, - eCSSProperty_grid_gap = 334, - eCSSProperty_grid_row = 335, - eCSSProperty_grid_template = 336, - eCSSProperty_list_style = 337, - eCSSProperty_margin = 338, - eCSSProperty_marker = 339, - eCSSProperty_outline = 340, - eCSSProperty__moz_outline_radius = 341, - eCSSProperty_overflow = 342, - eCSSProperty_padding = 343, - eCSSProperty_scroll_snap_type = 344, - eCSSProperty_text_decoration = 345, - eCSSProperty_text_emphasis = 346, - eCSSProperty__webkit_text_stroke = 347, - eCSSProperty__moz_transform = 348, - eCSSProperty_transition = 349, - eCSSProperty_COUNT = 350, - eCSSPropertyAlias_MozTransformOrigin = 351, - eCSSPropertyAlias_MozPerspectiveOrigin = 352, - eCSSPropertyAlias_MozPerspective = 353, - eCSSPropertyAlias_MozTransformStyle = 354, - eCSSPropertyAlias_MozBackfaceVisibility = 355, - eCSSPropertyAlias_MozBorderImage = 356, - eCSSPropertyAlias_MozTransition = 357, - eCSSPropertyAlias_MozTransitionDelay = 358, - eCSSPropertyAlias_MozTransitionDuration = 359, - eCSSPropertyAlias_MozTransitionProperty = 360, - eCSSPropertyAlias_MozTransitionTimingFunction = 361, - eCSSPropertyAlias_MozAnimation = 362, - eCSSPropertyAlias_MozAnimationDelay = 363, - eCSSPropertyAlias_MozAnimationDirection = 364, - eCSSPropertyAlias_MozAnimationDuration = 365, - eCSSPropertyAlias_MozAnimationFillMode = 366, - eCSSPropertyAlias_MozAnimationIterationCount = 367, - eCSSPropertyAlias_MozAnimationName = 368, - eCSSPropertyAlias_MozAnimationPlayState = 369, - eCSSPropertyAlias_MozAnimationTimingFunction = 370, - eCSSPropertyAlias_MozBoxSizing = 371, - eCSSPropertyAlias_MozFontFeatureSettings = 372, - eCSSPropertyAlias_MozFontLanguageOverride = 373, - eCSSPropertyAlias_MozPaddingEnd = 374, - eCSSPropertyAlias_MozPaddingStart = 375, - eCSSPropertyAlias_MozMarginEnd = 376, - eCSSPropertyAlias_MozMarginStart = 377, - eCSSPropertyAlias_MozBorderEnd = 378, - eCSSPropertyAlias_MozBorderEndColor = 379, - eCSSPropertyAlias_MozBorderEndStyle = 380, - eCSSPropertyAlias_MozBorderEndWidth = 381, - eCSSPropertyAlias_MozBorderStart = 382, - eCSSPropertyAlias_MozBorderStartColor = 383, - eCSSPropertyAlias_MozBorderStartStyle = 384, - eCSSPropertyAlias_MozBorderStartWidth = 385, - eCSSPropertyAlias_MozHyphens = 386, - eCSSPropertyAlias_MozTextAlignLast = 387, - eCSSPropertyAlias_WebkitAnimation = 388, - eCSSPropertyAlias_WebkitAnimationDelay = 389, - eCSSPropertyAlias_WebkitAnimationDirection = 390, - eCSSPropertyAlias_WebkitAnimationDuration = 391, - eCSSPropertyAlias_WebkitAnimationFillMode = 392, - eCSSPropertyAlias_WebkitAnimationIterationCount = 393, - eCSSPropertyAlias_WebkitAnimationName = 394, - eCSSPropertyAlias_WebkitAnimationPlayState = 395, - eCSSPropertyAlias_WebkitAnimationTimingFunction = 396, - eCSSPropertyAlias_WebkitFilter = 397, - eCSSPropertyAlias_WebkitTextSizeAdjust = 398, - eCSSPropertyAlias_WebkitTransform = 399, - eCSSPropertyAlias_WebkitTransformOrigin = 400, - eCSSPropertyAlias_WebkitTransformStyle = 401, - eCSSPropertyAlias_WebkitBackfaceVisibility = 402, - eCSSPropertyAlias_WebkitPerspective = 403, - eCSSPropertyAlias_WebkitPerspectiveOrigin = 404, - eCSSPropertyAlias_WebkitTransition = 405, - eCSSPropertyAlias_WebkitTransitionDelay = 406, - eCSSPropertyAlias_WebkitTransitionDuration = 407, - eCSSPropertyAlias_WebkitTransitionProperty = 408, - eCSSPropertyAlias_WebkitTransitionTimingFunction = 409, - eCSSPropertyAlias_WebkitBorderRadius = 410, - eCSSPropertyAlias_WebkitBorderTopLeftRadius = 411, - eCSSPropertyAlias_WebkitBorderTopRightRadius = 412, - eCSSPropertyAlias_WebkitBorderBottomLeftRadius = 413, - eCSSPropertyAlias_WebkitBorderBottomRightRadius = 414, - eCSSPropertyAlias_WebkitBackgroundClip = 415, - eCSSPropertyAlias_WebkitBackgroundOrigin = 416, - eCSSPropertyAlias_WebkitBackgroundSize = 417, - eCSSPropertyAlias_WebkitBorderImage = 418, - eCSSPropertyAlias_WebkitBoxShadow = 419, - eCSSPropertyAlias_WebkitBoxSizing = 420, - eCSSPropertyAlias_WebkitBoxFlex = 421, - eCSSPropertyAlias_WebkitBoxOrdinalGroup = 422, - eCSSPropertyAlias_WebkitBoxOrient = 423, - eCSSPropertyAlias_WebkitBoxDirection = 424, - eCSSPropertyAlias_WebkitBoxAlign = 425, - eCSSPropertyAlias_WebkitBoxPack = 426, - eCSSPropertyAlias_WebkitFlexDirection = 427, - eCSSPropertyAlias_WebkitFlexWrap = 428, - eCSSPropertyAlias_WebkitFlexFlow = 429, - eCSSPropertyAlias_WebkitOrder = 430, - eCSSPropertyAlias_WebkitFlex = 431, - eCSSPropertyAlias_WebkitFlexGrow = 432, - eCSSPropertyAlias_WebkitFlexShrink = 433, - eCSSPropertyAlias_WebkitFlexBasis = 434, - eCSSPropertyAlias_WebkitJustifyContent = 435, - eCSSPropertyAlias_WebkitAlignItems = 436, - eCSSPropertyAlias_WebkitAlignSelf = 437, - eCSSPropertyAlias_WebkitAlignContent = 438, - eCSSPropertyAlias_WebkitUserSelect = 439, - eCSSProperty_COUNT_with_aliases = 440, - eCSSPropertyExtra_all_properties = 441, - eCSSPropertyExtra_x_none_value = 442, - eCSSPropertyExtra_x_auto_value = 443, - eCSSPropertyExtra_variable = 444, + eCSSProperty_mask_clip = 174, + eCSSProperty_mask_composite = 175, + eCSSProperty_mask_image = 176, + eCSSProperty_mask_mode = 177, + eCSSProperty_mask_origin = 178, + eCSSProperty_mask_position_x = 179, + eCSSProperty_mask_position_y = 180, + eCSSProperty_mask_repeat = 181, + eCSSProperty_mask_size = 182, + eCSSProperty_mask_type = 183, + eCSSProperty_math_display = 184, + eCSSProperty_math_variant = 185, + eCSSProperty_max_block_size = 186, + eCSSProperty_max_height = 187, + eCSSProperty_max_inline_size = 188, + eCSSProperty_max_width = 189, + eCSSProperty_min_block_size = 190, + eCSSProperty__moz_min_font_size_ratio = 191, + eCSSProperty_min_height = 192, + eCSSProperty_min_inline_size = 193, + eCSSProperty_min_width = 194, + eCSSProperty_mix_blend_mode = 195, + eCSSProperty_object_fit = 196, + eCSSProperty_object_position = 197, + eCSSProperty_offset_block_end = 198, + eCSSProperty_offset_block_start = 199, + eCSSProperty_offset_inline_end = 200, + eCSSProperty_offset_inline_start = 201, + eCSSProperty_opacity = 202, + eCSSProperty_order = 203, + eCSSProperty_orient = 204, + eCSSProperty_osx_font_smoothing = 205, + eCSSProperty_outline_color = 206, + eCSSProperty_outline_offset = 207, + eCSSProperty__moz_outline_radius_bottomLeft = 208, + eCSSProperty__moz_outline_radius_bottomRight = 209, + eCSSProperty__moz_outline_radius_topLeft = 210, + eCSSProperty__moz_outline_radius_topRight = 211, + eCSSProperty_outline_style = 212, + eCSSProperty_outline_width = 213, + eCSSProperty_overflow_clip_box = 214, + eCSSProperty_overflow_x = 215, + eCSSProperty_overflow_y = 216, + eCSSProperty_padding_block_end = 217, + eCSSProperty_padding_block_start = 218, + eCSSProperty_padding_bottom = 219, + eCSSProperty_padding_inline_end = 220, + eCSSProperty_padding_inline_start = 221, + eCSSProperty_padding_left = 222, + eCSSProperty_padding_right = 223, + eCSSProperty_padding_top = 224, + eCSSProperty_page_break_after = 225, + eCSSProperty_page_break_before = 226, + eCSSProperty_page_break_inside = 227, + eCSSProperty_paint_order = 228, + eCSSProperty_perspective = 229, + eCSSProperty_perspective_origin = 230, + eCSSProperty_pointer_events = 231, + eCSSProperty_position = 232, + eCSSProperty_quotes = 233, + eCSSProperty_resize = 234, + eCSSProperty_right = 235, + eCSSProperty_ruby_align = 236, + eCSSProperty_ruby_position = 237, + eCSSProperty_script_level = 238, + eCSSProperty_script_min_size = 239, + eCSSProperty_script_size_multiplier = 240, + eCSSProperty_scroll_behavior = 241, + eCSSProperty_scroll_snap_coordinate = 242, + eCSSProperty_scroll_snap_destination = 243, + eCSSProperty_scroll_snap_points_x = 244, + eCSSProperty_scroll_snap_points_y = 245, + eCSSProperty_scroll_snap_type_x = 246, + eCSSProperty_scroll_snap_type_y = 247, + eCSSProperty_shape_outside = 248, + eCSSProperty_shape_rendering = 249, + eCSSProperty__x_span = 250, + eCSSProperty_stack_sizing = 251, + eCSSProperty_stop_color = 252, + eCSSProperty_stop_opacity = 253, + eCSSProperty_stroke = 254, + eCSSProperty_stroke_dasharray = 255, + eCSSProperty_stroke_dashoffset = 256, + eCSSProperty_stroke_linecap = 257, + eCSSProperty_stroke_linejoin = 258, + eCSSProperty_stroke_miterlimit = 259, + eCSSProperty_stroke_opacity = 260, + eCSSProperty_stroke_width = 261, + eCSSProperty__x_system_font = 262, + eCSSProperty__moz_tab_size = 263, + eCSSProperty_table_layout = 264, + eCSSProperty_text_align = 265, + eCSSProperty_text_align_last = 266, + eCSSProperty_text_anchor = 267, + eCSSProperty_text_combine_upright = 268, + eCSSProperty_text_decoration_color = 269, + eCSSProperty_text_decoration_line = 270, + eCSSProperty_text_decoration_style = 271, + eCSSProperty_text_emphasis_color = 272, + eCSSProperty_text_emphasis_position = 273, + eCSSProperty_text_emphasis_style = 274, + eCSSProperty__webkit_text_fill_color = 275, + eCSSProperty_text_indent = 276, + eCSSProperty_text_orientation = 277, + eCSSProperty_text_overflow = 278, + eCSSProperty_text_rendering = 279, + eCSSProperty_text_shadow = 280, + eCSSProperty_text_size_adjust = 281, + eCSSProperty__webkit_text_stroke_color = 282, + eCSSProperty__webkit_text_stroke_width = 283, + eCSSProperty_text_transform = 284, + eCSSProperty__x_text_zoom = 285, + eCSSProperty_top = 286, + eCSSProperty__moz_top_layer = 287, + eCSSProperty_touch_action = 288, + eCSSProperty_transform = 289, + eCSSProperty_transform_box = 290, + eCSSProperty_transform_origin = 291, + eCSSProperty_transform_style = 292, + eCSSProperty_transition_delay = 293, + eCSSProperty_transition_duration = 294, + eCSSProperty_transition_property = 295, + eCSSProperty_transition_timing_function = 296, + eCSSProperty_unicode_bidi = 297, + eCSSProperty_user_focus = 298, + eCSSProperty_user_input = 299, + eCSSProperty_user_modify = 300, + eCSSProperty_user_select = 301, + eCSSProperty_vector_effect = 302, + eCSSProperty_vertical_align = 303, + eCSSProperty_visibility = 304, + eCSSProperty_white_space = 305, + eCSSProperty_width = 306, + eCSSProperty_will_change = 307, + eCSSProperty__moz_window_dragging = 308, + eCSSProperty__moz_window_shadow = 309, + eCSSProperty_word_break = 310, + eCSSProperty_word_spacing = 311, + eCSSProperty_overflow_wrap = 312, + eCSSProperty_writing_mode = 313, + eCSSProperty_z_index = 314, + eCSSProperty_COUNT_no_shorthands = 315, + eCSSProperty_animation = 316, + eCSSProperty_background = 317, + eCSSProperty_background_position = 318, + eCSSProperty_border = 319, + eCSSProperty_border_block_end = 320, + eCSSProperty_border_block_start = 321, + eCSSProperty_border_bottom = 322, + eCSSProperty_border_color = 323, + eCSSProperty_border_image = 324, + eCSSProperty_border_inline_end = 325, + eCSSProperty_border_inline_start = 326, + eCSSProperty_border_left = 327, + eCSSProperty_border_radius = 328, + eCSSProperty_border_right = 329, + eCSSProperty_border_style = 330, + eCSSProperty_border_top = 331, + eCSSProperty_border_width = 332, + eCSSProperty__moz_column_rule = 333, + eCSSProperty__moz_columns = 334, + eCSSProperty_flex = 335, + eCSSProperty_flex_flow = 336, + eCSSProperty_font = 337, + eCSSProperty_font_variant = 338, + eCSSProperty_grid = 339, + eCSSProperty_grid_area = 340, + eCSSProperty_grid_column = 341, + eCSSProperty_grid_gap = 342, + eCSSProperty_grid_row = 343, + eCSSProperty_grid_template = 344, + eCSSProperty_list_style = 345, + eCSSProperty_margin = 346, + eCSSProperty_marker = 347, + eCSSProperty_mask = 348, + eCSSProperty_mask_position = 349, + eCSSProperty_outline = 350, + eCSSProperty__moz_outline_radius = 351, + eCSSProperty_overflow = 352, + eCSSProperty_padding = 353, + eCSSProperty_scroll_snap_type = 354, + eCSSProperty_text_decoration = 355, + eCSSProperty_text_emphasis = 356, + eCSSProperty__webkit_text_stroke = 357, + eCSSProperty__moz_transform = 358, + eCSSProperty_transition = 359, + eCSSProperty_COUNT = 360, + eCSSPropertyAlias_MozTransformOrigin = 361, + eCSSPropertyAlias_MozPerspectiveOrigin = 362, + eCSSPropertyAlias_MozPerspective = 363, + eCSSPropertyAlias_MozTransformStyle = 364, + eCSSPropertyAlias_MozBackfaceVisibility = 365, + eCSSPropertyAlias_MozBorderImage = 366, + eCSSPropertyAlias_MozTransition = 367, + eCSSPropertyAlias_MozTransitionDelay = 368, + eCSSPropertyAlias_MozTransitionDuration = 369, + eCSSPropertyAlias_MozTransitionProperty = 370, + eCSSPropertyAlias_MozTransitionTimingFunction = 371, + eCSSPropertyAlias_MozAnimation = 372, + eCSSPropertyAlias_MozAnimationDelay = 373, + eCSSPropertyAlias_MozAnimationDirection = 374, + eCSSPropertyAlias_MozAnimationDuration = 375, + eCSSPropertyAlias_MozAnimationFillMode = 376, + eCSSPropertyAlias_MozAnimationIterationCount = 377, + eCSSPropertyAlias_MozAnimationName = 378, + eCSSPropertyAlias_MozAnimationPlayState = 379, + eCSSPropertyAlias_MozAnimationTimingFunction = 380, + eCSSPropertyAlias_MozBoxSizing = 381, + eCSSPropertyAlias_MozFontFeatureSettings = 382, + eCSSPropertyAlias_MozFontLanguageOverride = 383, + eCSSPropertyAlias_MozPaddingEnd = 384, + eCSSPropertyAlias_MozPaddingStart = 385, + eCSSPropertyAlias_MozMarginEnd = 386, + eCSSPropertyAlias_MozMarginStart = 387, + eCSSPropertyAlias_MozBorderEnd = 388, + eCSSPropertyAlias_MozBorderEndColor = 389, + eCSSPropertyAlias_MozBorderEndStyle = 390, + eCSSPropertyAlias_MozBorderEndWidth = 391, + eCSSPropertyAlias_MozBorderStart = 392, + eCSSPropertyAlias_MozBorderStartColor = 393, + eCSSPropertyAlias_MozBorderStartStyle = 394, + eCSSPropertyAlias_MozBorderStartWidth = 395, + eCSSPropertyAlias_MozHyphens = 396, + eCSSPropertyAlias_MozTextAlignLast = 397, + eCSSPropertyAlias_WebkitAnimation = 398, + eCSSPropertyAlias_WebkitAnimationDelay = 399, + eCSSPropertyAlias_WebkitAnimationDirection = 400, + eCSSPropertyAlias_WebkitAnimationDuration = 401, + eCSSPropertyAlias_WebkitAnimationFillMode = 402, + eCSSPropertyAlias_WebkitAnimationIterationCount = 403, + eCSSPropertyAlias_WebkitAnimationName = 404, + eCSSPropertyAlias_WebkitAnimationPlayState = 405, + eCSSPropertyAlias_WebkitAnimationTimingFunction = 406, + eCSSPropertyAlias_WebkitFilter = 407, + eCSSPropertyAlias_WebkitTextSizeAdjust = 408, + eCSSPropertyAlias_WebkitTransform = 409, + eCSSPropertyAlias_WebkitTransformOrigin = 410, + eCSSPropertyAlias_WebkitTransformStyle = 411, + eCSSPropertyAlias_WebkitBackfaceVisibility = 412, + eCSSPropertyAlias_WebkitPerspective = 413, + eCSSPropertyAlias_WebkitPerspectiveOrigin = 414, + eCSSPropertyAlias_WebkitTransition = 415, + eCSSPropertyAlias_WebkitTransitionDelay = 416, + eCSSPropertyAlias_WebkitTransitionDuration = 417, + eCSSPropertyAlias_WebkitTransitionProperty = 418, + eCSSPropertyAlias_WebkitTransitionTimingFunction = 419, + eCSSPropertyAlias_WebkitBorderRadius = 420, + eCSSPropertyAlias_WebkitBorderTopLeftRadius = 421, + eCSSPropertyAlias_WebkitBorderTopRightRadius = 422, + eCSSPropertyAlias_WebkitBorderBottomLeftRadius = 423, + eCSSPropertyAlias_WebkitBorderBottomRightRadius = 424, + eCSSPropertyAlias_WebkitBackgroundClip = 425, + eCSSPropertyAlias_WebkitBackgroundOrigin = 426, + eCSSPropertyAlias_WebkitBackgroundSize = 427, + eCSSPropertyAlias_WebkitBorderImage = 428, + eCSSPropertyAlias_WebkitBoxShadow = 429, + eCSSPropertyAlias_WebkitBoxSizing = 430, + eCSSPropertyAlias_WebkitBoxFlex = 431, + eCSSPropertyAlias_WebkitBoxOrdinalGroup = 432, + eCSSPropertyAlias_WebkitBoxOrient = 433, + eCSSPropertyAlias_WebkitBoxDirection = 434, + eCSSPropertyAlias_WebkitBoxAlign = 435, + eCSSPropertyAlias_WebkitBoxPack = 436, + eCSSPropertyAlias_WebkitFlexDirection = 437, + eCSSPropertyAlias_WebkitFlexWrap = 438, + eCSSPropertyAlias_WebkitFlexFlow = 439, + eCSSPropertyAlias_WebkitOrder = 440, + eCSSPropertyAlias_WebkitFlex = 441, + eCSSPropertyAlias_WebkitFlexGrow = 442, + eCSSPropertyAlias_WebkitFlexShrink = 443, + eCSSPropertyAlias_WebkitFlexBasis = 444, + eCSSPropertyAlias_WebkitJustifyContent = 445, + eCSSPropertyAlias_WebkitAlignItems = 446, + eCSSPropertyAlias_WebkitAlignSelf = 447, + eCSSPropertyAlias_WebkitAlignContent = 448, + eCSSPropertyAlias_WebkitUserSelect = 449, + eCSSPropertyAlias_WebkitMask = 450, + eCSSPropertyAlias_WebkitMaskClip = 451, + eCSSPropertyAlias_WebkitMaskComposite = 452, + eCSSPropertyAlias_WebkitMaskImage = 453, + eCSSPropertyAlias_WebkitMaskOrigin = 454, + eCSSPropertyAlias_WebkitMaskPosition = 455, + eCSSPropertyAlias_WebkitMaskPositionX = 456, + eCSSPropertyAlias_WebkitMaskPositionY = 457, + eCSSPropertyAlias_WebkitMaskRepeat = 458, + eCSSPropertyAlias_WebkitMaskSize = 459, + eCSSProperty_COUNT_with_aliases = 460, + eCSSPropertyExtra_all_properties = 461, + eCSSPropertyExtra_x_none_value = 462, + eCSSPropertyExtra_x_auto_value = 463, + eCSSPropertyExtra_variable = 464, } #[repr(i32)] #[derive(Debug, Copy, Clone, Eq, PartialEq, Hash)] @@ -5509,6 +5544,20 @@ fn bindgen_test_layout_FragmentOrURL() { assert_eq!(::std::mem::align_of::() , 8usize); } #[repr(C)] +#[derive(Debug, Copy)] +pub struct Position { + pub mXPosition: nsStyleCoord_CalcValue, + pub mYPosition: nsStyleCoord_CalcValue, +} +impl ::std::clone::Clone for Position { + fn clone(&self) -> Self { *self } +} +#[test] +fn bindgen_test_layout_Position() { + assert_eq!(::std::mem::size_of::() , 24usize); + assert_eq!(::std::mem::align_of::() , 4usize); +} +#[repr(C)] pub struct nsStyleFont { pub mFont: nsFont, pub mSize: nscoord, @@ -5696,22 +5745,6 @@ pub enum nsStyleImageLayers_nsStyleStruct_h_unnamed_22 { pub enum nsStyleImageLayers_LayerType { Background = 0, Mask = 1, } #[repr(C)] #[derive(Debug, Copy)] -pub struct nsStyleImageLayers_Position { - pub mXPosition: nsStyleCoord_CalcValue, - pub mYPosition: nsStyleCoord_CalcValue, -} -impl ::std::clone::Clone for nsStyleImageLayers_Position { - fn clone(&self) -> Self { *self } -} -#[test] -fn bindgen_test_layout_nsStyleImageLayers_Position() { - assert_eq!(::std::mem::size_of::() , - 24usize); - assert_eq!(::std::mem::align_of::() , - 4usize); -} -#[repr(C)] -#[derive(Debug, Copy)] pub struct nsStyleImageLayers_Size { pub mWidth: nsStyleImageLayers_Size_Dimension, pub mHeight: nsStyleImageLayers_Size_Dimension, @@ -5768,7 +5801,7 @@ fn bindgen_test_layout_nsStyleImageLayers_Repeat() { pub struct nsStyleImageLayers_Layer { pub mImage: nsStyleImage, pub mSourceURI: FragmentOrURL, - pub mPosition: nsStyleImageLayers_Position, + pub mPosition: Position, pub mSize: nsStyleImageLayers_Size, pub mClip: u8, pub mOrigin: u8, @@ -6004,7 +6037,7 @@ fn bindgen_test_layout_nsStyleGridTemplate() { #[repr(C)] #[derive(Debug)] pub struct nsStylePosition { - pub mObjectPosition: nsStyleImageLayers_Position, + pub mObjectPosition: Position, pub mOffset: nsStyleSides, pub mWidth: nsStyleCoord, pub mMinWidth: nsStyleCoord, @@ -6357,7 +6390,7 @@ pub struct StyleBasicShape { pub mType: StyleBasicShapeType, pub mFillRule: StyleFillRule, pub mCoordinates: nsTArray, - pub mPosition: nsStyleImageLayers_Position, + pub mPosition: Position, pub mRadius: nsStyleCorners, } #[test] @@ -6422,8 +6455,8 @@ pub struct nsStyleDisplay { pub mScrollSnapTypeY: u8, pub mScrollSnapPointsX: nsStyleCoord, pub mScrollSnapPointsY: nsStyleCoord, - pub mScrollSnapDestination: nsStyleImageLayers_Position, - pub mScrollSnapCoordinate: nsTArray, + pub mScrollSnapDestination: Position, + pub mScrollSnapCoordinate: nsTArray, pub mBackfaceVisibility: u8, pub mTransformStyle: u8, pub mTransformBox: u8,