diff --git a/components/style/gecko_bindings/structs_debug.rs b/components/style/gecko_bindings/structs_debug.rs index 322873f76a3..770a8623a0b 100644 --- a/components/style/gecko_bindings/structs_debug.rs +++ b/components/style/gecko_bindings/structs_debug.rs @@ -1036,11 +1036,6 @@ pub mod root { #[allow(unused_imports)] use self::super::super::root; #[repr(C)] - #[derive(Debug)] - pub struct atomic<_Tp> { - pub _M_i: _Tp, - } - #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct pair<_T1, _T2> { pub first: _T1, @@ -1052,6 +1047,11 @@ pub mod root { #[allow(unused_imports)] use self::super::super::super::root; } + #[repr(C)] + #[derive(Debug)] + pub struct atomic<_Tp> { + pub _M_i: _Tp, + } pub mod chrono { #[allow(unused_imports)] use self::super::super::super::root; @@ -1149,6 +1149,63 @@ pub mod root { pub _address: u8, pub _phantom_0: ::std::marker::PhantomData, } + pub type TimeStampValue = u64; + /** + * Instances of this class represent moments in time, or a special + * "null" moment. We do not use the non-monotonic system clock or + * local time, since they can be reset, causing apparent backward + * travel in time, which can confuse algorithms. Instead we measure + * elapsed time according to the system. This time can never go + * backwards (i.e. it never wraps around, at least not in less than + * five million years of system elapsed time). It might not advance + * while the system is sleeping. If TimeStamp::SetNow() is not called + * at all for hours or days, we might not notice the passage of some + * of that time. + * + * We deliberately do not expose a way to convert TimeStamps to some + * particular unit. All you can do is compute a difference between two + * TimeStamps to get a TimeDuration. You can also add a TimeDuration + * to a TimeStamp to get a new TimeStamp. You can't do something + * meaningless like add two TimeStamps. + * + * Internally this is implemented as either a wrapper around + * - high-resolution, monotonic, system clocks if they exist on this + * platform + * - PRIntervalTime otherwise. We detect wraparounds of + * PRIntervalTime and work around them. + * + * This class is similar to C++11's time_point, however it is + * explicitly nullable and provides an IsNull() method. time_point + * is initialized to the clock's epoch and provides a + * time_since_epoch() method that functions similiarly. i.e. + * t.IsNull() is equivalent to t.time_since_epoch() == decltype(t)::duration::zero(); + */ + #[repr(C)] + #[derive(Debug, Copy)] + pub struct TimeStamp { + /** + * When built with PRIntervalTime, a value of 0 means this instance + * is "null". Otherwise, the low 32 bits represent a PRIntervalTime, + * and the high 32 bits represent a counter of the number of + * rollovers of PRIntervalTime that we've seen. This counter starts + * at 1 to avoid a real time colliding with the "null" value. + * + * PR_INTERVAL_MAX is set at 100,000 ticks per second. So the minimum + * time to wrap around is about 2^64/100000 seconds, i.e. about + * 5,849,424 years. + * + * When using a system clock, a value is system dependent. + */ + pub mValue: root::mozilla::TimeStampValue, + } + #[test] + fn bindgen_test_layout_TimeStamp() { + assert_eq!(::std::mem::size_of::() , 8usize); + assert_eq!(::std::mem::align_of::() , 8usize); + } + impl Clone for TimeStamp { + fn clone(&self) -> Self { *self } + } #[repr(C)] #[derive(Debug, Copy)] pub struct MallocAllocPolicy { @@ -2059,63 +2116,6 @@ pub mod root { impl Clone for ShortcutKeyCandidate { fn clone(&self) -> Self { *self } } - /** - * Instances of this class represent moments in time, or a special - * "null" moment. We do not use the non-monotonic system clock or - * local time, since they can be reset, causing apparent backward - * travel in time, which can confuse algorithms. Instead we measure - * elapsed time according to the system. This time can never go - * backwards (i.e. it never wraps around, at least not in less than - * five million years of system elapsed time). It might not advance - * while the system is sleeping. If TimeStamp::SetNow() is not called - * at all for hours or days, we might not notice the passage of some - * of that time. - * - * We deliberately do not expose a way to convert TimeStamps to some - * particular unit. All you can do is compute a difference between two - * TimeStamps to get a TimeDuration. You can also add a TimeDuration - * to a TimeStamp to get a new TimeStamp. You can't do something - * meaningless like add two TimeStamps. - * - * Internally this is implemented as either a wrapper around - * - high-resolution, monotonic, system clocks if they exist on this - * platform - * - PRIntervalTime otherwise. We detect wraparounds of - * PRIntervalTime and work around them. - * - * This class is similar to C++11's time_point, however it is - * explicitly nullable and provides an IsNull() method. time_point - * is initialized to the clock's epoch and provides a - * time_since_epoch() method that functions similiarly. i.e. - * t.IsNull() is equivalent to t.time_since_epoch() == decltype(t)::duration::zero(); - */ - #[repr(C)] - #[derive(Debug, Copy)] - pub struct TimeStamp { - /** - * When built with PRIntervalTime, a value of 0 means this instance - * is "null". Otherwise, the low 32 bits represent a PRIntervalTime, - * and the high 32 bits represent a counter of the number of - * rollovers of PRIntervalTime that we've seen. This counter starts - * at 1 to avoid a real time colliding with the "null" value. - * - * PR_INTERVAL_MAX is set at 100,000 ticks per second. So the minimum - * time to wrap around is about 2^64/100000 seconds, i.e. about - * 5,849,424 years. - * - * When using a system clock, a value is system dependent. - */ - pub mValue: root::mozilla::TimeStampValue, - } - #[test] - fn bindgen_test_layout_TimeStamp() { - assert_eq!(::std::mem::size_of::() , 8usize); - assert_eq!(::std::mem::align_of::() , 8usize); - } - impl Clone for TimeStamp { - fn clone(&self) -> Self { *self } - } - pub type TimeStampValue = u64; #[repr(C)] #[derive(Debug)] pub struct Runnable { @@ -2469,9 +2469,6 @@ pub mod root { pub enum ConsumeStyleBehavior { Consume = 0, DontConsume = 1, } #[repr(i32)] #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)] - pub enum LazyComputeBehavior { Allow = 0, Assert = 1, } - #[repr(i32)] - #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)] pub enum TraversalRootBehavior { Normal = 0, UnstyledChildrenOnly = 1, @@ -3860,8 +3857,8 @@ pub mod root { #[repr(C)] #[derive(Debug, Copy)] pub struct GarbageCollectionEvent_Collection { - pub startTimestamp: f64, - pub endTimestamp: f64, + pub startTimestamp: root::mozilla::TimeStamp, + pub endTimestamp: root::mozilla::TimeStamp, } #[test] fn bindgen_test_layout_GarbageCollectionEvent_Collection() { @@ -10692,408 +10689,409 @@ pub mod root { eCSSProperty_box_shadow = 72, eCSSProperty_box_sizing = 73, eCSSProperty_caption_side = 74, - eCSSProperty_clear = 75, - eCSSProperty_clip = 76, - eCSSProperty_clip_path = 77, - eCSSProperty_clip_rule = 78, - eCSSProperty_color = 79, - eCSSProperty_color_adjust = 80, - eCSSProperty_color_interpolation = 81, - eCSSProperty_color_interpolation_filters = 82, - eCSSProperty_column_count = 83, - eCSSProperty_column_fill = 84, - eCSSProperty_column_gap = 85, - eCSSProperty_column_rule_color = 86, - eCSSProperty_column_rule_style = 87, - eCSSProperty_column_rule_width = 88, - eCSSProperty_column_width = 89, - eCSSProperty_contain = 90, - eCSSProperty_content = 91, - eCSSProperty__moz_control_character_visibility = 92, - eCSSProperty_counter_increment = 93, - eCSSProperty_counter_reset = 94, - eCSSProperty_cursor = 95, - eCSSProperty_direction = 96, - eCSSProperty_display = 97, - eCSSProperty_dominant_baseline = 98, - eCSSProperty_empty_cells = 99, - eCSSProperty_fill = 100, - eCSSProperty_fill_opacity = 101, - eCSSProperty_fill_rule = 102, - eCSSProperty_filter = 103, - eCSSProperty_flex_basis = 104, - eCSSProperty_flex_direction = 105, - eCSSProperty_flex_grow = 106, - eCSSProperty_flex_shrink = 107, - eCSSProperty_flex_wrap = 108, - eCSSProperty_float_ = 109, - eCSSProperty__moz_float_edge = 110, - eCSSProperty_flood_color = 111, - eCSSProperty_flood_opacity = 112, - eCSSProperty_font_family = 113, - eCSSProperty_font_feature_settings = 114, - eCSSProperty_font_kerning = 115, - eCSSProperty_font_language_override = 116, - eCSSProperty_font_size = 117, - eCSSProperty_font_size_adjust = 118, - eCSSProperty_font_stretch = 119, - eCSSProperty_font_style = 120, - eCSSProperty_font_synthesis = 121, - eCSSProperty_font_variant_alternates = 122, - eCSSProperty_font_variant_caps = 123, - eCSSProperty_font_variant_east_asian = 124, - eCSSProperty_font_variant_ligatures = 125, - eCSSProperty_font_variant_numeric = 126, - eCSSProperty_font_variant_position = 127, - eCSSProperty_font_variation_settings = 128, - eCSSProperty_font_weight = 129, - eCSSProperty__moz_force_broken_image_icon = 130, - eCSSProperty_grid_auto_columns = 131, - eCSSProperty_grid_auto_flow = 132, - eCSSProperty_grid_auto_rows = 133, - eCSSProperty_grid_column_end = 134, - eCSSProperty_grid_column_gap = 135, - eCSSProperty_grid_column_start = 136, - eCSSProperty_grid_row_end = 137, - eCSSProperty_grid_row_gap = 138, - eCSSProperty_grid_row_start = 139, - eCSSProperty_grid_template_areas = 140, - eCSSProperty_grid_template_columns = 141, - eCSSProperty_grid_template_rows = 142, - eCSSProperty_height = 143, - eCSSProperty_hyphens = 144, - eCSSProperty_initial_letter = 145, - eCSSProperty_image_orientation = 146, - eCSSProperty__moz_image_region = 147, - eCSSProperty_image_rendering = 148, - eCSSProperty_ime_mode = 149, - eCSSProperty_inline_size = 150, - eCSSProperty_isolation = 151, - eCSSProperty_justify_content = 152, - eCSSProperty_justify_items = 153, - eCSSProperty_justify_self = 154, - eCSSProperty__x_lang = 155, - eCSSProperty_left = 156, - eCSSProperty_letter_spacing = 157, - eCSSProperty_lighting_color = 158, - eCSSProperty_line_height = 159, - eCSSProperty_list_style_image = 160, - eCSSProperty_list_style_position = 161, - eCSSProperty_list_style_type = 162, - eCSSProperty_margin_block_end = 163, - eCSSProperty_margin_block_start = 164, - eCSSProperty_margin_bottom = 165, - eCSSProperty_margin_inline_end = 166, - eCSSProperty_margin_inline_start = 167, - eCSSProperty_margin_left = 168, - eCSSProperty_margin_right = 169, - eCSSProperty_margin_top = 170, - eCSSProperty_marker_end = 171, - eCSSProperty_marker_mid = 172, - eCSSProperty_marker_start = 173, - 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__moz_math_display = 184, - eCSSProperty__moz_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__moz_orient = 204, - eCSSProperty__moz_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__moz_script_level = 238, - eCSSProperty__moz_script_min_size = 239, - eCSSProperty__moz_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__moz_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__moz_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__moz_user_focus = 298, - eCSSProperty__moz_user_input = 299, - eCSSProperty__moz_user_modify = 300, - eCSSProperty__moz_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_column_rule = 333, - eCSSProperty_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_place_content = 354, - eCSSProperty_place_items = 355, - eCSSProperty_place_self = 356, - eCSSProperty_scroll_snap_type = 357, - eCSSProperty_text_decoration = 358, - eCSSProperty_text_emphasis = 359, - eCSSProperty__webkit_text_stroke = 360, - eCSSProperty__moz_transform = 361, - eCSSProperty_transition = 362, - eCSSProperty_COUNT = 363, - eCSSPropertyAlias_MozTransformOrigin = 364, - eCSSPropertyAlias_MozPerspectiveOrigin = 365, - eCSSPropertyAlias_MozPerspective = 366, - eCSSPropertyAlias_MozTransformStyle = 367, - eCSSPropertyAlias_MozBackfaceVisibility = 368, - eCSSPropertyAlias_MozBorderImage = 369, - eCSSPropertyAlias_MozTransition = 370, - eCSSPropertyAlias_MozTransitionDelay = 371, - eCSSPropertyAlias_MozTransitionDuration = 372, - eCSSPropertyAlias_MozTransitionProperty = 373, - eCSSPropertyAlias_MozTransitionTimingFunction = 374, - eCSSPropertyAlias_MozAnimation = 375, - eCSSPropertyAlias_MozAnimationDelay = 376, - eCSSPropertyAlias_MozAnimationDirection = 377, - eCSSPropertyAlias_MozAnimationDuration = 378, - eCSSPropertyAlias_MozAnimationFillMode = 379, - eCSSPropertyAlias_MozAnimationIterationCount = 380, - eCSSPropertyAlias_MozAnimationName = 381, - eCSSPropertyAlias_MozAnimationPlayState = 382, - eCSSPropertyAlias_MozAnimationTimingFunction = 383, - eCSSPropertyAlias_MozBoxSizing = 384, - eCSSPropertyAlias_MozFontFeatureSettings = 385, - eCSSPropertyAlias_MozFontLanguageOverride = 386, - eCSSPropertyAlias_MozPaddingEnd = 387, - eCSSPropertyAlias_MozPaddingStart = 388, - eCSSPropertyAlias_MozMarginEnd = 389, - eCSSPropertyAlias_MozMarginStart = 390, - eCSSPropertyAlias_MozBorderEnd = 391, - eCSSPropertyAlias_MozBorderEndColor = 392, - eCSSPropertyAlias_MozBorderEndStyle = 393, - eCSSPropertyAlias_MozBorderEndWidth = 394, - eCSSPropertyAlias_MozBorderStart = 395, - eCSSPropertyAlias_MozBorderStartColor = 396, - eCSSPropertyAlias_MozBorderStartStyle = 397, - eCSSPropertyAlias_MozBorderStartWidth = 398, - eCSSPropertyAlias_MozHyphens = 399, - eCSSPropertyAlias_MozColumnCount = 400, - eCSSPropertyAlias_MozColumnFill = 401, - eCSSPropertyAlias_MozColumnGap = 402, - eCSSPropertyAlias_MozColumnRule = 403, - eCSSPropertyAlias_MozColumnRuleColor = 404, - eCSSPropertyAlias_MozColumnRuleStyle = 405, - eCSSPropertyAlias_MozColumnRuleWidth = 406, - eCSSPropertyAlias_MozColumnWidth = 407, - eCSSPropertyAlias_MozColumns = 408, - eCSSPropertyAlias_WebkitAnimation = 409, - eCSSPropertyAlias_WebkitAnimationDelay = 410, - eCSSPropertyAlias_WebkitAnimationDirection = 411, - eCSSPropertyAlias_WebkitAnimationDuration = 412, - eCSSPropertyAlias_WebkitAnimationFillMode = 413, - eCSSPropertyAlias_WebkitAnimationIterationCount = 414, - eCSSPropertyAlias_WebkitAnimationName = 415, - eCSSPropertyAlias_WebkitAnimationPlayState = 416, - eCSSPropertyAlias_WebkitAnimationTimingFunction = 417, - eCSSPropertyAlias_WebkitFilter = 418, - eCSSPropertyAlias_WebkitTextSizeAdjust = 419, - eCSSPropertyAlias_WebkitTransform = 420, - eCSSPropertyAlias_WebkitTransformOrigin = 421, - eCSSPropertyAlias_WebkitTransformStyle = 422, - eCSSPropertyAlias_WebkitBackfaceVisibility = 423, - eCSSPropertyAlias_WebkitPerspective = 424, - eCSSPropertyAlias_WebkitPerspectiveOrigin = 425, - eCSSPropertyAlias_WebkitTransition = 426, - eCSSPropertyAlias_WebkitTransitionDelay = 427, - eCSSPropertyAlias_WebkitTransitionDuration = 428, - eCSSPropertyAlias_WebkitTransitionProperty = 429, - eCSSPropertyAlias_WebkitTransitionTimingFunction = 430, - eCSSPropertyAlias_WebkitBorderRadius = 431, - eCSSPropertyAlias_WebkitBorderTopLeftRadius = 432, - eCSSPropertyAlias_WebkitBorderTopRightRadius = 433, - eCSSPropertyAlias_WebkitBorderBottomLeftRadius = 434, - eCSSPropertyAlias_WebkitBorderBottomRightRadius = 435, - eCSSPropertyAlias_WebkitBackgroundClip = 436, - eCSSPropertyAlias_WebkitBackgroundOrigin = 437, - eCSSPropertyAlias_WebkitBackgroundSize = 438, - eCSSPropertyAlias_WebkitBorderImage = 439, - eCSSPropertyAlias_WebkitBoxShadow = 440, - eCSSPropertyAlias_WebkitBoxSizing = 441, - eCSSPropertyAlias_WebkitBoxFlex = 442, - eCSSPropertyAlias_WebkitBoxOrdinalGroup = 443, - eCSSPropertyAlias_WebkitBoxOrient = 444, - eCSSPropertyAlias_WebkitBoxDirection = 445, - eCSSPropertyAlias_WebkitBoxAlign = 446, - eCSSPropertyAlias_WebkitBoxPack = 447, - eCSSPropertyAlias_WebkitFlexDirection = 448, - eCSSPropertyAlias_WebkitFlexWrap = 449, - eCSSPropertyAlias_WebkitFlexFlow = 450, - eCSSPropertyAlias_WebkitOrder = 451, - eCSSPropertyAlias_WebkitFlex = 452, - eCSSPropertyAlias_WebkitFlexGrow = 453, - eCSSPropertyAlias_WebkitFlexShrink = 454, - eCSSPropertyAlias_WebkitFlexBasis = 455, - eCSSPropertyAlias_WebkitJustifyContent = 456, - eCSSPropertyAlias_WebkitAlignItems = 457, - eCSSPropertyAlias_WebkitAlignSelf = 458, - eCSSPropertyAlias_WebkitAlignContent = 459, - eCSSPropertyAlias_WebkitUserSelect = 460, - eCSSPropertyAlias_WebkitMask = 461, - eCSSPropertyAlias_WebkitMaskClip = 462, - eCSSPropertyAlias_WebkitMaskComposite = 463, - eCSSPropertyAlias_WebkitMaskImage = 464, - eCSSPropertyAlias_WebkitMaskOrigin = 465, - eCSSPropertyAlias_WebkitMaskPosition = 466, - eCSSPropertyAlias_WebkitMaskPositionX = 467, - eCSSPropertyAlias_WebkitMaskPositionY = 468, - eCSSPropertyAlias_WebkitMaskRepeat = 469, - eCSSPropertyAlias_WebkitMaskSize = 470, - eCSSProperty_COUNT_with_aliases = 471, - eCSSPropertyExtra_all_properties = 472, - eCSSPropertyExtra_x_none_value = 473, - eCSSPropertyExtra_x_auto_value = 474, - eCSSPropertyExtra_variable = 475, - eCSSProperty_DOM = 476, + eCSSProperty_caret_color = 75, + eCSSProperty_clear = 76, + eCSSProperty_clip = 77, + eCSSProperty_clip_path = 78, + eCSSProperty_clip_rule = 79, + eCSSProperty_color = 80, + eCSSProperty_color_adjust = 81, + eCSSProperty_color_interpolation = 82, + eCSSProperty_color_interpolation_filters = 83, + eCSSProperty_column_count = 84, + eCSSProperty_column_fill = 85, + eCSSProperty_column_gap = 86, + eCSSProperty_column_rule_color = 87, + eCSSProperty_column_rule_style = 88, + eCSSProperty_column_rule_width = 89, + eCSSProperty_column_width = 90, + eCSSProperty_contain = 91, + eCSSProperty_content = 92, + eCSSProperty__moz_control_character_visibility = 93, + eCSSProperty_counter_increment = 94, + eCSSProperty_counter_reset = 95, + eCSSProperty_cursor = 96, + eCSSProperty_direction = 97, + eCSSProperty_display = 98, + eCSSProperty_dominant_baseline = 99, + eCSSProperty_empty_cells = 100, + eCSSProperty_fill = 101, + eCSSProperty_fill_opacity = 102, + eCSSProperty_fill_rule = 103, + eCSSProperty_filter = 104, + eCSSProperty_flex_basis = 105, + eCSSProperty_flex_direction = 106, + eCSSProperty_flex_grow = 107, + eCSSProperty_flex_shrink = 108, + eCSSProperty_flex_wrap = 109, + eCSSProperty_float_ = 110, + eCSSProperty__moz_float_edge = 111, + eCSSProperty_flood_color = 112, + eCSSProperty_flood_opacity = 113, + eCSSProperty_font_family = 114, + eCSSProperty_font_feature_settings = 115, + eCSSProperty_font_kerning = 116, + eCSSProperty_font_language_override = 117, + eCSSProperty_font_size = 118, + eCSSProperty_font_size_adjust = 119, + eCSSProperty_font_stretch = 120, + eCSSProperty_font_style = 121, + eCSSProperty_font_synthesis = 122, + eCSSProperty_font_variant_alternates = 123, + eCSSProperty_font_variant_caps = 124, + eCSSProperty_font_variant_east_asian = 125, + eCSSProperty_font_variant_ligatures = 126, + eCSSProperty_font_variant_numeric = 127, + eCSSProperty_font_variant_position = 128, + eCSSProperty_font_variation_settings = 129, + eCSSProperty_font_weight = 130, + eCSSProperty__moz_force_broken_image_icon = 131, + eCSSProperty_grid_auto_columns = 132, + eCSSProperty_grid_auto_flow = 133, + eCSSProperty_grid_auto_rows = 134, + eCSSProperty_grid_column_end = 135, + eCSSProperty_grid_column_gap = 136, + eCSSProperty_grid_column_start = 137, + eCSSProperty_grid_row_end = 138, + eCSSProperty_grid_row_gap = 139, + eCSSProperty_grid_row_start = 140, + eCSSProperty_grid_template_areas = 141, + eCSSProperty_grid_template_columns = 142, + eCSSProperty_grid_template_rows = 143, + eCSSProperty_height = 144, + eCSSProperty_hyphens = 145, + eCSSProperty_initial_letter = 146, + eCSSProperty_image_orientation = 147, + eCSSProperty__moz_image_region = 148, + eCSSProperty_image_rendering = 149, + eCSSProperty_ime_mode = 150, + eCSSProperty_inline_size = 151, + eCSSProperty_isolation = 152, + eCSSProperty_justify_content = 153, + eCSSProperty_justify_items = 154, + eCSSProperty_justify_self = 155, + eCSSProperty__x_lang = 156, + eCSSProperty_left = 157, + eCSSProperty_letter_spacing = 158, + eCSSProperty_lighting_color = 159, + eCSSProperty_line_height = 160, + eCSSProperty_list_style_image = 161, + eCSSProperty_list_style_position = 162, + eCSSProperty_list_style_type = 163, + eCSSProperty_margin_block_end = 164, + eCSSProperty_margin_block_start = 165, + eCSSProperty_margin_bottom = 166, + eCSSProperty_margin_inline_end = 167, + eCSSProperty_margin_inline_start = 168, + eCSSProperty_margin_left = 169, + eCSSProperty_margin_right = 170, + eCSSProperty_margin_top = 171, + eCSSProperty_marker_end = 172, + eCSSProperty_marker_mid = 173, + eCSSProperty_marker_start = 174, + eCSSProperty_mask_clip = 175, + eCSSProperty_mask_composite = 176, + eCSSProperty_mask_image = 177, + eCSSProperty_mask_mode = 178, + eCSSProperty_mask_origin = 179, + eCSSProperty_mask_position_x = 180, + eCSSProperty_mask_position_y = 181, + eCSSProperty_mask_repeat = 182, + eCSSProperty_mask_size = 183, + eCSSProperty_mask_type = 184, + eCSSProperty__moz_math_display = 185, + eCSSProperty__moz_math_variant = 186, + eCSSProperty_max_block_size = 187, + eCSSProperty_max_height = 188, + eCSSProperty_max_inline_size = 189, + eCSSProperty_max_width = 190, + eCSSProperty_min_block_size = 191, + eCSSProperty__moz_min_font_size_ratio = 192, + eCSSProperty_min_height = 193, + eCSSProperty_min_inline_size = 194, + eCSSProperty_min_width = 195, + eCSSProperty_mix_blend_mode = 196, + eCSSProperty_object_fit = 197, + eCSSProperty_object_position = 198, + eCSSProperty_offset_block_end = 199, + eCSSProperty_offset_block_start = 200, + eCSSProperty_offset_inline_end = 201, + eCSSProperty_offset_inline_start = 202, + eCSSProperty_opacity = 203, + eCSSProperty_order = 204, + eCSSProperty__moz_orient = 205, + eCSSProperty__moz_osx_font_smoothing = 206, + eCSSProperty_outline_color = 207, + eCSSProperty_outline_offset = 208, + eCSSProperty__moz_outline_radius_bottomleft = 209, + eCSSProperty__moz_outline_radius_bottomright = 210, + eCSSProperty__moz_outline_radius_topleft = 211, + eCSSProperty__moz_outline_radius_topright = 212, + eCSSProperty_outline_style = 213, + eCSSProperty_outline_width = 214, + eCSSProperty_overflow_clip_box = 215, + eCSSProperty_overflow_x = 216, + eCSSProperty_overflow_y = 217, + eCSSProperty_padding_block_end = 218, + eCSSProperty_padding_block_start = 219, + eCSSProperty_padding_bottom = 220, + eCSSProperty_padding_inline_end = 221, + eCSSProperty_padding_inline_start = 222, + eCSSProperty_padding_left = 223, + eCSSProperty_padding_right = 224, + eCSSProperty_padding_top = 225, + eCSSProperty_page_break_after = 226, + eCSSProperty_page_break_before = 227, + eCSSProperty_page_break_inside = 228, + eCSSProperty_paint_order = 229, + eCSSProperty_perspective = 230, + eCSSProperty_perspective_origin = 231, + eCSSProperty_pointer_events = 232, + eCSSProperty_position = 233, + eCSSProperty_quotes = 234, + eCSSProperty_resize = 235, + eCSSProperty_right = 236, + eCSSProperty_ruby_align = 237, + eCSSProperty_ruby_position = 238, + eCSSProperty__moz_script_level = 239, + eCSSProperty__moz_script_min_size = 240, + eCSSProperty__moz_script_size_multiplier = 241, + eCSSProperty_scroll_behavior = 242, + eCSSProperty_scroll_snap_coordinate = 243, + eCSSProperty_scroll_snap_destination = 244, + eCSSProperty_scroll_snap_points_x = 245, + eCSSProperty_scroll_snap_points_y = 246, + eCSSProperty_scroll_snap_type_x = 247, + eCSSProperty_scroll_snap_type_y = 248, + eCSSProperty_shape_outside = 249, + eCSSProperty_shape_rendering = 250, + eCSSProperty__x_span = 251, + eCSSProperty__moz_stack_sizing = 252, + eCSSProperty_stop_color = 253, + eCSSProperty_stop_opacity = 254, + eCSSProperty_stroke = 255, + eCSSProperty_stroke_dasharray = 256, + eCSSProperty_stroke_dashoffset = 257, + eCSSProperty_stroke_linecap = 258, + eCSSProperty_stroke_linejoin = 259, + eCSSProperty_stroke_miterlimit = 260, + eCSSProperty_stroke_opacity = 261, + eCSSProperty_stroke_width = 262, + eCSSProperty__x_system_font = 263, + eCSSProperty__moz_tab_size = 264, + eCSSProperty_table_layout = 265, + eCSSProperty_text_align = 266, + eCSSProperty_text_align_last = 267, + eCSSProperty_text_anchor = 268, + eCSSProperty_text_combine_upright = 269, + eCSSProperty_text_decoration_color = 270, + eCSSProperty_text_decoration_line = 271, + eCSSProperty_text_decoration_style = 272, + eCSSProperty_text_emphasis_color = 273, + eCSSProperty_text_emphasis_position = 274, + eCSSProperty_text_emphasis_style = 275, + eCSSProperty__webkit_text_fill_color = 276, + eCSSProperty_text_indent = 277, + eCSSProperty_text_orientation = 278, + eCSSProperty_text_overflow = 279, + eCSSProperty_text_rendering = 280, + eCSSProperty_text_shadow = 281, + eCSSProperty__moz_text_size_adjust = 282, + eCSSProperty__webkit_text_stroke_color = 283, + eCSSProperty__webkit_text_stroke_width = 284, + eCSSProperty_text_transform = 285, + eCSSProperty__x_text_zoom = 286, + eCSSProperty_top = 287, + eCSSProperty__moz_top_layer = 288, + eCSSProperty_touch_action = 289, + eCSSProperty_transform = 290, + eCSSProperty_transform_box = 291, + eCSSProperty_transform_origin = 292, + eCSSProperty_transform_style = 293, + eCSSProperty_transition_delay = 294, + eCSSProperty_transition_duration = 295, + eCSSProperty_transition_property = 296, + eCSSProperty_transition_timing_function = 297, + eCSSProperty_unicode_bidi = 298, + eCSSProperty__moz_user_focus = 299, + eCSSProperty__moz_user_input = 300, + eCSSProperty__moz_user_modify = 301, + eCSSProperty__moz_user_select = 302, + eCSSProperty_vector_effect = 303, + eCSSProperty_vertical_align = 304, + eCSSProperty_visibility = 305, + eCSSProperty_white_space = 306, + eCSSProperty_width = 307, + eCSSProperty_will_change = 308, + eCSSProperty__moz_window_dragging = 309, + eCSSProperty__moz_window_shadow = 310, + eCSSProperty_word_break = 311, + eCSSProperty_word_spacing = 312, + eCSSProperty_overflow_wrap = 313, + eCSSProperty_writing_mode = 314, + eCSSProperty_z_index = 315, + eCSSProperty_COUNT_no_shorthands = 316, + eCSSProperty_animation = 317, + eCSSProperty_background = 318, + eCSSProperty_background_position = 319, + eCSSProperty_border = 320, + eCSSProperty_border_block_end = 321, + eCSSProperty_border_block_start = 322, + eCSSProperty_border_bottom = 323, + eCSSProperty_border_color = 324, + eCSSProperty_border_image = 325, + eCSSProperty_border_inline_end = 326, + eCSSProperty_border_inline_start = 327, + eCSSProperty_border_left = 328, + eCSSProperty_border_radius = 329, + eCSSProperty_border_right = 330, + eCSSProperty_border_style = 331, + eCSSProperty_border_top = 332, + eCSSProperty_border_width = 333, + eCSSProperty_column_rule = 334, + eCSSProperty_columns = 335, + eCSSProperty_flex = 336, + eCSSProperty_flex_flow = 337, + eCSSProperty_font = 338, + eCSSProperty_font_variant = 339, + eCSSProperty_grid = 340, + eCSSProperty_grid_area = 341, + eCSSProperty_grid_column = 342, + eCSSProperty_grid_gap = 343, + eCSSProperty_grid_row = 344, + eCSSProperty_grid_template = 345, + eCSSProperty_list_style = 346, + eCSSProperty_margin = 347, + eCSSProperty_marker = 348, + eCSSProperty_mask = 349, + eCSSProperty_mask_position = 350, + eCSSProperty_outline = 351, + eCSSProperty__moz_outline_radius = 352, + eCSSProperty_overflow = 353, + eCSSProperty_padding = 354, + eCSSProperty_place_content = 355, + eCSSProperty_place_items = 356, + eCSSProperty_place_self = 357, + eCSSProperty_scroll_snap_type = 358, + eCSSProperty_text_decoration = 359, + eCSSProperty_text_emphasis = 360, + eCSSProperty__webkit_text_stroke = 361, + eCSSProperty__moz_transform = 362, + eCSSProperty_transition = 363, + eCSSProperty_COUNT = 364, + eCSSPropertyAlias_MozTransformOrigin = 365, + eCSSPropertyAlias_MozPerspectiveOrigin = 366, + eCSSPropertyAlias_MozPerspective = 367, + eCSSPropertyAlias_MozTransformStyle = 368, + eCSSPropertyAlias_MozBackfaceVisibility = 369, + eCSSPropertyAlias_MozBorderImage = 370, + eCSSPropertyAlias_MozTransition = 371, + eCSSPropertyAlias_MozTransitionDelay = 372, + eCSSPropertyAlias_MozTransitionDuration = 373, + eCSSPropertyAlias_MozTransitionProperty = 374, + eCSSPropertyAlias_MozTransitionTimingFunction = 375, + eCSSPropertyAlias_MozAnimation = 376, + eCSSPropertyAlias_MozAnimationDelay = 377, + eCSSPropertyAlias_MozAnimationDirection = 378, + eCSSPropertyAlias_MozAnimationDuration = 379, + eCSSPropertyAlias_MozAnimationFillMode = 380, + eCSSPropertyAlias_MozAnimationIterationCount = 381, + eCSSPropertyAlias_MozAnimationName = 382, + eCSSPropertyAlias_MozAnimationPlayState = 383, + eCSSPropertyAlias_MozAnimationTimingFunction = 384, + eCSSPropertyAlias_MozBoxSizing = 385, + eCSSPropertyAlias_MozFontFeatureSettings = 386, + eCSSPropertyAlias_MozFontLanguageOverride = 387, + eCSSPropertyAlias_MozPaddingEnd = 388, + eCSSPropertyAlias_MozPaddingStart = 389, + eCSSPropertyAlias_MozMarginEnd = 390, + eCSSPropertyAlias_MozMarginStart = 391, + eCSSPropertyAlias_MozBorderEnd = 392, + eCSSPropertyAlias_MozBorderEndColor = 393, + eCSSPropertyAlias_MozBorderEndStyle = 394, + eCSSPropertyAlias_MozBorderEndWidth = 395, + eCSSPropertyAlias_MozBorderStart = 396, + eCSSPropertyAlias_MozBorderStartColor = 397, + eCSSPropertyAlias_MozBorderStartStyle = 398, + eCSSPropertyAlias_MozBorderStartWidth = 399, + eCSSPropertyAlias_MozHyphens = 400, + eCSSPropertyAlias_MozColumnCount = 401, + eCSSPropertyAlias_MozColumnFill = 402, + eCSSPropertyAlias_MozColumnGap = 403, + eCSSPropertyAlias_MozColumnRule = 404, + eCSSPropertyAlias_MozColumnRuleColor = 405, + eCSSPropertyAlias_MozColumnRuleStyle = 406, + eCSSPropertyAlias_MozColumnRuleWidth = 407, + eCSSPropertyAlias_MozColumnWidth = 408, + eCSSPropertyAlias_MozColumns = 409, + eCSSPropertyAlias_WebkitAnimation = 410, + eCSSPropertyAlias_WebkitAnimationDelay = 411, + eCSSPropertyAlias_WebkitAnimationDirection = 412, + eCSSPropertyAlias_WebkitAnimationDuration = 413, + eCSSPropertyAlias_WebkitAnimationFillMode = 414, + eCSSPropertyAlias_WebkitAnimationIterationCount = 415, + eCSSPropertyAlias_WebkitAnimationName = 416, + eCSSPropertyAlias_WebkitAnimationPlayState = 417, + eCSSPropertyAlias_WebkitAnimationTimingFunction = 418, + eCSSPropertyAlias_WebkitFilter = 419, + eCSSPropertyAlias_WebkitTextSizeAdjust = 420, + eCSSPropertyAlias_WebkitTransform = 421, + eCSSPropertyAlias_WebkitTransformOrigin = 422, + eCSSPropertyAlias_WebkitTransformStyle = 423, + eCSSPropertyAlias_WebkitBackfaceVisibility = 424, + eCSSPropertyAlias_WebkitPerspective = 425, + eCSSPropertyAlias_WebkitPerspectiveOrigin = 426, + eCSSPropertyAlias_WebkitTransition = 427, + eCSSPropertyAlias_WebkitTransitionDelay = 428, + eCSSPropertyAlias_WebkitTransitionDuration = 429, + eCSSPropertyAlias_WebkitTransitionProperty = 430, + eCSSPropertyAlias_WebkitTransitionTimingFunction = 431, + eCSSPropertyAlias_WebkitBorderRadius = 432, + eCSSPropertyAlias_WebkitBorderTopLeftRadius = 433, + eCSSPropertyAlias_WebkitBorderTopRightRadius = 434, + eCSSPropertyAlias_WebkitBorderBottomLeftRadius = 435, + eCSSPropertyAlias_WebkitBorderBottomRightRadius = 436, + eCSSPropertyAlias_WebkitBackgroundClip = 437, + eCSSPropertyAlias_WebkitBackgroundOrigin = 438, + eCSSPropertyAlias_WebkitBackgroundSize = 439, + eCSSPropertyAlias_WebkitBorderImage = 440, + eCSSPropertyAlias_WebkitBoxShadow = 441, + eCSSPropertyAlias_WebkitBoxSizing = 442, + eCSSPropertyAlias_WebkitBoxFlex = 443, + eCSSPropertyAlias_WebkitBoxOrdinalGroup = 444, + eCSSPropertyAlias_WebkitBoxOrient = 445, + eCSSPropertyAlias_WebkitBoxDirection = 446, + eCSSPropertyAlias_WebkitBoxAlign = 447, + eCSSPropertyAlias_WebkitBoxPack = 448, + eCSSPropertyAlias_WebkitFlexDirection = 449, + eCSSPropertyAlias_WebkitFlexWrap = 450, + eCSSPropertyAlias_WebkitFlexFlow = 451, + eCSSPropertyAlias_WebkitOrder = 452, + eCSSPropertyAlias_WebkitFlex = 453, + eCSSPropertyAlias_WebkitFlexGrow = 454, + eCSSPropertyAlias_WebkitFlexShrink = 455, + eCSSPropertyAlias_WebkitFlexBasis = 456, + eCSSPropertyAlias_WebkitJustifyContent = 457, + eCSSPropertyAlias_WebkitAlignItems = 458, + eCSSPropertyAlias_WebkitAlignSelf = 459, + eCSSPropertyAlias_WebkitAlignContent = 460, + eCSSPropertyAlias_WebkitUserSelect = 461, + eCSSPropertyAlias_WebkitMask = 462, + eCSSPropertyAlias_WebkitMaskClip = 463, + eCSSPropertyAlias_WebkitMaskComposite = 464, + eCSSPropertyAlias_WebkitMaskImage = 465, + eCSSPropertyAlias_WebkitMaskOrigin = 466, + eCSSPropertyAlias_WebkitMaskPosition = 467, + eCSSPropertyAlias_WebkitMaskPositionX = 468, + eCSSPropertyAlias_WebkitMaskPositionY = 469, + eCSSPropertyAlias_WebkitMaskRepeat = 470, + eCSSPropertyAlias_WebkitMaskSize = 471, + eCSSProperty_COUNT_with_aliases = 472, + eCSSPropertyExtra_all_properties = 473, + eCSSPropertyExtra_x_none_value = 474, + eCSSPropertyExtra_x_auto_value = 475, + eCSSPropertyExtra_variable = 476, + eCSSProperty_DOM = 477, } /** * Class to safely handle main-thread-only pointers off the main thread. @@ -12743,10 +12741,11 @@ pub mod root { pub mPointerEvents: u8, pub mCursor: u8, pub mCursorImages: root::nsTArray, + pub mCaretColor: root::mozilla::StyleComplexColor, } #[test] fn bindgen_test_layout_nsStyleUserInterface() { - assert_eq!(::std::mem::size_of::() , 16usize); + assert_eq!(::std::mem::size_of::() , 24usize); assert_eq!(::std::mem::align_of::() , 8usize); } #[repr(C)] diff --git a/components/style/gecko_bindings/structs_release.rs b/components/style/gecko_bindings/structs_release.rs index ca933fb3eff..56e12b5709f 100644 --- a/components/style/gecko_bindings/structs_release.rs +++ b/components/style/gecko_bindings/structs_release.rs @@ -1036,11 +1036,6 @@ pub mod root { #[allow(unused_imports)] use self::super::super::root; #[repr(C)] - #[derive(Debug)] - pub struct atomic<_Tp> { - pub _M_i: _Tp, - } - #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct pair<_T1, _T2> { pub first: _T1, @@ -1052,6 +1047,11 @@ pub mod root { #[allow(unused_imports)] use self::super::super::super::root; } + #[repr(C)] + #[derive(Debug)] + pub struct atomic<_Tp> { + pub _M_i: _Tp, + } } pub mod __gnu_cxx { #[allow(unused_imports)] @@ -1144,6 +1144,63 @@ pub mod root { pub _address: u8, pub _phantom_0: ::std::marker::PhantomData, } + pub type TimeStampValue = u64; + /** + * Instances of this class represent moments in time, or a special + * "null" moment. We do not use the non-monotonic system clock or + * local time, since they can be reset, causing apparent backward + * travel in time, which can confuse algorithms. Instead we measure + * elapsed time according to the system. This time can never go + * backwards (i.e. it never wraps around, at least not in less than + * five million years of system elapsed time). It might not advance + * while the system is sleeping. If TimeStamp::SetNow() is not called + * at all for hours or days, we might not notice the passage of some + * of that time. + * + * We deliberately do not expose a way to convert TimeStamps to some + * particular unit. All you can do is compute a difference between two + * TimeStamps to get a TimeDuration. You can also add a TimeDuration + * to a TimeStamp to get a new TimeStamp. You can't do something + * meaningless like add two TimeStamps. + * + * Internally this is implemented as either a wrapper around + * - high-resolution, monotonic, system clocks if they exist on this + * platform + * - PRIntervalTime otherwise. We detect wraparounds of + * PRIntervalTime and work around them. + * + * This class is similar to C++11's time_point, however it is + * explicitly nullable and provides an IsNull() method. time_point + * is initialized to the clock's epoch and provides a + * time_since_epoch() method that functions similiarly. i.e. + * t.IsNull() is equivalent to t.time_since_epoch() == decltype(t)::duration::zero(); + */ + #[repr(C)] + #[derive(Debug, Copy)] + pub struct TimeStamp { + /** + * When built with PRIntervalTime, a value of 0 means this instance + * is "null". Otherwise, the low 32 bits represent a PRIntervalTime, + * and the high 32 bits represent a counter of the number of + * rollovers of PRIntervalTime that we've seen. This counter starts + * at 1 to avoid a real time colliding with the "null" value. + * + * PR_INTERVAL_MAX is set at 100,000 ticks per second. So the minimum + * time to wrap around is about 2^64/100000 seconds, i.e. about + * 5,849,424 years. + * + * When using a system clock, a value is system dependent. + */ + pub mValue: root::mozilla::TimeStampValue, + } + #[test] + fn bindgen_test_layout_TimeStamp() { + assert_eq!(::std::mem::size_of::() , 8usize); + assert_eq!(::std::mem::align_of::() , 8usize); + } + impl Clone for TimeStamp { + fn clone(&self) -> Self { *self } + } #[repr(C)] #[derive(Debug, Copy)] pub struct MallocAllocPolicy { @@ -2048,63 +2105,6 @@ pub mod root { impl Clone for ShortcutKeyCandidate { fn clone(&self) -> Self { *self } } - /** - * Instances of this class represent moments in time, or a special - * "null" moment. We do not use the non-monotonic system clock or - * local time, since they can be reset, causing apparent backward - * travel in time, which can confuse algorithms. Instead we measure - * elapsed time according to the system. This time can never go - * backwards (i.e. it never wraps around, at least not in less than - * five million years of system elapsed time). It might not advance - * while the system is sleeping. If TimeStamp::SetNow() is not called - * at all for hours or days, we might not notice the passage of some - * of that time. - * - * We deliberately do not expose a way to convert TimeStamps to some - * particular unit. All you can do is compute a difference between two - * TimeStamps to get a TimeDuration. You can also add a TimeDuration - * to a TimeStamp to get a new TimeStamp. You can't do something - * meaningless like add two TimeStamps. - * - * Internally this is implemented as either a wrapper around - * - high-resolution, monotonic, system clocks if they exist on this - * platform - * - PRIntervalTime otherwise. We detect wraparounds of - * PRIntervalTime and work around them. - * - * This class is similar to C++11's time_point, however it is - * explicitly nullable and provides an IsNull() method. time_point - * is initialized to the clock's epoch and provides a - * time_since_epoch() method that functions similiarly. i.e. - * t.IsNull() is equivalent to t.time_since_epoch() == decltype(t)::duration::zero(); - */ - #[repr(C)] - #[derive(Debug, Copy)] - pub struct TimeStamp { - /** - * When built with PRIntervalTime, a value of 0 means this instance - * is "null". Otherwise, the low 32 bits represent a PRIntervalTime, - * and the high 32 bits represent a counter of the number of - * rollovers of PRIntervalTime that we've seen. This counter starts - * at 1 to avoid a real time colliding with the "null" value. - * - * PR_INTERVAL_MAX is set at 100,000 ticks per second. So the minimum - * time to wrap around is about 2^64/100000 seconds, i.e. about - * 5,849,424 years. - * - * When using a system clock, a value is system dependent. - */ - pub mValue: root::mozilla::TimeStampValue, - } - #[test] - fn bindgen_test_layout_TimeStamp() { - assert_eq!(::std::mem::size_of::() , 8usize); - assert_eq!(::std::mem::align_of::() , 8usize); - } - impl Clone for TimeStamp { - fn clone(&self) -> Self { *self } - } - pub type TimeStampValue = u64; #[repr(C)] #[derive(Debug)] pub struct Runnable { @@ -2452,9 +2452,6 @@ pub mod root { pub enum ConsumeStyleBehavior { Consume = 0, DontConsume = 1, } #[repr(i32)] #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)] - pub enum LazyComputeBehavior { Allow = 0, Assert = 1, } - #[repr(i32)] - #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)] pub enum TraversalRootBehavior { Normal = 0, UnstyledChildrenOnly = 1, @@ -3842,8 +3839,8 @@ pub mod root { #[repr(C)] #[derive(Debug, Copy)] pub struct GarbageCollectionEvent_Collection { - pub startTimestamp: f64, - pub endTimestamp: f64, + pub startTimestamp: root::mozilla::TimeStamp, + pub endTimestamp: root::mozilla::TimeStamp, } #[test] fn bindgen_test_layout_GarbageCollectionEvent_Collection() { @@ -10628,408 +10625,409 @@ pub mod root { eCSSProperty_box_shadow = 72, eCSSProperty_box_sizing = 73, eCSSProperty_caption_side = 74, - eCSSProperty_clear = 75, - eCSSProperty_clip = 76, - eCSSProperty_clip_path = 77, - eCSSProperty_clip_rule = 78, - eCSSProperty_color = 79, - eCSSProperty_color_adjust = 80, - eCSSProperty_color_interpolation = 81, - eCSSProperty_color_interpolation_filters = 82, - eCSSProperty_column_count = 83, - eCSSProperty_column_fill = 84, - eCSSProperty_column_gap = 85, - eCSSProperty_column_rule_color = 86, - eCSSProperty_column_rule_style = 87, - eCSSProperty_column_rule_width = 88, - eCSSProperty_column_width = 89, - eCSSProperty_contain = 90, - eCSSProperty_content = 91, - eCSSProperty__moz_control_character_visibility = 92, - eCSSProperty_counter_increment = 93, - eCSSProperty_counter_reset = 94, - eCSSProperty_cursor = 95, - eCSSProperty_direction = 96, - eCSSProperty_display = 97, - eCSSProperty_dominant_baseline = 98, - eCSSProperty_empty_cells = 99, - eCSSProperty_fill = 100, - eCSSProperty_fill_opacity = 101, - eCSSProperty_fill_rule = 102, - eCSSProperty_filter = 103, - eCSSProperty_flex_basis = 104, - eCSSProperty_flex_direction = 105, - eCSSProperty_flex_grow = 106, - eCSSProperty_flex_shrink = 107, - eCSSProperty_flex_wrap = 108, - eCSSProperty_float_ = 109, - eCSSProperty__moz_float_edge = 110, - eCSSProperty_flood_color = 111, - eCSSProperty_flood_opacity = 112, - eCSSProperty_font_family = 113, - eCSSProperty_font_feature_settings = 114, - eCSSProperty_font_kerning = 115, - eCSSProperty_font_language_override = 116, - eCSSProperty_font_size = 117, - eCSSProperty_font_size_adjust = 118, - eCSSProperty_font_stretch = 119, - eCSSProperty_font_style = 120, - eCSSProperty_font_synthesis = 121, - eCSSProperty_font_variant_alternates = 122, - eCSSProperty_font_variant_caps = 123, - eCSSProperty_font_variant_east_asian = 124, - eCSSProperty_font_variant_ligatures = 125, - eCSSProperty_font_variant_numeric = 126, - eCSSProperty_font_variant_position = 127, - eCSSProperty_font_variation_settings = 128, - eCSSProperty_font_weight = 129, - eCSSProperty__moz_force_broken_image_icon = 130, - eCSSProperty_grid_auto_columns = 131, - eCSSProperty_grid_auto_flow = 132, - eCSSProperty_grid_auto_rows = 133, - eCSSProperty_grid_column_end = 134, - eCSSProperty_grid_column_gap = 135, - eCSSProperty_grid_column_start = 136, - eCSSProperty_grid_row_end = 137, - eCSSProperty_grid_row_gap = 138, - eCSSProperty_grid_row_start = 139, - eCSSProperty_grid_template_areas = 140, - eCSSProperty_grid_template_columns = 141, - eCSSProperty_grid_template_rows = 142, - eCSSProperty_height = 143, - eCSSProperty_hyphens = 144, - eCSSProperty_initial_letter = 145, - eCSSProperty_image_orientation = 146, - eCSSProperty__moz_image_region = 147, - eCSSProperty_image_rendering = 148, - eCSSProperty_ime_mode = 149, - eCSSProperty_inline_size = 150, - eCSSProperty_isolation = 151, - eCSSProperty_justify_content = 152, - eCSSProperty_justify_items = 153, - eCSSProperty_justify_self = 154, - eCSSProperty__x_lang = 155, - eCSSProperty_left = 156, - eCSSProperty_letter_spacing = 157, - eCSSProperty_lighting_color = 158, - eCSSProperty_line_height = 159, - eCSSProperty_list_style_image = 160, - eCSSProperty_list_style_position = 161, - eCSSProperty_list_style_type = 162, - eCSSProperty_margin_block_end = 163, - eCSSProperty_margin_block_start = 164, - eCSSProperty_margin_bottom = 165, - eCSSProperty_margin_inline_end = 166, - eCSSProperty_margin_inline_start = 167, - eCSSProperty_margin_left = 168, - eCSSProperty_margin_right = 169, - eCSSProperty_margin_top = 170, - eCSSProperty_marker_end = 171, - eCSSProperty_marker_mid = 172, - eCSSProperty_marker_start = 173, - 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__moz_math_display = 184, - eCSSProperty__moz_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__moz_orient = 204, - eCSSProperty__moz_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__moz_script_level = 238, - eCSSProperty__moz_script_min_size = 239, - eCSSProperty__moz_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__moz_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__moz_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__moz_user_focus = 298, - eCSSProperty__moz_user_input = 299, - eCSSProperty__moz_user_modify = 300, - eCSSProperty__moz_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_column_rule = 333, - eCSSProperty_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_place_content = 354, - eCSSProperty_place_items = 355, - eCSSProperty_place_self = 356, - eCSSProperty_scroll_snap_type = 357, - eCSSProperty_text_decoration = 358, - eCSSProperty_text_emphasis = 359, - eCSSProperty__webkit_text_stroke = 360, - eCSSProperty__moz_transform = 361, - eCSSProperty_transition = 362, - eCSSProperty_COUNT = 363, - eCSSPropertyAlias_MozTransformOrigin = 364, - eCSSPropertyAlias_MozPerspectiveOrigin = 365, - eCSSPropertyAlias_MozPerspective = 366, - eCSSPropertyAlias_MozTransformStyle = 367, - eCSSPropertyAlias_MozBackfaceVisibility = 368, - eCSSPropertyAlias_MozBorderImage = 369, - eCSSPropertyAlias_MozTransition = 370, - eCSSPropertyAlias_MozTransitionDelay = 371, - eCSSPropertyAlias_MozTransitionDuration = 372, - eCSSPropertyAlias_MozTransitionProperty = 373, - eCSSPropertyAlias_MozTransitionTimingFunction = 374, - eCSSPropertyAlias_MozAnimation = 375, - eCSSPropertyAlias_MozAnimationDelay = 376, - eCSSPropertyAlias_MozAnimationDirection = 377, - eCSSPropertyAlias_MozAnimationDuration = 378, - eCSSPropertyAlias_MozAnimationFillMode = 379, - eCSSPropertyAlias_MozAnimationIterationCount = 380, - eCSSPropertyAlias_MozAnimationName = 381, - eCSSPropertyAlias_MozAnimationPlayState = 382, - eCSSPropertyAlias_MozAnimationTimingFunction = 383, - eCSSPropertyAlias_MozBoxSizing = 384, - eCSSPropertyAlias_MozFontFeatureSettings = 385, - eCSSPropertyAlias_MozFontLanguageOverride = 386, - eCSSPropertyAlias_MozPaddingEnd = 387, - eCSSPropertyAlias_MozPaddingStart = 388, - eCSSPropertyAlias_MozMarginEnd = 389, - eCSSPropertyAlias_MozMarginStart = 390, - eCSSPropertyAlias_MozBorderEnd = 391, - eCSSPropertyAlias_MozBorderEndColor = 392, - eCSSPropertyAlias_MozBorderEndStyle = 393, - eCSSPropertyAlias_MozBorderEndWidth = 394, - eCSSPropertyAlias_MozBorderStart = 395, - eCSSPropertyAlias_MozBorderStartColor = 396, - eCSSPropertyAlias_MozBorderStartStyle = 397, - eCSSPropertyAlias_MozBorderStartWidth = 398, - eCSSPropertyAlias_MozHyphens = 399, - eCSSPropertyAlias_MozColumnCount = 400, - eCSSPropertyAlias_MozColumnFill = 401, - eCSSPropertyAlias_MozColumnGap = 402, - eCSSPropertyAlias_MozColumnRule = 403, - eCSSPropertyAlias_MozColumnRuleColor = 404, - eCSSPropertyAlias_MozColumnRuleStyle = 405, - eCSSPropertyAlias_MozColumnRuleWidth = 406, - eCSSPropertyAlias_MozColumnWidth = 407, - eCSSPropertyAlias_MozColumns = 408, - eCSSPropertyAlias_WebkitAnimation = 409, - eCSSPropertyAlias_WebkitAnimationDelay = 410, - eCSSPropertyAlias_WebkitAnimationDirection = 411, - eCSSPropertyAlias_WebkitAnimationDuration = 412, - eCSSPropertyAlias_WebkitAnimationFillMode = 413, - eCSSPropertyAlias_WebkitAnimationIterationCount = 414, - eCSSPropertyAlias_WebkitAnimationName = 415, - eCSSPropertyAlias_WebkitAnimationPlayState = 416, - eCSSPropertyAlias_WebkitAnimationTimingFunction = 417, - eCSSPropertyAlias_WebkitFilter = 418, - eCSSPropertyAlias_WebkitTextSizeAdjust = 419, - eCSSPropertyAlias_WebkitTransform = 420, - eCSSPropertyAlias_WebkitTransformOrigin = 421, - eCSSPropertyAlias_WebkitTransformStyle = 422, - eCSSPropertyAlias_WebkitBackfaceVisibility = 423, - eCSSPropertyAlias_WebkitPerspective = 424, - eCSSPropertyAlias_WebkitPerspectiveOrigin = 425, - eCSSPropertyAlias_WebkitTransition = 426, - eCSSPropertyAlias_WebkitTransitionDelay = 427, - eCSSPropertyAlias_WebkitTransitionDuration = 428, - eCSSPropertyAlias_WebkitTransitionProperty = 429, - eCSSPropertyAlias_WebkitTransitionTimingFunction = 430, - eCSSPropertyAlias_WebkitBorderRadius = 431, - eCSSPropertyAlias_WebkitBorderTopLeftRadius = 432, - eCSSPropertyAlias_WebkitBorderTopRightRadius = 433, - eCSSPropertyAlias_WebkitBorderBottomLeftRadius = 434, - eCSSPropertyAlias_WebkitBorderBottomRightRadius = 435, - eCSSPropertyAlias_WebkitBackgroundClip = 436, - eCSSPropertyAlias_WebkitBackgroundOrigin = 437, - eCSSPropertyAlias_WebkitBackgroundSize = 438, - eCSSPropertyAlias_WebkitBorderImage = 439, - eCSSPropertyAlias_WebkitBoxShadow = 440, - eCSSPropertyAlias_WebkitBoxSizing = 441, - eCSSPropertyAlias_WebkitBoxFlex = 442, - eCSSPropertyAlias_WebkitBoxOrdinalGroup = 443, - eCSSPropertyAlias_WebkitBoxOrient = 444, - eCSSPropertyAlias_WebkitBoxDirection = 445, - eCSSPropertyAlias_WebkitBoxAlign = 446, - eCSSPropertyAlias_WebkitBoxPack = 447, - eCSSPropertyAlias_WebkitFlexDirection = 448, - eCSSPropertyAlias_WebkitFlexWrap = 449, - eCSSPropertyAlias_WebkitFlexFlow = 450, - eCSSPropertyAlias_WebkitOrder = 451, - eCSSPropertyAlias_WebkitFlex = 452, - eCSSPropertyAlias_WebkitFlexGrow = 453, - eCSSPropertyAlias_WebkitFlexShrink = 454, - eCSSPropertyAlias_WebkitFlexBasis = 455, - eCSSPropertyAlias_WebkitJustifyContent = 456, - eCSSPropertyAlias_WebkitAlignItems = 457, - eCSSPropertyAlias_WebkitAlignSelf = 458, - eCSSPropertyAlias_WebkitAlignContent = 459, - eCSSPropertyAlias_WebkitUserSelect = 460, - eCSSPropertyAlias_WebkitMask = 461, - eCSSPropertyAlias_WebkitMaskClip = 462, - eCSSPropertyAlias_WebkitMaskComposite = 463, - eCSSPropertyAlias_WebkitMaskImage = 464, - eCSSPropertyAlias_WebkitMaskOrigin = 465, - eCSSPropertyAlias_WebkitMaskPosition = 466, - eCSSPropertyAlias_WebkitMaskPositionX = 467, - eCSSPropertyAlias_WebkitMaskPositionY = 468, - eCSSPropertyAlias_WebkitMaskRepeat = 469, - eCSSPropertyAlias_WebkitMaskSize = 470, - eCSSProperty_COUNT_with_aliases = 471, - eCSSPropertyExtra_all_properties = 472, - eCSSPropertyExtra_x_none_value = 473, - eCSSPropertyExtra_x_auto_value = 474, - eCSSPropertyExtra_variable = 475, - eCSSProperty_DOM = 476, + eCSSProperty_caret_color = 75, + eCSSProperty_clear = 76, + eCSSProperty_clip = 77, + eCSSProperty_clip_path = 78, + eCSSProperty_clip_rule = 79, + eCSSProperty_color = 80, + eCSSProperty_color_adjust = 81, + eCSSProperty_color_interpolation = 82, + eCSSProperty_color_interpolation_filters = 83, + eCSSProperty_column_count = 84, + eCSSProperty_column_fill = 85, + eCSSProperty_column_gap = 86, + eCSSProperty_column_rule_color = 87, + eCSSProperty_column_rule_style = 88, + eCSSProperty_column_rule_width = 89, + eCSSProperty_column_width = 90, + eCSSProperty_contain = 91, + eCSSProperty_content = 92, + eCSSProperty__moz_control_character_visibility = 93, + eCSSProperty_counter_increment = 94, + eCSSProperty_counter_reset = 95, + eCSSProperty_cursor = 96, + eCSSProperty_direction = 97, + eCSSProperty_display = 98, + eCSSProperty_dominant_baseline = 99, + eCSSProperty_empty_cells = 100, + eCSSProperty_fill = 101, + eCSSProperty_fill_opacity = 102, + eCSSProperty_fill_rule = 103, + eCSSProperty_filter = 104, + eCSSProperty_flex_basis = 105, + eCSSProperty_flex_direction = 106, + eCSSProperty_flex_grow = 107, + eCSSProperty_flex_shrink = 108, + eCSSProperty_flex_wrap = 109, + eCSSProperty_float_ = 110, + eCSSProperty__moz_float_edge = 111, + eCSSProperty_flood_color = 112, + eCSSProperty_flood_opacity = 113, + eCSSProperty_font_family = 114, + eCSSProperty_font_feature_settings = 115, + eCSSProperty_font_kerning = 116, + eCSSProperty_font_language_override = 117, + eCSSProperty_font_size = 118, + eCSSProperty_font_size_adjust = 119, + eCSSProperty_font_stretch = 120, + eCSSProperty_font_style = 121, + eCSSProperty_font_synthesis = 122, + eCSSProperty_font_variant_alternates = 123, + eCSSProperty_font_variant_caps = 124, + eCSSProperty_font_variant_east_asian = 125, + eCSSProperty_font_variant_ligatures = 126, + eCSSProperty_font_variant_numeric = 127, + eCSSProperty_font_variant_position = 128, + eCSSProperty_font_variation_settings = 129, + eCSSProperty_font_weight = 130, + eCSSProperty__moz_force_broken_image_icon = 131, + eCSSProperty_grid_auto_columns = 132, + eCSSProperty_grid_auto_flow = 133, + eCSSProperty_grid_auto_rows = 134, + eCSSProperty_grid_column_end = 135, + eCSSProperty_grid_column_gap = 136, + eCSSProperty_grid_column_start = 137, + eCSSProperty_grid_row_end = 138, + eCSSProperty_grid_row_gap = 139, + eCSSProperty_grid_row_start = 140, + eCSSProperty_grid_template_areas = 141, + eCSSProperty_grid_template_columns = 142, + eCSSProperty_grid_template_rows = 143, + eCSSProperty_height = 144, + eCSSProperty_hyphens = 145, + eCSSProperty_initial_letter = 146, + eCSSProperty_image_orientation = 147, + eCSSProperty__moz_image_region = 148, + eCSSProperty_image_rendering = 149, + eCSSProperty_ime_mode = 150, + eCSSProperty_inline_size = 151, + eCSSProperty_isolation = 152, + eCSSProperty_justify_content = 153, + eCSSProperty_justify_items = 154, + eCSSProperty_justify_self = 155, + eCSSProperty__x_lang = 156, + eCSSProperty_left = 157, + eCSSProperty_letter_spacing = 158, + eCSSProperty_lighting_color = 159, + eCSSProperty_line_height = 160, + eCSSProperty_list_style_image = 161, + eCSSProperty_list_style_position = 162, + eCSSProperty_list_style_type = 163, + eCSSProperty_margin_block_end = 164, + eCSSProperty_margin_block_start = 165, + eCSSProperty_margin_bottom = 166, + eCSSProperty_margin_inline_end = 167, + eCSSProperty_margin_inline_start = 168, + eCSSProperty_margin_left = 169, + eCSSProperty_margin_right = 170, + eCSSProperty_margin_top = 171, + eCSSProperty_marker_end = 172, + eCSSProperty_marker_mid = 173, + eCSSProperty_marker_start = 174, + eCSSProperty_mask_clip = 175, + eCSSProperty_mask_composite = 176, + eCSSProperty_mask_image = 177, + eCSSProperty_mask_mode = 178, + eCSSProperty_mask_origin = 179, + eCSSProperty_mask_position_x = 180, + eCSSProperty_mask_position_y = 181, + eCSSProperty_mask_repeat = 182, + eCSSProperty_mask_size = 183, + eCSSProperty_mask_type = 184, + eCSSProperty__moz_math_display = 185, + eCSSProperty__moz_math_variant = 186, + eCSSProperty_max_block_size = 187, + eCSSProperty_max_height = 188, + eCSSProperty_max_inline_size = 189, + eCSSProperty_max_width = 190, + eCSSProperty_min_block_size = 191, + eCSSProperty__moz_min_font_size_ratio = 192, + eCSSProperty_min_height = 193, + eCSSProperty_min_inline_size = 194, + eCSSProperty_min_width = 195, + eCSSProperty_mix_blend_mode = 196, + eCSSProperty_object_fit = 197, + eCSSProperty_object_position = 198, + eCSSProperty_offset_block_end = 199, + eCSSProperty_offset_block_start = 200, + eCSSProperty_offset_inline_end = 201, + eCSSProperty_offset_inline_start = 202, + eCSSProperty_opacity = 203, + eCSSProperty_order = 204, + eCSSProperty__moz_orient = 205, + eCSSProperty__moz_osx_font_smoothing = 206, + eCSSProperty_outline_color = 207, + eCSSProperty_outline_offset = 208, + eCSSProperty__moz_outline_radius_bottomleft = 209, + eCSSProperty__moz_outline_radius_bottomright = 210, + eCSSProperty__moz_outline_radius_topleft = 211, + eCSSProperty__moz_outline_radius_topright = 212, + eCSSProperty_outline_style = 213, + eCSSProperty_outline_width = 214, + eCSSProperty_overflow_clip_box = 215, + eCSSProperty_overflow_x = 216, + eCSSProperty_overflow_y = 217, + eCSSProperty_padding_block_end = 218, + eCSSProperty_padding_block_start = 219, + eCSSProperty_padding_bottom = 220, + eCSSProperty_padding_inline_end = 221, + eCSSProperty_padding_inline_start = 222, + eCSSProperty_padding_left = 223, + eCSSProperty_padding_right = 224, + eCSSProperty_padding_top = 225, + eCSSProperty_page_break_after = 226, + eCSSProperty_page_break_before = 227, + eCSSProperty_page_break_inside = 228, + eCSSProperty_paint_order = 229, + eCSSProperty_perspective = 230, + eCSSProperty_perspective_origin = 231, + eCSSProperty_pointer_events = 232, + eCSSProperty_position = 233, + eCSSProperty_quotes = 234, + eCSSProperty_resize = 235, + eCSSProperty_right = 236, + eCSSProperty_ruby_align = 237, + eCSSProperty_ruby_position = 238, + eCSSProperty__moz_script_level = 239, + eCSSProperty__moz_script_min_size = 240, + eCSSProperty__moz_script_size_multiplier = 241, + eCSSProperty_scroll_behavior = 242, + eCSSProperty_scroll_snap_coordinate = 243, + eCSSProperty_scroll_snap_destination = 244, + eCSSProperty_scroll_snap_points_x = 245, + eCSSProperty_scroll_snap_points_y = 246, + eCSSProperty_scroll_snap_type_x = 247, + eCSSProperty_scroll_snap_type_y = 248, + eCSSProperty_shape_outside = 249, + eCSSProperty_shape_rendering = 250, + eCSSProperty__x_span = 251, + eCSSProperty__moz_stack_sizing = 252, + eCSSProperty_stop_color = 253, + eCSSProperty_stop_opacity = 254, + eCSSProperty_stroke = 255, + eCSSProperty_stroke_dasharray = 256, + eCSSProperty_stroke_dashoffset = 257, + eCSSProperty_stroke_linecap = 258, + eCSSProperty_stroke_linejoin = 259, + eCSSProperty_stroke_miterlimit = 260, + eCSSProperty_stroke_opacity = 261, + eCSSProperty_stroke_width = 262, + eCSSProperty__x_system_font = 263, + eCSSProperty__moz_tab_size = 264, + eCSSProperty_table_layout = 265, + eCSSProperty_text_align = 266, + eCSSProperty_text_align_last = 267, + eCSSProperty_text_anchor = 268, + eCSSProperty_text_combine_upright = 269, + eCSSProperty_text_decoration_color = 270, + eCSSProperty_text_decoration_line = 271, + eCSSProperty_text_decoration_style = 272, + eCSSProperty_text_emphasis_color = 273, + eCSSProperty_text_emphasis_position = 274, + eCSSProperty_text_emphasis_style = 275, + eCSSProperty__webkit_text_fill_color = 276, + eCSSProperty_text_indent = 277, + eCSSProperty_text_orientation = 278, + eCSSProperty_text_overflow = 279, + eCSSProperty_text_rendering = 280, + eCSSProperty_text_shadow = 281, + eCSSProperty__moz_text_size_adjust = 282, + eCSSProperty__webkit_text_stroke_color = 283, + eCSSProperty__webkit_text_stroke_width = 284, + eCSSProperty_text_transform = 285, + eCSSProperty__x_text_zoom = 286, + eCSSProperty_top = 287, + eCSSProperty__moz_top_layer = 288, + eCSSProperty_touch_action = 289, + eCSSProperty_transform = 290, + eCSSProperty_transform_box = 291, + eCSSProperty_transform_origin = 292, + eCSSProperty_transform_style = 293, + eCSSProperty_transition_delay = 294, + eCSSProperty_transition_duration = 295, + eCSSProperty_transition_property = 296, + eCSSProperty_transition_timing_function = 297, + eCSSProperty_unicode_bidi = 298, + eCSSProperty__moz_user_focus = 299, + eCSSProperty__moz_user_input = 300, + eCSSProperty__moz_user_modify = 301, + eCSSProperty__moz_user_select = 302, + eCSSProperty_vector_effect = 303, + eCSSProperty_vertical_align = 304, + eCSSProperty_visibility = 305, + eCSSProperty_white_space = 306, + eCSSProperty_width = 307, + eCSSProperty_will_change = 308, + eCSSProperty__moz_window_dragging = 309, + eCSSProperty__moz_window_shadow = 310, + eCSSProperty_word_break = 311, + eCSSProperty_word_spacing = 312, + eCSSProperty_overflow_wrap = 313, + eCSSProperty_writing_mode = 314, + eCSSProperty_z_index = 315, + eCSSProperty_COUNT_no_shorthands = 316, + eCSSProperty_animation = 317, + eCSSProperty_background = 318, + eCSSProperty_background_position = 319, + eCSSProperty_border = 320, + eCSSProperty_border_block_end = 321, + eCSSProperty_border_block_start = 322, + eCSSProperty_border_bottom = 323, + eCSSProperty_border_color = 324, + eCSSProperty_border_image = 325, + eCSSProperty_border_inline_end = 326, + eCSSProperty_border_inline_start = 327, + eCSSProperty_border_left = 328, + eCSSProperty_border_radius = 329, + eCSSProperty_border_right = 330, + eCSSProperty_border_style = 331, + eCSSProperty_border_top = 332, + eCSSProperty_border_width = 333, + eCSSProperty_column_rule = 334, + eCSSProperty_columns = 335, + eCSSProperty_flex = 336, + eCSSProperty_flex_flow = 337, + eCSSProperty_font = 338, + eCSSProperty_font_variant = 339, + eCSSProperty_grid = 340, + eCSSProperty_grid_area = 341, + eCSSProperty_grid_column = 342, + eCSSProperty_grid_gap = 343, + eCSSProperty_grid_row = 344, + eCSSProperty_grid_template = 345, + eCSSProperty_list_style = 346, + eCSSProperty_margin = 347, + eCSSProperty_marker = 348, + eCSSProperty_mask = 349, + eCSSProperty_mask_position = 350, + eCSSProperty_outline = 351, + eCSSProperty__moz_outline_radius = 352, + eCSSProperty_overflow = 353, + eCSSProperty_padding = 354, + eCSSProperty_place_content = 355, + eCSSProperty_place_items = 356, + eCSSProperty_place_self = 357, + eCSSProperty_scroll_snap_type = 358, + eCSSProperty_text_decoration = 359, + eCSSProperty_text_emphasis = 360, + eCSSProperty__webkit_text_stroke = 361, + eCSSProperty__moz_transform = 362, + eCSSProperty_transition = 363, + eCSSProperty_COUNT = 364, + eCSSPropertyAlias_MozTransformOrigin = 365, + eCSSPropertyAlias_MozPerspectiveOrigin = 366, + eCSSPropertyAlias_MozPerspective = 367, + eCSSPropertyAlias_MozTransformStyle = 368, + eCSSPropertyAlias_MozBackfaceVisibility = 369, + eCSSPropertyAlias_MozBorderImage = 370, + eCSSPropertyAlias_MozTransition = 371, + eCSSPropertyAlias_MozTransitionDelay = 372, + eCSSPropertyAlias_MozTransitionDuration = 373, + eCSSPropertyAlias_MozTransitionProperty = 374, + eCSSPropertyAlias_MozTransitionTimingFunction = 375, + eCSSPropertyAlias_MozAnimation = 376, + eCSSPropertyAlias_MozAnimationDelay = 377, + eCSSPropertyAlias_MozAnimationDirection = 378, + eCSSPropertyAlias_MozAnimationDuration = 379, + eCSSPropertyAlias_MozAnimationFillMode = 380, + eCSSPropertyAlias_MozAnimationIterationCount = 381, + eCSSPropertyAlias_MozAnimationName = 382, + eCSSPropertyAlias_MozAnimationPlayState = 383, + eCSSPropertyAlias_MozAnimationTimingFunction = 384, + eCSSPropertyAlias_MozBoxSizing = 385, + eCSSPropertyAlias_MozFontFeatureSettings = 386, + eCSSPropertyAlias_MozFontLanguageOverride = 387, + eCSSPropertyAlias_MozPaddingEnd = 388, + eCSSPropertyAlias_MozPaddingStart = 389, + eCSSPropertyAlias_MozMarginEnd = 390, + eCSSPropertyAlias_MozMarginStart = 391, + eCSSPropertyAlias_MozBorderEnd = 392, + eCSSPropertyAlias_MozBorderEndColor = 393, + eCSSPropertyAlias_MozBorderEndStyle = 394, + eCSSPropertyAlias_MozBorderEndWidth = 395, + eCSSPropertyAlias_MozBorderStart = 396, + eCSSPropertyAlias_MozBorderStartColor = 397, + eCSSPropertyAlias_MozBorderStartStyle = 398, + eCSSPropertyAlias_MozBorderStartWidth = 399, + eCSSPropertyAlias_MozHyphens = 400, + eCSSPropertyAlias_MozColumnCount = 401, + eCSSPropertyAlias_MozColumnFill = 402, + eCSSPropertyAlias_MozColumnGap = 403, + eCSSPropertyAlias_MozColumnRule = 404, + eCSSPropertyAlias_MozColumnRuleColor = 405, + eCSSPropertyAlias_MozColumnRuleStyle = 406, + eCSSPropertyAlias_MozColumnRuleWidth = 407, + eCSSPropertyAlias_MozColumnWidth = 408, + eCSSPropertyAlias_MozColumns = 409, + eCSSPropertyAlias_WebkitAnimation = 410, + eCSSPropertyAlias_WebkitAnimationDelay = 411, + eCSSPropertyAlias_WebkitAnimationDirection = 412, + eCSSPropertyAlias_WebkitAnimationDuration = 413, + eCSSPropertyAlias_WebkitAnimationFillMode = 414, + eCSSPropertyAlias_WebkitAnimationIterationCount = 415, + eCSSPropertyAlias_WebkitAnimationName = 416, + eCSSPropertyAlias_WebkitAnimationPlayState = 417, + eCSSPropertyAlias_WebkitAnimationTimingFunction = 418, + eCSSPropertyAlias_WebkitFilter = 419, + eCSSPropertyAlias_WebkitTextSizeAdjust = 420, + eCSSPropertyAlias_WebkitTransform = 421, + eCSSPropertyAlias_WebkitTransformOrigin = 422, + eCSSPropertyAlias_WebkitTransformStyle = 423, + eCSSPropertyAlias_WebkitBackfaceVisibility = 424, + eCSSPropertyAlias_WebkitPerspective = 425, + eCSSPropertyAlias_WebkitPerspectiveOrigin = 426, + eCSSPropertyAlias_WebkitTransition = 427, + eCSSPropertyAlias_WebkitTransitionDelay = 428, + eCSSPropertyAlias_WebkitTransitionDuration = 429, + eCSSPropertyAlias_WebkitTransitionProperty = 430, + eCSSPropertyAlias_WebkitTransitionTimingFunction = 431, + eCSSPropertyAlias_WebkitBorderRadius = 432, + eCSSPropertyAlias_WebkitBorderTopLeftRadius = 433, + eCSSPropertyAlias_WebkitBorderTopRightRadius = 434, + eCSSPropertyAlias_WebkitBorderBottomLeftRadius = 435, + eCSSPropertyAlias_WebkitBorderBottomRightRadius = 436, + eCSSPropertyAlias_WebkitBackgroundClip = 437, + eCSSPropertyAlias_WebkitBackgroundOrigin = 438, + eCSSPropertyAlias_WebkitBackgroundSize = 439, + eCSSPropertyAlias_WebkitBorderImage = 440, + eCSSPropertyAlias_WebkitBoxShadow = 441, + eCSSPropertyAlias_WebkitBoxSizing = 442, + eCSSPropertyAlias_WebkitBoxFlex = 443, + eCSSPropertyAlias_WebkitBoxOrdinalGroup = 444, + eCSSPropertyAlias_WebkitBoxOrient = 445, + eCSSPropertyAlias_WebkitBoxDirection = 446, + eCSSPropertyAlias_WebkitBoxAlign = 447, + eCSSPropertyAlias_WebkitBoxPack = 448, + eCSSPropertyAlias_WebkitFlexDirection = 449, + eCSSPropertyAlias_WebkitFlexWrap = 450, + eCSSPropertyAlias_WebkitFlexFlow = 451, + eCSSPropertyAlias_WebkitOrder = 452, + eCSSPropertyAlias_WebkitFlex = 453, + eCSSPropertyAlias_WebkitFlexGrow = 454, + eCSSPropertyAlias_WebkitFlexShrink = 455, + eCSSPropertyAlias_WebkitFlexBasis = 456, + eCSSPropertyAlias_WebkitJustifyContent = 457, + eCSSPropertyAlias_WebkitAlignItems = 458, + eCSSPropertyAlias_WebkitAlignSelf = 459, + eCSSPropertyAlias_WebkitAlignContent = 460, + eCSSPropertyAlias_WebkitUserSelect = 461, + eCSSPropertyAlias_WebkitMask = 462, + eCSSPropertyAlias_WebkitMaskClip = 463, + eCSSPropertyAlias_WebkitMaskComposite = 464, + eCSSPropertyAlias_WebkitMaskImage = 465, + eCSSPropertyAlias_WebkitMaskOrigin = 466, + eCSSPropertyAlias_WebkitMaskPosition = 467, + eCSSPropertyAlias_WebkitMaskPositionX = 468, + eCSSPropertyAlias_WebkitMaskPositionY = 469, + eCSSPropertyAlias_WebkitMaskRepeat = 470, + eCSSPropertyAlias_WebkitMaskSize = 471, + eCSSProperty_COUNT_with_aliases = 472, + eCSSPropertyExtra_all_properties = 473, + eCSSPropertyExtra_x_none_value = 474, + eCSSPropertyExtra_x_auto_value = 475, + eCSSPropertyExtra_variable = 476, + eCSSProperty_DOM = 477, } /** * Class to safely handle main-thread-only pointers off the main thread. @@ -12669,10 +12667,11 @@ pub mod root { pub mPointerEvents: u8, pub mCursor: u8, pub mCursorImages: root::nsTArray, + pub mCaretColor: root::mozilla::StyleComplexColor, } #[test] fn bindgen_test_layout_nsStyleUserInterface() { - assert_eq!(::std::mem::size_of::() , 16usize); + assert_eq!(::std::mem::size_of::() , 24usize); assert_eq!(::std::mem::align_of::() , 8usize); } #[repr(C)]