From 0251b2bfb6c1834bf43a7bc0523c1b692b2aa9b0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Naz=C4=B1m=20Can=20Alt=C4=B1nova?= Date: Wed, 23 Aug 2017 20:36:40 -0700 Subject: [PATCH 1/3] Convert the @font-feature-values declarations to lowercase The @font-feature-values declaration identifiers are asci case insensitive. We should convert all of them to lowercase to be able to reduce the same declarations. Also gecko stores them as lowercase in gfxFontFeatureValueSet. --- components/style/stylesheets/font_feature_values_rule.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/style/stylesheets/font_feature_values_rule.rs b/components/style/stylesheets/font_feature_values_rule.rs index 3d765616367..6474cb10bf5 100644 --- a/components/style/stylesheets/font_feature_values_rule.rs +++ b/components/style/stylesheets/font_feature_values_rule.rs @@ -166,7 +166,7 @@ impl<'a, 'b, 'i, T> DeclarationParser<'i> for FFVDeclarationsParser<'a, 'b, T> -> Result<(), ParseError<'i>> { let value = input.parse_entirely(|i| T::parse(self.context, i))?; let new = FFVDeclaration { - name: Atom::from(&*name), + name: Atom::from(&*name).to_ascii_lowercase(), value: value, }; update_or_push(&mut self.declarations, new); From 6d7a1903b8db6ba7f72591ad0dd190a6b0b07681 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Naz=C4=B1m=20Can=20Alt=C4=B1nova?= Date: Wed, 23 Aug 2017 20:38:00 -0700 Subject: [PATCH 2/3] Implement font feature values lookup for stylo --- components/style/properties/gecko.mako.rs | 12 ++- .../style/properties/properties.mako.rs | 3 +- .../stylesheets/font_feature_values_rule.rs | 89 +++++++++++++++++-- components/style/stylist.rs | 22 ++++- ports/geckolib/glue.rs | 25 ++++++ 5 files changed, 139 insertions(+), 12 deletions(-) diff --git a/components/style/properties/gecko.mako.rs b/components/style/properties/gecko.mako.rs index 6f1b0d2a74f..8e8bae7a5aa 100644 --- a/components/style/properties/gecko.mako.rs +++ b/components/style/properties/gecko.mako.rs @@ -2513,8 +2513,12 @@ fn static_assert() { <% impl_simple_type_with_conversion("font_language_override", "mFont.languageOverride") %> - pub fn set_font_variant_alternates(&mut self, v: longhands::font_variant_alternates::computed_value::T) { + pub fn set_font_variant_alternates(&mut self, + v: longhands::font_variant_alternates::computed_value::T, + device: &Device) { use gecko_bindings::bindings::{Gecko_ClearAlternateValues, Gecko_AppendAlternateValues}; + use gecko_bindings::bindings::Gecko_nsFont_ResetFontFeatureValuesLookup; + use gecko_bindings::bindings::Gecko_nsFont_SetFontFeatureValuesLookup; % for value in "normal swash stylistic ornaments annotation styleset character_variant historical".split(): use gecko_bindings::structs::NS_FONT_VARIANT_ALTERNATES_${value.upper()}; % endfor @@ -2526,6 +2530,8 @@ fn static_assert() { if v.0.is_empty() { self.gecko.mFont.variantAlternates = NS_FONT_VARIANT_ALTERNATES_NORMAL as u16; + unsafe { Gecko_nsFont_ResetFontFeatureValuesLookup(&mut self.gecko.mFont); } + return; } for val in v.0.iter() { @@ -2557,6 +2563,10 @@ fn static_assert() { } } } + + unsafe { + Gecko_nsFont_SetFontFeatureValuesLookup(&mut self.gecko.mFont, device.pres_context()); + } } #[allow(non_snake_case)] diff --git a/components/style/properties/properties.mako.rs b/components/style/properties/properties.mako.rs index c2a5e3970c9..fd10112df40 100644 --- a/components/style/properties/properties.mako.rs +++ b/components/style/properties/properties.mako.rs @@ -2722,12 +2722,13 @@ impl<'a> StyleBuilder<'a> { &mut self, value: longhands::${property.ident}::computed_value::T ) { + <% props_need_device = ["content", "list_style_type", "font_variant_alternates"] %> self.${property.style_struct.ident}.mutate() .set_${property.ident}( value, % if property.logical: self.writing_mode, - % elif product == "gecko" and property.ident in ["content", "list_style_type"]: + % elif product == "gecko" and property.ident in props_need_device: self.device, % endif ); diff --git a/components/style/stylesheets/font_feature_values_rule.rs b/components/style/stylesheets/font_feature_values_rule.rs index 6474cb10bf5..c76c5b09833 100644 --- a/components/style/stylesheets/font_feature_values_rule.rs +++ b/components/style/stylesheets/font_feature_values_rule.rs @@ -11,6 +11,10 @@ use computed_values::font_family::FamilyName; use cssparser::{AtRuleParser, AtRuleType, BasicParseError, DeclarationListParser, DeclarationParser, Parser}; use cssparser::{CowRcStr, RuleListParser, SourceLocation, QualifiedRuleParser, Token, serialize_identifier}; use error_reporting::{ContextualParseError, ParseErrorReporter}; +#[cfg(feature = "gecko")] +use gecko_bindings::bindings::Gecko_AppendFeatureValueHashEntry; +#[cfg(feature = "gecko")] +use gecko_bindings::structs::{self, gfxFontFeatureValueSet, nsTArray}; use parser::{ParserContext, ParserErrorContext, Parse}; use selectors::parser::SelectorParseError; use shared_lock::{SharedRwLockReadGuard, ToCssWithGuard}; @@ -41,6 +45,13 @@ impl ToCss for FFVDeclaration { } } +/// A trait for @font-feature-values rule to gecko values conversion. +#[cfg(feature = "gecko")] +pub trait ToGeckoFontFeatureValues { + /// Sets the equivalent of declaration to gecko `nsTArray` array. + fn to_gecko_font_feature_values(&self, array: &mut nsTArray); +} + /// A @font-feature-values block declaration value that keeps one value. #[derive(Clone, Debug, PartialEq)] pub struct SingleValue(pub u32); @@ -61,6 +72,14 @@ impl ToCss for SingleValue { } } +#[cfg(feature = "gecko")] +impl ToGeckoFontFeatureValues for SingleValue { + fn to_gecko_font_feature_values(&self, array: &mut nsTArray) { + unsafe { array.set_len_pod(1); } + array[0] = self.0 as u32; + } +} + /// A @font-feature-values block declaration value that keeps one or two values. #[derive(Clone, Debug, PartialEq)] pub struct PairValues(pub u32, pub Option); @@ -94,6 +113,19 @@ impl ToCss for PairValues { } } +#[cfg(feature = "gecko")] +impl ToGeckoFontFeatureValues for PairValues { + fn to_gecko_font_feature_values(&self, array: &mut nsTArray) { + let len = if self.1.is_some() { 2 } else { 1 }; + + unsafe { array.set_len_pod(len); } + array[0] = self.0 as u32; + if let Some(second) = self.1 { + array[1] = second as u32; + }; + } +} + /// A @font-feature-values block declaration value that keeps a list of values. #[derive(Clone, Debug, PartialEq)] pub struct VectorValues(pub Vec); @@ -136,6 +168,16 @@ impl ToCss for VectorValues { } } +#[cfg(feature = "gecko")] +impl ToGeckoFontFeatureValues for VectorValues { + fn to_gecko_font_feature_values(&self, array: &mut nsTArray) { + unsafe { array.set_len_pod(self.0.len() as u32); } + for (dest, value) in array.iter_mut().zip(self.0.iter()) { + *dest = *value; + } + } +} + /// Parses a list of `FamilyName`s. pub fn parse_family_name_list<'i, 't>(context: &ParserContext, input: &mut Parser<'i, 't>) -> Result, ParseError<'i>> { @@ -177,7 +219,7 @@ impl<'a, 'b, 'i, T> DeclarationParser<'i> for FFVDeclarationsParser<'a, 'b, T> macro_rules! font_feature_values_blocks { ( blocks = [ - $( #[$doc: meta] $name: tt $ident: ident / $ident_camel: ident: $ty: ty, )* + $( #[$doc: meta] $name: tt $ident: ident / $ident_camel: ident / $gecko_enum: ident: $ty: ty, )* ] ) => { /// The [`@font-feature-values`][font-feature-values] at-rule. @@ -262,6 +304,38 @@ macro_rules! font_feature_values_blocks { )* Ok(()) } + + /// Returns length of all at-rules. + pub fn len(&self) -> usize { + let mut len = 0; + $( + len += self.$ident.len(); + )* + len + } + + /// Convert to Gecko gfxFontFeatureValueSet. + #[cfg(feature = "gecko")] + pub fn set_at_rules(&self, dest: *mut gfxFontFeatureValueSet) { + for ref family in self.family_names.iter() { + let family = family.name.to_ascii_lowercase(); + $( + if self.$ident.len() > 0 { + for val in self.$ident.iter() { + let mut array = unsafe { + Gecko_AppendFeatureValueHashEntry( + dest, + family.as_ptr(), + structs::$gecko_enum, + val.name.as_ptr() + ) + }; + val.value.to_gecko_font_feature_values(&mut array); + } + } + )* + } + } } impl ToCssWithGuard for FontFeatureValuesRule { @@ -366,31 +440,32 @@ font_feature_values_blocks! { #[doc = "A @swash blocksck. \ Specifies a feature name that will work with the swash() \ functional notation of font-variant-alternates."] - "swash" swash / Swash: SingleValue, + "swash" swash / Swash / NS_FONT_VARIANT_ALTERNATES_SWASH: SingleValue, #[doc = "A @stylistic block. \ Specifies a feature name that will work with the annotation() \ functional notation of font-variant-alternates."] - "stylistic" stylistic / Stylistic: SingleValue, + "stylistic" stylistic / Stylistic / NS_FONT_VARIANT_ALTERNATES_STYLISTIC: SingleValue, #[doc = "A @ornaments block. \ Specifies a feature name that will work with the ornaments() ] \ functional notation of font-variant-alternates."] - "ornaments" ornaments / Ornaments: SingleValue, + "ornaments" ornaments / Ornaments / NS_FONT_VARIANT_ALTERNATES_ORNAMENTS: SingleValue, #[doc = "A @annotation block. \ Specifies a feature name that will work with the stylistic() \ functional notation of font-variant-alternates."] - "annotation" annotation / Annotation: SingleValue, + "annotation" annotation / Annotation / NS_FONT_VARIANT_ALTERNATES_ANNOTATION: SingleValue, #[doc = "A @character-variant block. \ Specifies a feature name that will work with the styleset() \ functional notation of font-variant-alternates. The value can be a pair."] - "character-variant" character_variant / CharacterVariant: PairValues, + "character-variant" character_variant / CharacterVariant / NS_FONT_VARIANT_ALTERNATES_CHARACTER_VARIANT: + PairValues, #[doc = "A @styleset block. \ Specifies a feature name that will work with the character-variant() \ functional notation of font-variant-alternates. The value can be a list."] - "styleset" styleset / Styleset: VectorValues, + "styleset" styleset / Styleset / NS_FONT_VARIANT_ALTERNATES_STYLESET: VectorValues, ] } diff --git a/components/style/stylist.rs b/components/style/stylist.rs index b8e587dad92..6e92058a96e 100644 --- a/components/style/stylist.rs +++ b/components/style/stylist.rs @@ -40,7 +40,7 @@ use std::ops; use style_traits::viewport::ViewportConstraints; use stylesheet_set::{OriginValidity, SheetRebuildKind, StylesheetSet, StylesheetIterator, StylesheetFlusher}; #[cfg(feature = "gecko")] -use stylesheets::{CounterStyleRule, FontFaceRule}; +use stylesheets::{CounterStyleRule, FontFaceRule, FontFeatureValuesRule}; use stylesheets::{CssRule, StyleRule}; use stylesheets::{StylesheetInDocument, Origin, OriginSet, PerOrigin, PerOriginIter}; use stylesheets::UserAgentStylesheets; @@ -338,13 +338,19 @@ impl DocumentCascadeData { CssRule::FontFace(ref rule) => { _extra_data .borrow_mut_for_origin(&origin) - .add_font_face(&rule); + .add_font_face(rule); + } + #[cfg(feature = "gecko")] + CssRule::FontFeatureValues(ref rule) => { + _extra_data + .borrow_mut_for_origin(&origin) + .add_font_feature_values(rule); } #[cfg(feature = "gecko")] CssRule::CounterStyle(ref rule) => { _extra_data .borrow_mut_for_origin(&origin) - .add_counter_style(guard, &rule); + .add_counter_style(guard, rule); } // We don't care about any other rule. _ => {} @@ -1516,6 +1522,10 @@ pub struct ExtraStyleData { #[cfg(feature = "gecko")] pub font_faces: Vec>>, + /// A list of effective font-feature-values rules. + #[cfg(feature = "gecko")] + pub font_feature_values: Vec>>, + /// A map of effective counter-style rules. #[cfg(feature = "gecko")] pub counter_styles: PrecomputedHashMap>>, @@ -1528,6 +1538,11 @@ impl ExtraStyleData { self.font_faces.push(rule.clone()); } + /// Add the given @font-feature-values rule. + fn add_font_feature_values(&mut self, rule: &Arc>) { + self.font_feature_values.push(rule.clone()); + } + /// Add the given @counter-style rule. fn add_counter_style( &mut self, @@ -1544,6 +1559,7 @@ impl ExtraStyleData { #[cfg(feature = "gecko")] { self.font_faces.clear(); + self.font_feature_values.clear(); self.counter_styles.clear(); } } diff --git a/ports/geckolib/glue.rs b/ports/geckolib/glue.rs index 0270c30bcf4..85c9362d05b 100644 --- a/ports/geckolib/glue.rs +++ b/ports/geckolib/glue.rs @@ -87,6 +87,7 @@ use style::gecko_bindings::structs::ServoElementSnapshotTable; use style::gecko_bindings::structs::ServoTraversalFlags; use style::gecko_bindings::structs::StyleRuleInclusion; use style::gecko_bindings::structs::URLExtraData; +use style::gecko_bindings::structs::gfxFontFeatureValueSet; use style::gecko_bindings::structs::nsCSSValueSharedList; use style::gecko_bindings::structs::nsCompatibility; use style::gecko_bindings::structs::nsIDocument; @@ -3517,6 +3518,30 @@ pub extern "C" fn Servo_StyleSet_GetCounterStyleRule(raw_data: RawServoStyleSetB }).unwrap_or(ptr::null_mut()) } +#[no_mangle] +pub extern "C" fn Servo_StyleSet_BuildFontFeatureValueSet( + raw_data: RawServoStyleSetBorrowed, + set: *mut gfxFontFeatureValueSet +) -> bool { + let data = PerDocumentStyleData::from_ffi(raw_data).borrow(); + + let global_style_data = &*GLOBAL_STYLE_DATA; + let guard = global_style_data.shared_lock.read(); + + let font_feature_values_iter = data.extra_style_data + .iter_origins_rev() + .flat_map(|(d, _)| d.font_feature_values.iter()); + + let mut any_rule = false; + for src in font_feature_values_iter { + any_rule = true; + let rule = src.read_with(&guard); + rule.set_at_rules(set); + } + + any_rule +} + #[no_mangle] pub extern "C" fn Servo_StyleSet_ResolveForDeclarations( raw_data: RawServoStyleSetBorrowed, From 984463fdcb904e4db1c4f6bdaba3afae75e3f76d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Naz=C4=B1m=20Can=20Alt=C4=B1nova?= Date: Thu, 24 Aug 2017 13:33:55 -0700 Subject: [PATCH 3/3] Update bindings --- components/style/gecko/generated/bindings.rs | 25 + .../style/gecko/generated/structs_debug.rs | 878 ++++++++++-------- .../style/gecko/generated/structs_release.rs | 844 ++++++++++------- 3 files changed, 1042 insertions(+), 705 deletions(-) diff --git a/components/style/gecko/generated/bindings.rs b/components/style/gecko/generated/bindings.rs index 8bfbd705c24..21204243368 100644 --- a/components/style/gecko/generated/bindings.rs +++ b/components/style/gecko/generated/bindings.rs @@ -66,6 +66,7 @@ use gecko_bindings::structs::StyleBasicShape; use gecko_bindings::structs::StyleBasicShapeType; use gecko_bindings::structs::StyleShapeSource; use gecko_bindings::structs::StyleTransition; +use gecko_bindings::structs::gfxFontFeatureValueSet; use gecko_bindings::structs::nsBorderColors; use gecko_bindings::structs::nsCSSCounterStyleRule; use gecko_bindings::structs::nsCSSFontFaceRule; @@ -239,6 +240,7 @@ unsafe impl Send for nsStyleTransformMatrix::MatrixTransformOperator {} unsafe impl Sync for nsStyleTransformMatrix::MatrixTransformOperator {} use gecko_bindings::structs::RawGeckoGfxMatrix4x4; pub type nsTArrayBorrowed_uintptr_t<'a> = &'a mut ::gecko_bindings::structs::nsTArray; +pub type nsTArrayBorrowed_uint32_t<'a> = &'a mut ::gecko_bindings::structs::nsTArray; pub type RawServoStyleSetOwned = ::gecko_bindings::sugar::ownership::Owned; pub type RawServoStyleSetOwnedOrNull = ::gecko_bindings::sugar::ownership::OwnedOrNull; pub type RawServoStyleSetBorrowed<'a> = &'a RawServoStyleSet; @@ -910,6 +912,22 @@ extern "C" { extern "C" { pub fn Gecko_nsFont_Destroy(dst: *mut nsFont); } +extern "C" { + pub fn Gecko_AppendFeatureValueHashEntry(value_set: + *mut gfxFontFeatureValueSet, + family: *mut nsIAtom, + alternate: u32, + name: *mut nsIAtom) + -> nsTArrayBorrowed_uint32_t; +} +extern "C" { + pub fn Gecko_nsFont_SetFontFeatureValuesLookup(font: *mut nsFont, + pres_context: + *const RawGeckoPresContext); +} +extern "C" { + pub fn Gecko_nsFont_ResetFontFeatureValuesLookup(font: *mut nsFont); +} extern "C" { pub fn Gecko_ClearAlternateValues(font: *mut nsFont, length: usize); } @@ -2032,6 +2050,13 @@ extern "C" { name: *mut nsIAtom) -> *mut nsCSSCounterStyleRule; } +extern "C" { + pub fn Servo_StyleSet_BuildFontFeatureValueSet(set: + RawServoStyleSetBorrowed, + list: + *mut gfxFontFeatureValueSet) + -> bool; +} extern "C" { pub fn Servo_StyleSet_ResolveForDeclarations(set: RawServoStyleSetBorrowed, diff --git a/components/style/gecko/generated/structs_debug.rs b/components/style/gecko/generated/structs_debug.rs index af92202568e..ff7d3d0436d 100644 --- a/components/style/gecko/generated/structs_debug.rs +++ b/components/style/gecko/generated/structs_debug.rs @@ -1047,8 +1047,6 @@ pub mod root { } pub type pair_first_type<_T1> = _T1; pub type pair_second_type<_T2> = _T2; - pub type pair__PCCP = u8; - pub type pair__PCCFP = u8; #[repr(C)] #[derive(Debug, Copy)] pub struct input_iterator_tag { @@ -12396,12 +12394,11 @@ pub mod root { #[repr(C)] #[derive(Debug)] pub struct gfxFontFeatureValueSet { - pub mRefCnt: root::nsAutoRefCnt, - pub _mOwningThread: root::nsAutoOwningThread, + pub mRefCnt: root::mozilla::ThreadSafeAutoRefCnt, pub mFontFeatureValues: [u64; 6usize], } pub type gfxFontFeatureValueSet_HasThreadSafeRefCnt = - root::mozilla::FalseType; + root::mozilla::TrueType; #[repr(C)] #[derive(Debug)] pub struct gfxFontFeatureValueSet_ValueList { @@ -12556,7 +12553,7 @@ pub mod root { } #[test] fn bindgen_test_layout_gfxFontFeatureValueSet() { - assert_eq!(::std::mem::size_of::() , 64usize , + assert_eq!(::std::mem::size_of::() , 56usize , concat ! ( "Size of: " , stringify ! ( gfxFontFeatureValueSet ) )); assert_eq! (::std::mem::align_of::() , 8usize @@ -12571,14 +12568,7 @@ pub mod root { )); assert_eq! (unsafe { & ( * ( 0 as * const gfxFontFeatureValueSet ) ) . - _mOwningThread as * const _ as usize } , 8usize , concat ! - ( - "Alignment of field: " , stringify ! ( - gfxFontFeatureValueSet ) , "::" , stringify ! ( - _mOwningThread ) )); - assert_eq! (unsafe { - & ( * ( 0 as * const gfxFontFeatureValueSet ) ) . - mFontFeatureValues as * const _ as usize } , 16usize , + mFontFeatureValues as * const _ as usize } , 8usize , concat ! ( "Alignment of field: " , stringify ! ( gfxFontFeatureValueSet ) , "::" , stringify ! ( @@ -16135,7 +16125,7 @@ pub mod root { /// An object implementing nsIDOMNodeList for this content (childNodes) /// @see nsIDOMNodeList /// @see nsGenericHTMLElement::GetChildNodes - pub mChildNodes: root::RefPtr, + pub mChildNodes: root::RefPtr, /// Weak reference to this node. This is cleared by the destructor of /// nsNodeWeakReference. pub mWeakReference: *mut root::nsNodeWeakReference, @@ -20329,6 +20319,7 @@ pub mod root { pub mCounterStyleManager: root::RefPtr, pub mMedium: *mut root::nsIAtom, pub mMediaEmulated: root::nsCOMPtr, + pub mFontFeatureValuesLookup: root::RefPtr, pub mLinkHandler: *mut root::nsILinkHandler, pub mLanguage: root::nsCOMPtr, pub mInflationDisabledForShrinkWrap: bool, @@ -20387,7 +20378,7 @@ pub mod root { pub mTelemetryScrollLastY: root::nscoord, pub mTelemetryScrollMaxY: root::nscoord, pub mTelemetryScrollTotalY: root::nscoord, - pub _bitfield_1: [u8; 6usize], + pub _bitfield_1: [u8; 7usize], pub mLayoutPhaseCount: [u32; 3usize], } pub type nsPresContext_Encoding = root::mozilla::Encoding; @@ -20511,7 +20502,7 @@ pub mod root { } #[test] fn bindgen_test_layout_nsPresContext() { - assert_eq!(::std::mem::size_of::() , 1328usize , concat + assert_eq!(::std::mem::size_of::() , 1336usize , concat ! ( "Size of: " , stringify ! ( nsPresContext ) )); assert_eq! (::std::mem::align_of::() , 8usize , concat ! ( "Alignment of " , stringify ! ( nsPresContext ) )); @@ -20592,323 +20583,329 @@ pub mod root { * const _ as usize } , 128usize , concat ! ( "Alignment of field: " , stringify ! ( nsPresContext ) , "::" , stringify ! ( mMediaEmulated ) )); + assert_eq! (unsafe { + & ( * ( 0 as * const nsPresContext ) ) . + mFontFeatureValuesLookup as * const _ as usize } , + 136usize , concat ! ( + "Alignment of field: " , stringify ! ( nsPresContext ) , + "::" , stringify ! ( mFontFeatureValuesLookup ) )); assert_eq! (unsafe { & ( * ( 0 as * const nsPresContext ) ) . mLinkHandler as * - const _ as usize } , 136usize , concat ! ( + const _ as usize } , 144usize , concat ! ( "Alignment of field: " , stringify ! ( nsPresContext ) , "::" , stringify ! ( mLinkHandler ) )); assert_eq! (unsafe { & ( * ( 0 as * const nsPresContext ) ) . mLanguage as * - const _ as usize } , 144usize , concat ! ( + const _ as usize } , 152usize , concat ! ( "Alignment of field: " , stringify ! ( nsPresContext ) , "::" , stringify ! ( mLanguage ) )); assert_eq! (unsafe { & ( * ( 0 as * const nsPresContext ) ) . mInflationDisabledForShrinkWrap as * const _ as usize } , - 152usize , concat ! ( + 160usize , concat ! ( "Alignment of field: " , stringify ! ( nsPresContext ) , "::" , stringify ! ( mInflationDisabledForShrinkWrap ) )); assert_eq! (unsafe { & ( * ( 0 as * const nsPresContext ) ) . mContainer as * - const _ as usize } , 160usize , concat ! ( + const _ as usize } , 168usize , concat ! ( "Alignment of field: " , stringify ! ( nsPresContext ) , "::" , stringify ! ( mContainer ) )); assert_eq! (unsafe { & ( * ( 0 as * const nsPresContext ) ) . mBaseMinFontSize - as * const _ as usize } , 168usize , concat ! ( + as * const _ as usize } , 176usize , concat ! ( "Alignment of field: " , stringify ! ( nsPresContext ) , "::" , stringify ! ( mBaseMinFontSize ) )); assert_eq! (unsafe { & ( * ( 0 as * const nsPresContext ) ) . mSystemFontScale - as * const _ as usize } , 172usize , concat ! ( + as * const _ as usize } , 180usize , concat ! ( "Alignment of field: " , stringify ! ( nsPresContext ) , "::" , stringify ! ( mSystemFontScale ) )); assert_eq! (unsafe { & ( * ( 0 as * const nsPresContext ) ) . mTextZoom as * - const _ as usize } , 176usize , concat ! ( + const _ as usize } , 184usize , concat ! ( "Alignment of field: " , stringify ! ( nsPresContext ) , "::" , stringify ! ( mTextZoom ) )); assert_eq! (unsafe { & ( * ( 0 as * const nsPresContext ) ) . - mEffectiveTextZoom as * const _ as usize } , 180usize , + mEffectiveTextZoom as * const _ as usize } , 188usize , concat ! ( "Alignment of field: " , stringify ! ( nsPresContext ) , "::" , stringify ! ( mEffectiveTextZoom ) )); assert_eq! (unsafe { & ( * ( 0 as * const nsPresContext ) ) . mFullZoom as * - const _ as usize } , 184usize , concat ! ( + const _ as usize } , 192usize , concat ! ( "Alignment of field: " , stringify ! ( nsPresContext ) , "::" , stringify ! ( mFullZoom ) )); assert_eq! (unsafe { & ( * ( 0 as * const nsPresContext ) ) . mOverrideDPPX as - * const _ as usize } , 188usize , concat ! ( + * const _ as usize } , 196usize , concat ! ( "Alignment of field: " , stringify ! ( nsPresContext ) , "::" , stringify ! ( mOverrideDPPX ) )); assert_eq! (unsafe { & ( * ( 0 as * const nsPresContext ) ) . mLastFontInflationScreenSize as * const _ as usize } , - 192usize , concat ! ( + 200usize , concat ! ( "Alignment of field: " , stringify ! ( nsPresContext ) , "::" , stringify ! ( mLastFontInflationScreenSize ) )); assert_eq! (unsafe { & ( * ( 0 as * const nsPresContext ) ) . - mCurAppUnitsPerDevPixel as * const _ as usize } , 208usize + mCurAppUnitsPerDevPixel as * const _ as usize } , 216usize , concat ! ( "Alignment of field: " , stringify ! ( nsPresContext ) , "::" , stringify ! ( mCurAppUnitsPerDevPixel ) )); assert_eq! (unsafe { & ( * ( 0 as * const nsPresContext ) ) . mAutoQualityMinFontSizePixelsPref as * const _ as usize } - , 212usize , concat ! ( + , 220usize , concat ! ( "Alignment of field: " , stringify ! ( nsPresContext ) , "::" , stringify ! ( mAutoQualityMinFontSizePixelsPref ) )); assert_eq! (unsafe { & ( * ( 0 as * const nsPresContext ) ) . mTheme as * const - _ as usize } , 216usize , concat ! ( + _ as usize } , 224usize , concat ! ( "Alignment of field: " , stringify ! ( nsPresContext ) , "::" , stringify ! ( mTheme ) )); assert_eq! (unsafe { & ( * ( 0 as * const nsPresContext ) ) . mLangService as * - const _ as usize } , 224usize , concat ! ( + const _ as usize } , 232usize , concat ! ( "Alignment of field: " , stringify ! ( nsPresContext ) , "::" , stringify ! ( mLangService ) )); assert_eq! (unsafe { & ( * ( 0 as * const nsPresContext ) ) . mPrintSettings as - * const _ as usize } , 232usize , concat ! ( + * const _ as usize } , 240usize , concat ! ( "Alignment of field: " , stringify ! ( nsPresContext ) , "::" , stringify ! ( mPrintSettings ) )); assert_eq! (unsafe { & ( * ( 0 as * const nsPresContext ) ) . mPrefChangedTimer - as * const _ as usize } , 240usize , concat ! ( + as * const _ as usize } , 248usize , concat ! ( "Alignment of field: " , stringify ! ( nsPresContext ) , "::" , stringify ! ( mPrefChangedTimer ) )); assert_eq! (unsafe { & ( * ( 0 as * const nsPresContext ) ) . mBidiEngine as * - const _ as usize } , 248usize , concat ! ( + const _ as usize } , 256usize , concat ! ( "Alignment of field: " , stringify ! ( nsPresContext ) , "::" , stringify ! ( mBidiEngine ) )); assert_eq! (unsafe { & ( * ( 0 as * const nsPresContext ) ) . mTransactions as - * const _ as usize } , 256usize , concat ! ( + * const _ as usize } , 264usize , concat ! ( "Alignment of field: " , stringify ! ( nsPresContext ) , "::" , stringify ! ( mTransactions ) )); assert_eq! (unsafe { & ( * ( 0 as * const nsPresContext ) ) . mTextPerf as * - const _ as usize } , 336usize , concat ! ( + const _ as usize } , 344usize , concat ! ( "Alignment of field: " , stringify ! ( nsPresContext ) , "::" , stringify ! ( mTextPerf ) )); assert_eq! (unsafe { & ( * ( 0 as * const nsPresContext ) ) . mMissingFonts as - * const _ as usize } , 344usize , concat ! ( + * const _ as usize } , 352usize , concat ! ( "Alignment of field: " , stringify ! ( nsPresContext ) , "::" , stringify ! ( mMissingFonts ) )); assert_eq! (unsafe { & ( * ( 0 as * const nsPresContext ) ) . mVisibleArea as * - const _ as usize } , 352usize , concat ! ( + const _ as usize } , 360usize , concat ! ( "Alignment of field: " , stringify ! ( nsPresContext ) , "::" , stringify ! ( mVisibleArea ) )); assert_eq! (unsafe { & ( * ( 0 as * const nsPresContext ) ) . mPageSize as * - const _ as usize } , 368usize , concat ! ( + const _ as usize } , 376usize , concat ! ( "Alignment of field: " , stringify ! ( nsPresContext ) , "::" , stringify ! ( mPageSize ) )); assert_eq! (unsafe { & ( * ( 0 as * const nsPresContext ) ) . mPageScale as * - const _ as usize } , 376usize , concat ! ( + const _ as usize } , 384usize , concat ! ( "Alignment of field: " , stringify ! ( nsPresContext ) , "::" , stringify ! ( mPageScale ) )); assert_eq! (unsafe { & ( * ( 0 as * const nsPresContext ) ) . mPPScale as * - const _ as usize } , 380usize , concat ! ( + const _ as usize } , 388usize , concat ! ( "Alignment of field: " , stringify ! ( nsPresContext ) , "::" , stringify ! ( mPPScale ) )); assert_eq! (unsafe { & ( * ( 0 as * const nsPresContext ) ) . mDefaultColor as - * const _ as usize } , 384usize , concat ! ( + * const _ as usize } , 392usize , concat ! ( "Alignment of field: " , stringify ! ( nsPresContext ) , "::" , stringify ! ( mDefaultColor ) )); assert_eq! (unsafe { & ( * ( 0 as * const nsPresContext ) ) . mBackgroundColor - as * const _ as usize } , 388usize , concat ! ( + as * const _ as usize } , 396usize , concat ! ( "Alignment of field: " , stringify ! ( nsPresContext ) , "::" , stringify ! ( mBackgroundColor ) )); assert_eq! (unsafe { & ( * ( 0 as * const nsPresContext ) ) . mLinkColor as * - const _ as usize } , 392usize , concat ! ( + const _ as usize } , 400usize , concat ! ( "Alignment of field: " , stringify ! ( nsPresContext ) , "::" , stringify ! ( mLinkColor ) )); assert_eq! (unsafe { & ( * ( 0 as * const nsPresContext ) ) . mActiveLinkColor - as * const _ as usize } , 396usize , concat ! ( + as * const _ as usize } , 404usize , concat ! ( "Alignment of field: " , stringify ! ( nsPresContext ) , "::" , stringify ! ( mActiveLinkColor ) )); assert_eq! (unsafe { & ( * ( 0 as * const nsPresContext ) ) . mVisitedLinkColor - as * const _ as usize } , 400usize , concat ! ( + as * const _ as usize } , 408usize , concat ! ( "Alignment of field: " , stringify ! ( nsPresContext ) , "::" , stringify ! ( mVisitedLinkColor ) )); assert_eq! (unsafe { & ( * ( 0 as * const nsPresContext ) ) . - mFocusBackgroundColor as * const _ as usize } , 404usize , + mFocusBackgroundColor as * const _ as usize } , 412usize , concat ! ( "Alignment of field: " , stringify ! ( nsPresContext ) , "::" , stringify ! ( mFocusBackgroundColor ) )); assert_eq! (unsafe { & ( * ( 0 as * const nsPresContext ) ) . mFocusTextColor - as * const _ as usize } , 408usize , concat ! ( + as * const _ as usize } , 416usize , concat ! ( "Alignment of field: " , stringify ! ( nsPresContext ) , "::" , stringify ! ( mFocusTextColor ) )); assert_eq! (unsafe { & ( * ( 0 as * const nsPresContext ) ) . mBodyTextColor as - * const _ as usize } , 412usize , concat ! ( + * const _ as usize } , 420usize , concat ! ( "Alignment of field: " , stringify ! ( nsPresContext ) , "::" , stringify ! ( mBodyTextColor ) )); assert_eq! (unsafe { & ( * ( 0 as * const nsPresContext ) ) . mViewportScrollbarOverrideNode as * const _ as usize } , - 416usize , concat ! ( + 424usize , concat ! ( "Alignment of field: " , stringify ! ( nsPresContext ) , "::" , stringify ! ( mViewportScrollbarOverrideNode ) )); assert_eq! (unsafe { & ( * ( 0 as * const nsPresContext ) ) . - mViewportStyleScrollbar as * const _ as usize } , 424usize + mViewportStyleScrollbar as * const _ as usize } , 432usize , concat ! ( "Alignment of field: " , stringify ! ( nsPresContext ) , "::" , stringify ! ( mViewportStyleScrollbar ) )); assert_eq! (unsafe { & ( * ( 0 as * const nsPresContext ) ) . mFocusRingWidth - as * const _ as usize } , 488usize , concat ! ( + as * const _ as usize } , 496usize , concat ! ( "Alignment of field: " , stringify ! ( nsPresContext ) , "::" , stringify ! ( mFocusRingWidth ) )); assert_eq! (unsafe { & ( * ( 0 as * const nsPresContext ) ) . - mExistThrottledUpdates as * const _ as usize } , 489usize + mExistThrottledUpdates as * const _ as usize } , 497usize , concat ! ( "Alignment of field: " , stringify ! ( nsPresContext ) , "::" , stringify ! ( mExistThrottledUpdates ) )); assert_eq! (unsafe { & ( * ( 0 as * const nsPresContext ) ) . - mImageAnimationMode as * const _ as usize } , 490usize , + mImageAnimationMode as * const _ as usize } , 498usize , concat ! ( "Alignment of field: " , stringify ! ( nsPresContext ) , "::" , stringify ! ( mImageAnimationMode ) )); assert_eq! (unsafe { & ( * ( 0 as * const nsPresContext ) ) . - mImageAnimationModePref as * const _ as usize } , 492usize + mImageAnimationModePref as * const _ as usize } , 500usize , concat ! ( "Alignment of field: " , stringify ! ( nsPresContext ) , "::" , stringify ! ( mImageAnimationModePref ) )); assert_eq! (unsafe { & ( * ( 0 as * const nsPresContext ) ) . - mLangGroupFontPrefs as * const _ as usize } , 496usize , + mLangGroupFontPrefs as * const _ as usize } , 504usize , concat ! ( "Alignment of field: " , stringify ! ( nsPresContext ) , "::" , stringify ! ( mLangGroupFontPrefs ) )); assert_eq! (unsafe { & ( * ( 0 as * const nsPresContext ) ) . - mFontGroupCacheDirty as * const _ as usize } , 1136usize , + mFontGroupCacheDirty as * const _ as usize } , 1144usize , concat ! ( "Alignment of field: " , stringify ! ( nsPresContext ) , "::" , stringify ! ( mFontGroupCacheDirty ) )); assert_eq! (unsafe { & ( * ( 0 as * const nsPresContext ) ) . mLanguagesUsed as - * const _ as usize } , 1144usize , concat ! ( + * const _ as usize } , 1152usize , concat ! ( "Alignment of field: " , stringify ! ( nsPresContext ) , "::" , stringify ! ( mLanguagesUsed ) )); assert_eq! (unsafe { & ( * ( 0 as * const nsPresContext ) ) . mBorderWidthTable - as * const _ as usize } , 1192usize , concat ! ( + as * const _ as usize } , 1200usize , concat ! ( "Alignment of field: " , stringify ! ( nsPresContext ) , "::" , stringify ! ( mBorderWidthTable ) )); assert_eq! (unsafe { & ( * ( 0 as * const nsPresContext ) ) . - mInterruptChecksToSkip as * const _ as usize } , 1204usize + mInterruptChecksToSkip as * const _ as usize } , 1212usize , concat ! ( "Alignment of field: " , stringify ! ( nsPresContext ) , "::" , stringify ! ( mInterruptChecksToSkip ) )); assert_eq! (unsafe { & ( * ( 0 as * const nsPresContext ) ) . mElementsRestyled - as * const _ as usize } , 1208usize , concat ! ( + as * const _ as usize } , 1216usize , concat ! ( "Alignment of field: " , stringify ! ( nsPresContext ) , "::" , stringify ! ( mElementsRestyled ) )); assert_eq! (unsafe { & ( * ( 0 as * const nsPresContext ) ) . - mFramesConstructed as * const _ as usize } , 1216usize , + mFramesConstructed as * const _ as usize } , 1224usize , concat ! ( "Alignment of field: " , stringify ! ( nsPresContext ) , "::" , stringify ! ( mFramesConstructed ) )); assert_eq! (unsafe { & ( * ( 0 as * const nsPresContext ) ) . mFramesReflowed - as * const _ as usize } , 1224usize , concat ! ( + as * const _ as usize } , 1232usize , concat ! ( "Alignment of field: " , stringify ! ( nsPresContext ) , "::" , stringify ! ( mFramesReflowed ) )); assert_eq! (unsafe { & ( * ( 0 as * const nsPresContext ) ) . mReflowStartTime - as * const _ as usize } , 1232usize , concat ! ( + as * const _ as usize } , 1240usize , concat ! ( "Alignment of field: " , stringify ! ( nsPresContext ) , "::" , stringify ! ( mReflowStartTime ) )); assert_eq! (unsafe { & ( * ( 0 as * const nsPresContext ) ) . mFirstNonBlankPaintTime as * const _ as usize } , - 1240usize , concat ! ( + 1248usize , concat ! ( "Alignment of field: " , stringify ! ( nsPresContext ) , "::" , stringify ! ( mFirstNonBlankPaintTime ) )); assert_eq! (unsafe { & ( * ( 0 as * const nsPresContext ) ) . mFirstClickTime - as * const _ as usize } , 1248usize , concat ! ( + as * const _ as usize } , 1256usize , concat ! ( "Alignment of field: " , stringify ! ( nsPresContext ) , "::" , stringify ! ( mFirstClickTime ) )); assert_eq! (unsafe { & ( * ( 0 as * const nsPresContext ) ) . mFirstKeyTime as - * const _ as usize } , 1256usize , concat ! ( + * const _ as usize } , 1264usize , concat ! ( "Alignment of field: " , stringify ! ( nsPresContext ) , "::" , stringify ! ( mFirstKeyTime ) )); assert_eq! (unsafe { & ( * ( 0 as * const nsPresContext ) ) . - mFirstMouseMoveTime as * const _ as usize } , 1264usize , + mFirstMouseMoveTime as * const _ as usize } , 1272usize , concat ! ( "Alignment of field: " , stringify ! ( nsPresContext ) , "::" , stringify ! ( mFirstMouseMoveTime ) )); assert_eq! (unsafe { & ( * ( 0 as * const nsPresContext ) ) . mFirstScrollTime - as * const _ as usize } , 1272usize , concat ! ( + as * const _ as usize } , 1280usize , concat ! ( "Alignment of field: " , stringify ! ( nsPresContext ) , "::" , stringify ! ( mFirstScrollTime ) )); assert_eq! (unsafe { & ( * ( 0 as * const nsPresContext ) ) . mInteractionTimeEnabled as * const _ as usize } , - 1280usize , concat ! ( + 1288usize , concat ! ( "Alignment of field: " , stringify ! ( nsPresContext ) , "::" , stringify ! ( mInteractionTimeEnabled ) )); assert_eq! (unsafe { & ( * ( 0 as * const nsPresContext ) ) . mLastStyleUpdateForAllAnimations as * const _ as usize } , - 1288usize , concat ! ( + 1296usize , concat ! ( "Alignment of field: " , stringify ! ( nsPresContext ) , "::" , stringify ! ( mLastStyleUpdateForAllAnimations ) )); assert_eq! (unsafe { & ( * ( 0 as * const nsPresContext ) ) . - mTelemetryScrollLastY as * const _ as usize } , 1296usize + mTelemetryScrollLastY as * const _ as usize } , 1304usize , concat ! ( "Alignment of field: " , stringify ! ( nsPresContext ) , "::" , stringify ! ( mTelemetryScrollLastY ) )); assert_eq! (unsafe { & ( * ( 0 as * const nsPresContext ) ) . - mTelemetryScrollMaxY as * const _ as usize } , 1300usize , + mTelemetryScrollMaxY as * const _ as usize } , 1308usize , concat ! ( "Alignment of field: " , stringify ! ( nsPresContext ) , "::" , stringify ! ( mTelemetryScrollMaxY ) )); assert_eq! (unsafe { & ( * ( 0 as * const nsPresContext ) ) . - mTelemetryScrollTotalY as * const _ as usize } , 1304usize + mTelemetryScrollTotalY as * const _ as usize } , 1312usize , concat ! ( "Alignment of field: " , stringify ! ( nsPresContext ) , "::" , stringify ! ( mTelemetryScrollTotalY ) )); assert_eq! (unsafe { & ( * ( 0 as * const nsPresContext ) ) . mLayoutPhaseCount - as * const _ as usize } , 1316usize , concat ! ( + as * const _ as usize } , 1324usize , concat ! ( "Alignment of field: " , stringify ! ( nsPresContext ) , "::" , stringify ! ( mLayoutPhaseCount ) )); } @@ -22155,7 +22152,7 @@ pub mod root { } } #[inline] - pub fn mSuppressResizeReflow(&self) -> ::std::os::raw::c_uint { + pub fn mFontFeatureValuesDirty(&self) -> ::std::os::raw::c_uint { let mut unit_field_val: u64 = unsafe { ::std::mem::uninitialized() }; unsafe { @@ -22170,8 +22167,8 @@ pub mod root { unsafe { ::std::mem::transmute(val as u32) } } #[inline] - pub fn set_mSuppressResizeReflow(&mut self, - val: ::std::os::raw::c_uint) { + pub fn set_mFontFeatureValuesDirty(&mut self, + val: ::std::os::raw::c_uint) { let mask = 8589934592u64 as u64; let val = val as u32 as u64; let mut unit_field_val: u64 = @@ -22194,7 +22191,8 @@ pub mod root { } } #[inline] - pub fn mIsVisual(&self) -> ::std::os::raw::c_uint { + pub fn mPostedFlushFontFeatureValues(&self) + -> ::std::os::raw::c_uint { let mut unit_field_val: u64 = unsafe { ::std::mem::uninitialized() }; unsafe { @@ -22209,7 +22207,9 @@ pub mod root { unsafe { ::std::mem::transmute(val as u32) } } #[inline] - pub fn set_mIsVisual(&mut self, val: ::std::os::raw::c_uint) { + pub fn set_mPostedFlushFontFeatureValues(&mut self, + val: + ::std::os::raw::c_uint) { let mask = 17179869184u64 as u64; let val = val as u32 as u64; let mut unit_field_val: u64 = @@ -22232,7 +22232,7 @@ pub mod root { } } #[inline] - pub fn mFireAfterPaintEvents(&self) -> ::std::os::raw::c_uint { + pub fn mSuppressResizeReflow(&self) -> ::std::os::raw::c_uint { let mut unit_field_val: u64 = unsafe { ::std::mem::uninitialized() }; unsafe { @@ -22247,7 +22247,7 @@ pub mod root { unsafe { ::std::mem::transmute(val as u32) } } #[inline] - pub fn set_mFireAfterPaintEvents(&mut self, + pub fn set_mSuppressResizeReflow(&mut self, val: ::std::os::raw::c_uint) { let mask = 34359738368u64 as u64; let val = val as u32 as u64; @@ -22271,7 +22271,7 @@ pub mod root { } } #[inline] - pub fn mIsChrome(&self) -> ::std::os::raw::c_uint { + pub fn mIsVisual(&self) -> ::std::os::raw::c_uint { let mut unit_field_val: u64 = unsafe { ::std::mem::uninitialized() }; unsafe { @@ -22286,7 +22286,7 @@ pub mod root { unsafe { ::std::mem::transmute(val as u32) } } #[inline] - pub fn set_mIsChrome(&mut self, val: ::std::os::raw::c_uint) { + pub fn set_mIsVisual(&mut self, val: ::std::os::raw::c_uint) { let mask = 68719476736u64 as u64; let val = val as u32 as u64; let mut unit_field_val: u64 = @@ -22309,7 +22309,7 @@ pub mod root { } } #[inline] - pub fn mIsChromeOriginImage(&self) -> ::std::os::raw::c_uint { + pub fn mFireAfterPaintEvents(&self) -> ::std::os::raw::c_uint { let mut unit_field_val: u64 = unsafe { ::std::mem::uninitialized() }; unsafe { @@ -22324,8 +22324,8 @@ pub mod root { unsafe { ::std::mem::transmute(val as u32) } } #[inline] - pub fn set_mIsChromeOriginImage(&mut self, - val: ::std::os::raw::c_uint) { + pub fn set_mFireAfterPaintEvents(&mut self, + val: ::std::os::raw::c_uint) { let mask = 137438953472u64 as u64; let val = val as u32 as u64; let mut unit_field_val: u64 = @@ -22348,7 +22348,7 @@ pub mod root { } } #[inline] - pub fn mPaintFlashing(&self) -> ::std::os::raw::c_uint { + pub fn mIsChrome(&self) -> ::std::os::raw::c_uint { let mut unit_field_val: u64 = unsafe { ::std::mem::uninitialized() }; unsafe { @@ -22363,7 +22363,7 @@ pub mod root { unsafe { ::std::mem::transmute(val as u32) } } #[inline] - pub fn set_mPaintFlashing(&mut self, val: ::std::os::raw::c_uint) { + pub fn set_mIsChrome(&mut self, val: ::std::os::raw::c_uint) { let mask = 274877906944u64 as u64; let val = val as u32 as u64; let mut unit_field_val: u64 = @@ -22386,7 +22386,7 @@ pub mod root { } } #[inline] - pub fn mPaintFlashingInitialized(&self) -> ::std::os::raw::c_uint { + pub fn mIsChromeOriginImage(&self) -> ::std::os::raw::c_uint { let mut unit_field_val: u64 = unsafe { ::std::mem::uninitialized() }; unsafe { @@ -22401,8 +22401,8 @@ pub mod root { unsafe { ::std::mem::transmute(val as u32) } } #[inline] - pub fn set_mPaintFlashingInitialized(&mut self, - val: ::std::os::raw::c_uint) { + pub fn set_mIsChromeOriginImage(&mut self, + val: ::std::os::raw::c_uint) { let mask = 549755813888u64 as u64; let val = val as u32 as u64; let mut unit_field_val: u64 = @@ -22425,8 +22425,7 @@ pub mod root { } } #[inline] - pub fn mHasWarnedAboutPositionedTableParts(&self) - -> ::std::os::raw::c_uint { + pub fn mPaintFlashing(&self) -> ::std::os::raw::c_uint { let mut unit_field_val: u64 = unsafe { ::std::mem::uninitialized() }; unsafe { @@ -22441,9 +22440,7 @@ pub mod root { unsafe { ::std::mem::transmute(val as u32) } } #[inline] - pub fn set_mHasWarnedAboutPositionedTableParts(&mut self, - val: - ::std::os::raw::c_uint) { + pub fn set_mPaintFlashing(&mut self, val: ::std::os::raw::c_uint) { let mask = 1099511627776u64 as u64; let val = val as u32 as u64; let mut unit_field_val: u64 = @@ -22466,8 +22463,7 @@ pub mod root { } } #[inline] - pub fn mHasWarnedAboutTooLargeDashedOrDottedRadius(&self) - -> ::std::os::raw::c_uint { + pub fn mPaintFlashingInitialized(&self) -> ::std::os::raw::c_uint { let mut unit_field_val: u64 = unsafe { ::std::mem::uninitialized() }; unsafe { @@ -22482,9 +22478,8 @@ pub mod root { unsafe { ::std::mem::transmute(val as u32) } } #[inline] - pub fn set_mHasWarnedAboutTooLargeDashedOrDottedRadius(&mut self, - val: - ::std::os::raw::c_uint) { + pub fn set_mPaintFlashingInitialized(&mut self, + val: ::std::os::raw::c_uint) { let mask = 2199023255552u64 as u64; let val = val as u32 as u64; let mut unit_field_val: u64 = @@ -22507,7 +22502,8 @@ pub mod root { } } #[inline] - pub fn mQuirkSheetAdded(&self) -> ::std::os::raw::c_uint { + pub fn mHasWarnedAboutPositionedTableParts(&self) + -> ::std::os::raw::c_uint { let mut unit_field_val: u64 = unsafe { ::std::mem::uninitialized() }; unsafe { @@ -22522,7 +22518,9 @@ pub mod root { unsafe { ::std::mem::transmute(val as u32) } } #[inline] - pub fn set_mQuirkSheetAdded(&mut self, val: ::std::os::raw::c_uint) { + pub fn set_mHasWarnedAboutPositionedTableParts(&mut self, + val: + ::std::os::raw::c_uint) { let mask = 4398046511104u64 as u64; let val = val as u32 as u64; let mut unit_field_val: u64 = @@ -22545,7 +22543,8 @@ pub mod root { } } #[inline] - pub fn mNeedsPrefUpdate(&self) -> ::std::os::raw::c_uint { + pub fn mHasWarnedAboutTooLargeDashedOrDottedRadius(&self) + -> ::std::os::raw::c_uint { let mut unit_field_val: u64 = unsafe { ::std::mem::uninitialized() }; unsafe { @@ -22560,7 +22559,9 @@ pub mod root { unsafe { ::std::mem::transmute(val as u32) } } #[inline] - pub fn set_mNeedsPrefUpdate(&mut self, val: ::std::os::raw::c_uint) { + pub fn set_mHasWarnedAboutTooLargeDashedOrDottedRadius(&mut self, + val: + ::std::os::raw::c_uint) { let mask = 8796093022208u64 as u64; let val = val as u32 as u64; let mut unit_field_val: u64 = @@ -22583,7 +22584,7 @@ pub mod root { } } #[inline] - pub fn mHadNonBlankPaint(&self) -> ::std::os::raw::c_uint { + pub fn mQuirkSheetAdded(&self) -> ::std::os::raw::c_uint { let mut unit_field_val: u64 = unsafe { ::std::mem::uninitialized() }; unsafe { @@ -22598,7 +22599,7 @@ pub mod root { unsafe { ::std::mem::transmute(val as u32) } } #[inline] - pub fn set_mHadNonBlankPaint(&mut self, val: ::std::os::raw::c_uint) { + pub fn set_mQuirkSheetAdded(&mut self, val: ::std::os::raw::c_uint) { let mask = 17592186044416u64 as u64; let val = val as u32 as u64; let mut unit_field_val: u64 = @@ -22621,7 +22622,7 @@ pub mod root { } } #[inline] - pub fn mRestyleLoggingEnabled(&self) -> ::std::os::raw::c_uint { + pub fn mNeedsPrefUpdate(&self) -> ::std::os::raw::c_uint { let mut unit_field_val: u64 = unsafe { ::std::mem::uninitialized() }; unsafe { @@ -22636,8 +22637,7 @@ pub mod root { unsafe { ::std::mem::transmute(val as u32) } } #[inline] - pub fn set_mRestyleLoggingEnabled(&mut self, - val: ::std::os::raw::c_uint) { + pub fn set_mNeedsPrefUpdate(&mut self, val: ::std::os::raw::c_uint) { let mask = 35184372088832u64 as u64; let val = val as u32 as u64; let mut unit_field_val: u64 = @@ -22660,7 +22660,7 @@ pub mod root { } } #[inline] - pub fn mInitialized(&self) -> ::std::os::raw::c_uint { + pub fn mHadNonBlankPaint(&self) -> ::std::os::raw::c_uint { let mut unit_field_val: u64 = unsafe { ::std::mem::uninitialized() }; unsafe { @@ -22675,7 +22675,7 @@ pub mod root { unsafe { ::std::mem::transmute(val as u32) } } #[inline] - pub fn set_mInitialized(&mut self, val: ::std::os::raw::c_uint) { + pub fn set_mHadNonBlankPaint(&mut self, val: ::std::os::raw::c_uint) { let mask = 70368744177664u64 as u64; let val = val as u32 as u64; let mut unit_field_val: u64 = @@ -22698,6 +22698,83 @@ pub mod root { } } #[inline] + pub fn mRestyleLoggingEnabled(&self) -> ::std::os::raw::c_uint { + let mut unit_field_val: u64 = + unsafe { ::std::mem::uninitialized() }; + unsafe { + ::std::ptr::copy_nonoverlapping(&self._bitfield_1 as *const _ + as *const u8, + &mut unit_field_val as + *mut u64 as *mut u8, + ::std::mem::size_of::()) + }; + let mask = 140737488355328u64 as u64; + let val = (unit_field_val & mask) >> 47usize; + unsafe { ::std::mem::transmute(val as u32) } + } + #[inline] + pub fn set_mRestyleLoggingEnabled(&mut self, + val: ::std::os::raw::c_uint) { + let mask = 140737488355328u64 as u64; + let val = val as u32 as u64; + let mut unit_field_val: u64 = + unsafe { ::std::mem::uninitialized() }; + unsafe { + ::std::ptr::copy_nonoverlapping(&self._bitfield_1 as *const _ + as *const u8, + &mut unit_field_val as + *mut u64 as *mut u8, + ::std::mem::size_of::()) + }; + unit_field_val &= !mask; + unit_field_val |= (val << 47usize) & mask; + unsafe { + ::std::ptr::copy_nonoverlapping(&unit_field_val as *const _ as + *const u8, + &mut self._bitfield_1 as + *mut _ as *mut u8, + ::std::mem::size_of::()); + } + } + #[inline] + pub fn mInitialized(&self) -> ::std::os::raw::c_uint { + let mut unit_field_val: u64 = + unsafe { ::std::mem::uninitialized() }; + unsafe { + ::std::ptr::copy_nonoverlapping(&self._bitfield_1 as *const _ + as *const u8, + &mut unit_field_val as + *mut u64 as *mut u8, + ::std::mem::size_of::()) + }; + let mask = 281474976710656u64 as u64; + let val = (unit_field_val & mask) >> 48usize; + unsafe { ::std::mem::transmute(val as u32) } + } + #[inline] + pub fn set_mInitialized(&mut self, val: ::std::os::raw::c_uint) { + let mask = 281474976710656u64 as u64; + let val = val as u32 as u64; + let mut unit_field_val: u64 = + unsafe { ::std::mem::uninitialized() }; + unsafe { + ::std::ptr::copy_nonoverlapping(&self._bitfield_1 as *const _ + as *const u8, + &mut unit_field_val as + *mut u64 as *mut u8, + ::std::mem::size_of::()) + }; + unit_field_val &= !mask; + unit_field_val |= (val << 48usize) & mask; + unsafe { + ::std::ptr::copy_nonoverlapping(&unit_field_val as *const _ as + *const u8, + &mut self._bitfield_1 as + *mut _ as *mut u8, + ::std::mem::size_of::()); + } + } + #[inline] pub fn new_bitfield_1(mHasPendingInterrupt: ::std::os::raw::c_uint, mPendingInterruptFromTest: ::std::os::raw::c_uint, @@ -22738,6 +22815,9 @@ pub mod root { mCounterStylesDirty: ::std::os::raw::c_uint, mPostedFlushCounterStyles: ::std::os::raw::c_uint, + mFontFeatureValuesDirty: ::std::os::raw::c_uint, + mPostedFlushFontFeatureValues: + ::std::os::raw::c_uint, mSuppressResizeReflow: ::std::os::raw::c_uint, mIsVisual: ::std::os::raw::c_uint, mFireAfterPaintEvents: ::std::os::raw::c_uint, @@ -22801,421 +22881,449 @@ pub mod root { ({ ({ ({ - 0 + ({ + ({ + 0 + } + | + ((mHasPendingInterrupt + as + u32 + as + u64) + << + 0usize) + & + (1u64 + as + u64)) + } + | + ((mPendingInterruptFromTest + as + u32 + as + u64) + << + 1usize) + & + (2u64 + as + u64)) } | - ((mHasPendingInterrupt + ((mInterruptsEnabled as u32 as u64) << - 0usize) + 2usize) & - (1u64 + (4u64 as u64)) } | - ((mPendingInterruptFromTest + ((mUseDocumentFonts as u32 as u64) << - 1usize) + 3usize) & - (2u64 + (8u64 as u64)) } | - ((mInterruptsEnabled + ((mUseDocumentColors as u32 as u64) << - 2usize) + 4usize) & - (4u64 + (16u64 as u64)) } | - ((mUseDocumentFonts + ((mUnderlineLinks as u32 as u64) << - 3usize) + 5usize) & - (8u64 + (32u64 as u64)) } | - ((mUseDocumentColors + ((mSendAfterPaintToContent as u32 as u64) << - 4usize) + 6usize) & - (16u64 + (64u64 as u64)) } | - ((mUnderlineLinks + ((mUseFocusColors as u32 as u64) << - 5usize) + 7usize) & - (32u64 + (128u64 as u64)) } | - ((mSendAfterPaintToContent + ((mFocusRingOnAnything as u32 as u64) << - 6usize) + 8usize) & - (64u64 + (256u64 as u64)) } | - ((mUseFocusColors + ((mFocusRingStyle as u32 as u64) << - 7usize) + 9usize) & - (128u64 + (512u64 as u64)) } | - ((mFocusRingOnAnything + ((mDrawImageBackground as u32 as u64) << - 8usize) + 10usize) & - (256u64 + (1024u64 as u64)) } | - ((mFocusRingStyle + ((mDrawColorBackground as u32 as u64) << - 9usize) + 11usize) & - (512u64 + (2048u64 as u64)) } | - ((mDrawImageBackground + ((mNeverAnimate as u32 as u64) << - 10usize) + 12usize) & - (1024u64 + (4096u64 as u64)) } | - ((mDrawColorBackground + ((mIsRenderingOnlySelection as u32 as u64) << - 11usize) + 13usize) & - (2048u64 + (8192u64 as u64)) } | - ((mNeverAnimate + ((mPaginated as u32 as u64) << - 12usize) + 14usize) & - (4096u64 + (16384u64 as u64)) } | - ((mIsRenderingOnlySelection + ((mCanPaginatedScroll as u32 as u64) << - 13usize) + 15usize) & - (8192u64 + (32768u64 as u64)) } | - ((mPaginated + ((mDoScaledTwips as u32 as u64) << - 14usize) + 16usize) & - (16384u64 + (65536u64 as u64)) } | - ((mCanPaginatedScroll + ((mIsRootPaginatedDocument as u32 as u64) << - 15usize) + 17usize) & - (32768u64 + (131072u64 as u64)) } | - ((mDoScaledTwips + ((mPrefBidiDirection as u32 as u64) << - 16usize) + 18usize) & - (65536u64 + (262144u64 as u64)) } | - ((mIsRootPaginatedDocument + ((mPrefScrollbarSide as u32 as u64) << - 17usize) + 19usize) & - (131072u64 + (1572864u64 as u64)) } | - ((mPrefBidiDirection + ((mPendingSysColorChanged as u32 as u64) << - 18usize) + 21usize) & - (262144u64 + (2097152u64 as u64)) } | - ((mPrefScrollbarSide + ((mPendingThemeChanged as u32 as u64) << - 19usize) + 22usize) & - (1572864u64 + (4194304u64 as u64)) } | - ((mPendingSysColorChanged + ((mPendingUIResolutionChanged as u32 as u64) << - 21usize) + 23usize) & - (2097152u64 + (8388608u64 as u64)) } | - ((mPendingThemeChanged + ((mPendingMediaFeatureValuesChanged as u32 as u64) << - 22usize) + 24usize) & - (4194304u64 + (16777216u64 as u64)) } | - ((mPendingUIResolutionChanged + ((mPrefChangePendingNeedsReflow as u32 as u64) << - 23usize) + 25usize) & - (8388608u64 + (33554432u64 as u64)) } | - ((mPendingMediaFeatureValuesChanged + ((mIsEmulatingMedia as u32 as u64) << - 24usize) + 26usize) & - (16777216u64 + (67108864u64 as u64)) } | - ((mPrefChangePendingNeedsReflow + ((mIsGlyph as u32 as u64) << - 25usize) + 27usize) & - (33554432u64 + (134217728u64 as u64)) } | - ((mIsEmulatingMedia + ((mUsesRootEMUnits as u32 as u64) << - 26usize) + 28usize) & - (67108864u64 + (268435456u64 as u64)) } | - ((mIsGlyph + ((mUsesExChUnits as u32 as u64) << - 27usize) + 29usize) & - (134217728u64 + (536870912u64 as u64)) } | - ((mUsesRootEMUnits + ((mPendingViewportChange as u32 as u64) << - 28usize) + 30usize) & - (268435456u64 + (1073741824u64 as u64)) } | - ((mUsesExChUnits + ((mCounterStylesDirty as u32 as u64) << - 29usize) + 31usize) & - (536870912u64 + (2147483648u64 as u64)) } | - ((mPendingViewportChange + ((mPostedFlushCounterStyles as u32 as u64) << - 30usize) + 32usize) & - (1073741824u64 + (4294967296u64 as u64)) } | - ((mCounterStylesDirty + ((mFontFeatureValuesDirty as u32 as u64) << - 31usize) + 33usize) & - (2147483648u64 + (8589934592u64 as u64)) } | - ((mPostedFlushCounterStyles + ((mPostedFlushFontFeatureValues as u32 as u64) << - 32usize) + 34usize) & - (4294967296u64 + (17179869184u64 as u64)) } @@ -23226,9 +23334,9 @@ pub mod root { as u64) << - 33usize) + 35usize) & - (8589934592u64 + (34359738368u64 as u64)) } | @@ -23238,9 +23346,9 @@ pub mod root { as u64) << - 34usize) + 36usize) & - (17179869184u64 + (68719476736u64 as u64)) } | @@ -23250,9 +23358,9 @@ pub mod root { as u64) << - 35usize) + 37usize) & - (34359738368u64 + (137438953472u64 as u64)) } | @@ -23262,56 +23370,56 @@ pub mod root { as u64) << - 36usize) + 38usize) & - (68719476736u64 + (274877906944u64 as u64)) } | ((mIsChromeOriginImage as u32 as u64) << - 37usize) & - (137438953472u64 + 39usize) & + (549755813888u64 as u64)) } | ((mPaintFlashing as u32 as u64) << - 38usize) & - (274877906944u64 + 40usize) & + (1099511627776u64 as u64)) } | ((mPaintFlashingInitialized as u32 as u64) << - 39usize) & - (549755813888u64 as + 41usize) & + (2199023255552u64 as u64)) } | ((mHasWarnedAboutPositionedTableParts as u32 as u64) << - 40usize) & - (1099511627776u64 as u64)) + 42usize) & + (4398046511104u64 as u64)) } | ((mHasWarnedAboutTooLargeDashedOrDottedRadius - as u32 as u64) << 41usize) & - (2199023255552u64 as u64)) + as u32 as u64) << 43usize) & + (8796093022208u64 as u64)) } | ((mQuirkSheetAdded as u32 as u64) << - 42usize) & - (4398046511104u64 as u64)) + 44usize) & + (17592186044416u64 as u64)) } | - ((mNeedsPrefUpdate as u32 as u64) << 43usize) - & (8796093022208u64 as u64)) + ((mNeedsPrefUpdate as u32 as u64) << 45usize) + & (35184372088832u64 as u64)) } | - ((mHadNonBlankPaint as u32 as u64) << 44usize) & - (17592186044416u64 as u64)) + ((mHadNonBlankPaint as u32 as u64) << 46usize) & + (70368744177664u64 as u64)) } | - ((mRestyleLoggingEnabled as u32 as u64) << 45usize) & - (35184372088832u64 as u64)) + ((mRestyleLoggingEnabled as u32 as u64) << 47usize) & + (140737488355328u64 as u64)) } | - ((mInitialized as u32 as u64) << 46usize) & - (70368744177664u64 as u64)) + ((mInitialized as u32 as u64) << 48usize) & + (281474976710656u64 as u64)) } } pub type gfxSize = [u64; 2usize]; @@ -23818,7 +23926,7 @@ pub mod root { } #[repr(C)] #[derive(Debug, Copy, Clone)] - pub struct nsChildContentList { + pub struct nsAttrChildContentList { _unused: [u8; 0], } #[repr(C)] @@ -25207,57 +25315,57 @@ pub mod root { pub struct nsRange { _unused: [u8; 0], } - pub const NODE_HAS_LISTENERMANAGER: root::_bindgen_ty_72 = - _bindgen_ty_72::NODE_HAS_LISTENERMANAGER; - pub const NODE_HAS_PROPERTIES: root::_bindgen_ty_72 = - _bindgen_ty_72::NODE_HAS_PROPERTIES; - pub const NODE_IS_ANONYMOUS_ROOT: root::_bindgen_ty_72 = - _bindgen_ty_72::NODE_IS_ANONYMOUS_ROOT; - pub const NODE_IS_IN_NATIVE_ANONYMOUS_SUBTREE: root::_bindgen_ty_72 = - _bindgen_ty_72::NODE_IS_IN_NATIVE_ANONYMOUS_SUBTREE; - pub const NODE_IS_NATIVE_ANONYMOUS_ROOT: root::_bindgen_ty_72 = - _bindgen_ty_72::NODE_IS_NATIVE_ANONYMOUS_ROOT; - pub const NODE_FORCE_XBL_BINDINGS: root::_bindgen_ty_72 = - _bindgen_ty_72::NODE_FORCE_XBL_BINDINGS; - pub const NODE_MAY_BE_IN_BINDING_MNGR: root::_bindgen_ty_72 = - _bindgen_ty_72::NODE_MAY_BE_IN_BINDING_MNGR; - pub const NODE_IS_EDITABLE: root::_bindgen_ty_72 = - _bindgen_ty_72::NODE_IS_EDITABLE; - pub const NODE_IS_NATIVE_ANONYMOUS: root::_bindgen_ty_72 = - _bindgen_ty_72::NODE_IS_NATIVE_ANONYMOUS; - pub const NODE_IS_IN_SHADOW_TREE: root::_bindgen_ty_72 = - _bindgen_ty_72::NODE_IS_IN_SHADOW_TREE; - pub const NODE_HAS_EMPTY_SELECTOR: root::_bindgen_ty_72 = - _bindgen_ty_72::NODE_HAS_EMPTY_SELECTOR; - pub const NODE_HAS_SLOW_SELECTOR: root::_bindgen_ty_72 = - _bindgen_ty_72::NODE_HAS_SLOW_SELECTOR; - pub const NODE_HAS_EDGE_CHILD_SELECTOR: root::_bindgen_ty_72 = - _bindgen_ty_72::NODE_HAS_EDGE_CHILD_SELECTOR; - pub const NODE_HAS_SLOW_SELECTOR_LATER_SIBLINGS: root::_bindgen_ty_72 = - _bindgen_ty_72::NODE_HAS_SLOW_SELECTOR_LATER_SIBLINGS; - pub const NODE_ALL_SELECTOR_FLAGS: root::_bindgen_ty_72 = - _bindgen_ty_72::NODE_ALL_SELECTOR_FLAGS; - pub const NODE_NEEDS_FRAME: root::_bindgen_ty_72 = - _bindgen_ty_72::NODE_NEEDS_FRAME; - pub const NODE_DESCENDANTS_NEED_FRAMES: root::_bindgen_ty_72 = - _bindgen_ty_72::NODE_DESCENDANTS_NEED_FRAMES; - pub const NODE_HAS_ACCESSKEY: root::_bindgen_ty_72 = - _bindgen_ty_72::NODE_HAS_ACCESSKEY; - pub const NODE_HAS_DIRECTION_RTL: root::_bindgen_ty_72 = - _bindgen_ty_72::NODE_HAS_DIRECTION_RTL; - pub const NODE_HAS_DIRECTION_LTR: root::_bindgen_ty_72 = - _bindgen_ty_72::NODE_HAS_DIRECTION_LTR; - pub const NODE_ALL_DIRECTION_FLAGS: root::_bindgen_ty_72 = - _bindgen_ty_72::NODE_ALL_DIRECTION_FLAGS; - pub const NODE_CHROME_ONLY_ACCESS: root::_bindgen_ty_72 = - _bindgen_ty_72::NODE_CHROME_ONLY_ACCESS; - pub const NODE_IS_ROOT_OF_CHROME_ONLY_ACCESS: root::_bindgen_ty_72 = - _bindgen_ty_72::NODE_IS_ROOT_OF_CHROME_ONLY_ACCESS; - pub const NODE_TYPE_SPECIFIC_BITS_OFFSET: root::_bindgen_ty_72 = - _bindgen_ty_72::NODE_TYPE_SPECIFIC_BITS_OFFSET; + pub const NODE_HAS_LISTENERMANAGER: root::_bindgen_ty_83 = + _bindgen_ty_83::NODE_HAS_LISTENERMANAGER; + pub const NODE_HAS_PROPERTIES: root::_bindgen_ty_83 = + _bindgen_ty_83::NODE_HAS_PROPERTIES; + pub const NODE_IS_ANONYMOUS_ROOT: root::_bindgen_ty_83 = + _bindgen_ty_83::NODE_IS_ANONYMOUS_ROOT; + pub const NODE_IS_IN_NATIVE_ANONYMOUS_SUBTREE: root::_bindgen_ty_83 = + _bindgen_ty_83::NODE_IS_IN_NATIVE_ANONYMOUS_SUBTREE; + pub const NODE_IS_NATIVE_ANONYMOUS_ROOT: root::_bindgen_ty_83 = + _bindgen_ty_83::NODE_IS_NATIVE_ANONYMOUS_ROOT; + pub const NODE_FORCE_XBL_BINDINGS: root::_bindgen_ty_83 = + _bindgen_ty_83::NODE_FORCE_XBL_BINDINGS; + pub const NODE_MAY_BE_IN_BINDING_MNGR: root::_bindgen_ty_83 = + _bindgen_ty_83::NODE_MAY_BE_IN_BINDING_MNGR; + pub const NODE_IS_EDITABLE: root::_bindgen_ty_83 = + _bindgen_ty_83::NODE_IS_EDITABLE; + pub const NODE_IS_NATIVE_ANONYMOUS: root::_bindgen_ty_83 = + _bindgen_ty_83::NODE_IS_NATIVE_ANONYMOUS; + pub const NODE_IS_IN_SHADOW_TREE: root::_bindgen_ty_83 = + _bindgen_ty_83::NODE_IS_IN_SHADOW_TREE; + pub const NODE_HAS_EMPTY_SELECTOR: root::_bindgen_ty_83 = + _bindgen_ty_83::NODE_HAS_EMPTY_SELECTOR; + pub const NODE_HAS_SLOW_SELECTOR: root::_bindgen_ty_83 = + _bindgen_ty_83::NODE_HAS_SLOW_SELECTOR; + pub const NODE_HAS_EDGE_CHILD_SELECTOR: root::_bindgen_ty_83 = + _bindgen_ty_83::NODE_HAS_EDGE_CHILD_SELECTOR; + pub const NODE_HAS_SLOW_SELECTOR_LATER_SIBLINGS: root::_bindgen_ty_83 = + _bindgen_ty_83::NODE_HAS_SLOW_SELECTOR_LATER_SIBLINGS; + pub const NODE_ALL_SELECTOR_FLAGS: root::_bindgen_ty_83 = + _bindgen_ty_83::NODE_ALL_SELECTOR_FLAGS; + pub const NODE_NEEDS_FRAME: root::_bindgen_ty_83 = + _bindgen_ty_83::NODE_NEEDS_FRAME; + pub const NODE_DESCENDANTS_NEED_FRAMES: root::_bindgen_ty_83 = + _bindgen_ty_83::NODE_DESCENDANTS_NEED_FRAMES; + pub const NODE_HAS_ACCESSKEY: root::_bindgen_ty_83 = + _bindgen_ty_83::NODE_HAS_ACCESSKEY; + pub const NODE_HAS_DIRECTION_RTL: root::_bindgen_ty_83 = + _bindgen_ty_83::NODE_HAS_DIRECTION_RTL; + pub const NODE_HAS_DIRECTION_LTR: root::_bindgen_ty_83 = + _bindgen_ty_83::NODE_HAS_DIRECTION_LTR; + pub const NODE_ALL_DIRECTION_FLAGS: root::_bindgen_ty_83 = + _bindgen_ty_83::NODE_ALL_DIRECTION_FLAGS; + pub const NODE_CHROME_ONLY_ACCESS: root::_bindgen_ty_83 = + _bindgen_ty_83::NODE_CHROME_ONLY_ACCESS; + pub const NODE_IS_ROOT_OF_CHROME_ONLY_ACCESS: root::_bindgen_ty_83 = + _bindgen_ty_83::NODE_IS_ROOT_OF_CHROME_ONLY_ACCESS; + pub const NODE_TYPE_SPECIFIC_BITS_OFFSET: root::_bindgen_ty_83 = + _bindgen_ty_83::NODE_TYPE_SPECIFIC_BITS_OFFSET; #[repr(u32)] #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)] - pub enum _bindgen_ty_72 { + pub enum _bindgen_ty_83 { NODE_HAS_LISTENERMANAGER = 4, NODE_HAS_PROPERTIES = 8, NODE_IS_ANONYMOUS_ROOT = 16, @@ -26539,6 +26647,11 @@ pub mod root { } #[repr(C)] #[derive(Debug, Copy, Clone)] + pub struct nsCSSFontFeatureValuesRule { + _unused: [u8; 0], + } + #[repr(C)] + #[derive(Debug, Copy, Clone)] pub struct nsTransitionManager { _unused: [u8; 0], } @@ -32835,46 +32948,46 @@ pub mod root { assert_eq! (::std::mem::align_of::() , 8usize , concat ! ( "Alignment of " , stringify ! ( nsISMILAttr ) )); } - pub const ELEMENT_SHARED_RESTYLE_BIT_1: root::_bindgen_ty_74 = - _bindgen_ty_74::ELEMENT_SHARED_RESTYLE_BIT_1; - pub const ELEMENT_SHARED_RESTYLE_BIT_2: root::_bindgen_ty_74 = - _bindgen_ty_74::ELEMENT_SHARED_RESTYLE_BIT_2; - pub const ELEMENT_SHARED_RESTYLE_BIT_3: root::_bindgen_ty_74 = - _bindgen_ty_74::ELEMENT_SHARED_RESTYLE_BIT_3; - pub const ELEMENT_SHARED_RESTYLE_BIT_4: root::_bindgen_ty_74 = - _bindgen_ty_74::ELEMENT_SHARED_RESTYLE_BIT_4; - pub const ELEMENT_HAS_DIRTY_DESCENDANTS_FOR_SERVO: root::_bindgen_ty_74 = - _bindgen_ty_74::ELEMENT_SHARED_RESTYLE_BIT_1; + pub const ELEMENT_SHARED_RESTYLE_BIT_1: root::_bindgen_ty_85 = + _bindgen_ty_85::ELEMENT_SHARED_RESTYLE_BIT_1; + pub const ELEMENT_SHARED_RESTYLE_BIT_2: root::_bindgen_ty_85 = + _bindgen_ty_85::ELEMENT_SHARED_RESTYLE_BIT_2; + pub const ELEMENT_SHARED_RESTYLE_BIT_3: root::_bindgen_ty_85 = + _bindgen_ty_85::ELEMENT_SHARED_RESTYLE_BIT_3; + pub const ELEMENT_SHARED_RESTYLE_BIT_4: root::_bindgen_ty_85 = + _bindgen_ty_85::ELEMENT_SHARED_RESTYLE_BIT_4; + pub const ELEMENT_HAS_DIRTY_DESCENDANTS_FOR_SERVO: root::_bindgen_ty_85 = + _bindgen_ty_85::ELEMENT_SHARED_RESTYLE_BIT_1; pub const ELEMENT_HAS_ANIMATION_ONLY_DIRTY_DESCENDANTS_FOR_SERVO: - root::_bindgen_ty_74 = - _bindgen_ty_74::ELEMENT_SHARED_RESTYLE_BIT_2; - pub const ELEMENT_HAS_SNAPSHOT: root::_bindgen_ty_74 = - _bindgen_ty_74::ELEMENT_SHARED_RESTYLE_BIT_3; - pub const ELEMENT_HANDLED_SNAPSHOT: root::_bindgen_ty_74 = - _bindgen_ty_74::ELEMENT_SHARED_RESTYLE_BIT_4; - pub const ELEMENT_HAS_PENDING_RESTYLE: root::_bindgen_ty_74 = - _bindgen_ty_74::ELEMENT_SHARED_RESTYLE_BIT_1; - pub const ELEMENT_IS_POTENTIAL_RESTYLE_ROOT: root::_bindgen_ty_74 = - _bindgen_ty_74::ELEMENT_SHARED_RESTYLE_BIT_2; - pub const ELEMENT_HAS_PENDING_ANIMATION_ONLY_RESTYLE: root::_bindgen_ty_74 + root::_bindgen_ty_85 = + _bindgen_ty_85::ELEMENT_SHARED_RESTYLE_BIT_2; + pub const ELEMENT_HAS_SNAPSHOT: root::_bindgen_ty_85 = + _bindgen_ty_85::ELEMENT_SHARED_RESTYLE_BIT_3; + pub const ELEMENT_HANDLED_SNAPSHOT: root::_bindgen_ty_85 = + _bindgen_ty_85::ELEMENT_SHARED_RESTYLE_BIT_4; + pub const ELEMENT_HAS_PENDING_RESTYLE: root::_bindgen_ty_85 = + _bindgen_ty_85::ELEMENT_SHARED_RESTYLE_BIT_1; + pub const ELEMENT_IS_POTENTIAL_RESTYLE_ROOT: root::_bindgen_ty_85 = + _bindgen_ty_85::ELEMENT_SHARED_RESTYLE_BIT_2; + pub const ELEMENT_HAS_PENDING_ANIMATION_ONLY_RESTYLE: root::_bindgen_ty_85 = - _bindgen_ty_74::ELEMENT_SHARED_RESTYLE_BIT_3; + _bindgen_ty_85::ELEMENT_SHARED_RESTYLE_BIT_3; pub const ELEMENT_IS_POTENTIAL_ANIMATION_ONLY_RESTYLE_ROOT: - root::_bindgen_ty_74 = - _bindgen_ty_74::ELEMENT_SHARED_RESTYLE_BIT_4; - pub const ELEMENT_IS_CONDITIONAL_RESTYLE_ANCESTOR: root::_bindgen_ty_74 = - _bindgen_ty_74::ELEMENT_IS_CONDITIONAL_RESTYLE_ANCESTOR; - pub const ELEMENT_PENDING_RESTYLE_FLAGS: root::_bindgen_ty_74 = - _bindgen_ty_74::ELEMENT_PENDING_RESTYLE_FLAGS; - pub const ELEMENT_POTENTIAL_RESTYLE_ROOT_FLAGS: root::_bindgen_ty_74 = - _bindgen_ty_74::ELEMENT_POTENTIAL_RESTYLE_ROOT_FLAGS; - pub const ELEMENT_ALL_RESTYLE_FLAGS: root::_bindgen_ty_74 = - _bindgen_ty_74::ELEMENT_ALL_RESTYLE_FLAGS; - pub const ELEMENT_TYPE_SPECIFIC_BITS_OFFSET: root::_bindgen_ty_74 = - _bindgen_ty_74::ELEMENT_TYPE_SPECIFIC_BITS_OFFSET; + root::_bindgen_ty_85 = + _bindgen_ty_85::ELEMENT_SHARED_RESTYLE_BIT_4; + pub const ELEMENT_IS_CONDITIONAL_RESTYLE_ANCESTOR: root::_bindgen_ty_85 = + _bindgen_ty_85::ELEMENT_IS_CONDITIONAL_RESTYLE_ANCESTOR; + pub const ELEMENT_PENDING_RESTYLE_FLAGS: root::_bindgen_ty_85 = + _bindgen_ty_85::ELEMENT_PENDING_RESTYLE_FLAGS; + pub const ELEMENT_POTENTIAL_RESTYLE_ROOT_FLAGS: root::_bindgen_ty_85 = + _bindgen_ty_85::ELEMENT_POTENTIAL_RESTYLE_ROOT_FLAGS; + pub const ELEMENT_ALL_RESTYLE_FLAGS: root::_bindgen_ty_85 = + _bindgen_ty_85::ELEMENT_ALL_RESTYLE_FLAGS; + pub const ELEMENT_TYPE_SPECIFIC_BITS_OFFSET: root::_bindgen_ty_85 = + _bindgen_ty_85::ELEMENT_TYPE_SPECIFIC_BITS_OFFSET; #[repr(u32)] #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)] - pub enum _bindgen_ty_74 { + pub enum _bindgen_ty_85 { ELEMENT_SHARED_RESTYLE_BIT_1 = 8388608, ELEMENT_SHARED_RESTYLE_BIT_2 = 16777216, ELEMENT_SHARED_RESTYLE_BIT_3 = 33554432, @@ -33265,11 +33378,6 @@ pub mod root { pub type nsBindingList = root::nsTArray>; #[repr(C)] #[derive(Debug, Copy, Clone)] - pub struct nsCSSFontFeatureValuesRule { - _unused: [u8; 0], - } - #[repr(C)] - #[derive(Debug, Copy, Clone)] pub struct nsCSSPageRule { _unused: [u8; 0], } @@ -33706,6 +33814,17 @@ pub mod root { root::nsTArray<::std::os::raw::c_uint> ) )); } #[test] + fn __bindgen_test_layout_nsTArray_open0_unsigned_int_close0_instantiation_4() { + assert_eq!(::std::mem::size_of::>() + , 8usize , concat ! ( + "Size of template specialization: " , stringify ! ( + root::nsTArray<::std::os::raw::c_uint> ) )); + assert_eq!(::std::mem::align_of::>() + , 8usize , concat ! ( + "Alignment of template specialization: " , stringify ! ( + root::nsTArray<::std::os::raw::c_uint> ) )); + } + #[test] fn __bindgen_test_layout_nsTArray_open0_gfxAlternateValue_close0_instantiation() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( @@ -33750,7 +33869,7 @@ pub mod root { root::nsTArray ) )); } #[test] - fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_203496_close0_instantiation() { + fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_220510_close0_instantiation() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -34106,7 +34225,7 @@ pub mod root { root::mozilla::binding_danger::TErrorResult ) )); } #[test] - fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_205330_close0_instantiation() { + fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_222344_close0_instantiation() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -34161,15 +34280,15 @@ pub mod root { root::nsTArray ) )); } #[test] - fn __bindgen_test_layout_RefPtr_open0_nsChildContentList_close0_instantiation() { - assert_eq!(::std::mem::size_of::>() + fn __bindgen_test_layout_RefPtr_open0_nsAttrChildContentList_close0_instantiation() { + assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( - root::RefPtr ) )); - assert_eq!(::std::mem::align_of::>() + root::RefPtr ) )); + assert_eq!(::std::mem::align_of::>() , 8usize , concat ! ( "Alignment of template specialization: " , stringify ! ( - root::RefPtr ) )); + root::RefPtr ) )); } #[test] fn __bindgen_test_layout_UniquePtr_open0_nsTHashtable_open1_nsPtrHashKey_open2_nsRange_close2_close1_DefaultDelete_open1_nsTHashtable_open2_nsPtrHashKey_open3_nsRange_close3_close2_close1_close0_instantiation() { @@ -34267,7 +34386,7 @@ pub mod root { root::JS::DeletePolicy ) )); } #[test] - fn __bindgen_test_layout_iterator_open0_input_iterator_tag_UniquePtr_open1_JSErrorNotes_Note_DeletePolicy_open2_JSErrorNotes_Note_close2_close1_long__bindgen_ty_id_210954__bindgen_ty_id_210961_close0_instantiation() { + fn __bindgen_test_layout_iterator_open0_input_iterator_tag_UniquePtr_open1_JSErrorNotes_Note_DeletePolicy_open2_JSErrorNotes_Note_close2_close1_long__bindgen_ty_id_227974__bindgen_ty_id_227981_close0_instantiation() { assert_eq!(::std::mem::size_of::() , 1usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -34515,7 +34634,7 @@ pub mod root { root::RefPtr ) )); } #[test] - fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_213453_close0_instantiation() { + fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_230461_close0_instantiation() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -34583,7 +34702,7 @@ pub mod root { root::nsCOMPtr ) )); } #[test] - fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_213755_close0_instantiation() { + fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_230763_close0_instantiation() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -34695,7 +34814,7 @@ pub mod root { root::RefPtr ) )); } #[test] - fn __bindgen_test_layout_NotNull_open0__bindgen_ty_id_214304_close0_instantiation() { + fn __bindgen_test_layout_NotNull_open0__bindgen_ty_id_231312_close0_instantiation() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -35110,7 +35229,7 @@ pub mod root { root::RefPtr ) )); } #[test] - fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_214728_close0_instantiation() { + fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_231736_close0_instantiation() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -35200,7 +35319,7 @@ pub mod root { ) )); } #[test] - fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_215128_close0_instantiation() { + fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_232139_close0_instantiation() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -35301,7 +35420,7 @@ pub mod root { root::nsTArray<::nsstring::nsStringRepr> ) )); } #[test] - fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_216101_close0_instantiation() { + fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_233115_close0_instantiation() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -35390,7 +35509,7 @@ pub mod root { root::RefPtr ) )); } #[test] - fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_216406_close0_instantiation() { + fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_233420_close0_instantiation() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -35401,7 +35520,7 @@ pub mod root { root::nsTArray<*mut root::nsIContent> ) )); } #[test] - fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_216411_close0_instantiation() { + fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_233425_close0_instantiation() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -35458,7 +35577,7 @@ pub mod root { root::RefPtr ) )); } #[test] - fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_216902_close0_instantiation() { + fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_233916_close0_instantiation() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -35638,6 +35757,17 @@ pub mod root { root::nsCOMPtr ) )); } #[test] + fn __bindgen_test_layout_RefPtr_open0_gfxFontFeatureValueSet_close0_instantiation_1() { + assert_eq!(::std::mem::size_of::>() + , 8usize , concat ! ( + "Size of template specialization: " , stringify ! ( + root::RefPtr ) )); + assert_eq!(::std::mem::align_of::>() + , 8usize , concat ! ( + "Alignment of template specialization: " , stringify ! ( + root::RefPtr ) )); + } + #[test] fn __bindgen_test_layout_nsCOMPtr_open0_nsIAtom_close0_instantiation_5() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( @@ -36106,7 +36236,7 @@ pub mod root { root::nsCOMPtr ) )); } #[test] - fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_219758_close0_instantiation() { + fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_236688_close0_instantiation() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -36185,7 +36315,7 @@ pub mod root { root::mozilla::DefaultDelete ) )); } #[test] - fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_226043_close0_instantiation() { + fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_242890_close0_instantiation() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -36218,7 +36348,7 @@ pub mod root { root::RefPtr ) )); } #[test] - fn __bindgen_test_layout_Heap_open0__bindgen_ty_id_227212_close0_instantiation() { + fn __bindgen_test_layout_Heap_open0__bindgen_ty_id_244059_close0_instantiation() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -36229,7 +36359,7 @@ pub mod root { root::JS::Heap<*mut root::JSObject> ) )); } #[test] - fn __bindgen_test_layout_Heap_open0__bindgen_ty_id_227216_close0_instantiation() { + fn __bindgen_test_layout_Heap_open0__bindgen_ty_id_244063_close0_instantiation() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -36251,7 +36381,7 @@ pub mod root { root::nsCOMPtr ) )); } #[test] - fn __bindgen_test_layout_TenuredHeap_open0__bindgen_ty_id_227223_close0_instantiation() { + fn __bindgen_test_layout_TenuredHeap_open0__bindgen_ty_id_244070_close0_instantiation() { assert_eq!(::std::mem::size_of::() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -36330,7 +36460,7 @@ pub mod root { ) )); } #[test] - fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_228396_close0_instantiation() { + fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_245175_close0_instantiation() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -36525,7 +36655,7 @@ pub mod root { root::nsTArray ) )); } #[test] - fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_229844_close0_instantiation() { + fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_246623_close0_instantiation() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -36630,7 +36760,7 @@ pub mod root { root::nsRefPtrHashKey ) )); } #[test] - fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_232252_close0_instantiation() { + fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_249031_close0_instantiation() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -37331,7 +37461,7 @@ pub mod root { root::RefPtr ) )); } #[test] - fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_234810_close0_instantiation() { + fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_251589_close0_instantiation() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -37568,7 +37698,7 @@ pub mod root { root::nsCOMPtr ) )); } #[test] - fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_242622_close0_instantiation() { + fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_255758_close0_instantiation() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -37579,7 +37709,7 @@ pub mod root { root::nsTArray<*mut root::nsIContent> ) )); } #[test] - fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_242627_close0_instantiation() { + fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_255763_close0_instantiation() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -37667,7 +37797,7 @@ pub mod root { root::RefPtr ) )); } #[test] - fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_242740_close0_instantiation() { + fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_255876_close0_instantiation() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -37954,7 +38084,7 @@ pub mod root { ) )); } #[test] - fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_244326_close0_instantiation() { + fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_257462_close0_instantiation() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -37976,7 +38106,29 @@ pub mod root { root::RefPtr ) )); } #[test] - fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_244488_close0_instantiation() { + fn __bindgen_test_layout_nsTArray_open0_unsigned_int_close0_instantiation_5() { + assert_eq!(::std::mem::size_of::>() + , 8usize , concat ! ( + "Size of template specialization: " , stringify ! ( + root::nsTArray<::std::os::raw::c_uint> ) )); + assert_eq!(::std::mem::align_of::>() + , 8usize , concat ! ( + "Alignment of template specialization: " , stringify ! ( + root::nsTArray<::std::os::raw::c_uint> ) )); + } + #[test] + fn __bindgen_test_layout_nsTArray_open0_unsigned_int_close0_instantiation_6() { + assert_eq!(::std::mem::size_of::>() + , 8usize , concat ! ( + "Size of template specialization: " , stringify ! ( + root::nsTArray<::std::os::raw::c_uint> ) )); + assert_eq!(::std::mem::align_of::>() + , 8usize , concat ! ( + "Alignment of template specialization: " , stringify ! ( + root::nsTArray<::std::os::raw::c_uint> ) )); + } + #[test] + fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_257634_close0_instantiation() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -37987,7 +38139,7 @@ pub mod root { root::nsTArray<*mut root::nsIContent> ) )); } #[test] - fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_244493_close0_instantiation() { + fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_257639_close0_instantiation() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -38119,7 +38271,7 @@ pub mod root { root::nsTArray ) )); } #[test] - fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_246732_close0_instantiation() { + fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_259892_close0_instantiation() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -38130,7 +38282,7 @@ pub mod root { root::nsTArray<*mut root::mozilla::css::DocumentRule> ) )); } #[test] - fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_246740_close0_instantiation() { + fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_259900_close0_instantiation() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( diff --git a/components/style/gecko/generated/structs_release.rs b/components/style/gecko/generated/structs_release.rs index 3eca68919f1..6a7e959abc6 100644 --- a/components/style/gecko/generated/structs_release.rs +++ b/components/style/gecko/generated/structs_release.rs @@ -1047,8 +1047,6 @@ pub mod root { } pub type pair_first_type<_T1> = _T1; pub type pair_second_type<_T2> = _T2; - pub type pair__PCCP = u8; - pub type pair__PCCFP = u8; #[repr(C)] #[derive(Debug, Copy)] pub struct input_iterator_tag { @@ -12195,11 +12193,11 @@ pub mod root { #[repr(C)] #[derive(Debug)] pub struct gfxFontFeatureValueSet { - pub mRefCnt: root::nsAutoRefCnt, + pub mRefCnt: root::mozilla::ThreadSafeAutoRefCnt, pub mFontFeatureValues: [u64; 5usize], } pub type gfxFontFeatureValueSet_HasThreadSafeRefCnt = - root::mozilla::FalseType; + root::mozilla::TrueType; #[repr(C)] #[derive(Debug)] pub struct gfxFontFeatureValueSet_ValueList { @@ -15926,7 +15924,7 @@ pub mod root { /// An object implementing nsIDOMNodeList for this content (childNodes) /// @see nsIDOMNodeList /// @see nsGenericHTMLElement::GetChildNodes - pub mChildNodes: root::RefPtr, + pub mChildNodes: root::RefPtr, /// Weak reference to this node. This is cleared by the destructor of /// nsNodeWeakReference. pub mWeakReference: *mut root::nsNodeWeakReference, @@ -20078,6 +20076,7 @@ pub mod root { pub mCounterStyleManager: root::RefPtr, pub mMedium: *mut root::nsIAtom, pub mMediaEmulated: root::nsCOMPtr, + pub mFontFeatureValuesLookup: root::RefPtr, pub mLinkHandler: *mut root::nsILinkHandler, pub mLanguage: root::nsCOMPtr, pub mInflationDisabledForShrinkWrap: bool, @@ -20260,7 +20259,7 @@ pub mod root { } #[test] fn bindgen_test_layout_nsPresContext() { - assert_eq!(::std::mem::size_of::() , 1304usize , concat + assert_eq!(::std::mem::size_of::() , 1312usize , concat ! ( "Size of: " , stringify ! ( nsPresContext ) )); assert_eq! (::std::mem::align_of::() , 8usize , concat ! ( "Alignment of " , stringify ! ( nsPresContext ) )); @@ -20336,317 +20335,323 @@ pub mod root { * const _ as usize } , 120usize , concat ! ( "Alignment of field: " , stringify ! ( nsPresContext ) , "::" , stringify ! ( mMediaEmulated ) )); + assert_eq! (unsafe { + & ( * ( 0 as * const nsPresContext ) ) . + mFontFeatureValuesLookup as * const _ as usize } , + 128usize , concat ! ( + "Alignment of field: " , stringify ! ( nsPresContext ) , + "::" , stringify ! ( mFontFeatureValuesLookup ) )); assert_eq! (unsafe { & ( * ( 0 as * const nsPresContext ) ) . mLinkHandler as * - const _ as usize } , 128usize , concat ! ( + const _ as usize } , 136usize , concat ! ( "Alignment of field: " , stringify ! ( nsPresContext ) , "::" , stringify ! ( mLinkHandler ) )); assert_eq! (unsafe { & ( * ( 0 as * const nsPresContext ) ) . mLanguage as * - const _ as usize } , 136usize , concat ! ( + const _ as usize } , 144usize , concat ! ( "Alignment of field: " , stringify ! ( nsPresContext ) , "::" , stringify ! ( mLanguage ) )); assert_eq! (unsafe { & ( * ( 0 as * const nsPresContext ) ) . mInflationDisabledForShrinkWrap as * const _ as usize } , - 144usize , concat ! ( + 152usize , concat ! ( "Alignment of field: " , stringify ! ( nsPresContext ) , "::" , stringify ! ( mInflationDisabledForShrinkWrap ) )); assert_eq! (unsafe { & ( * ( 0 as * const nsPresContext ) ) . mContainer as * - const _ as usize } , 152usize , concat ! ( + const _ as usize } , 160usize , concat ! ( "Alignment of field: " , stringify ! ( nsPresContext ) , "::" , stringify ! ( mContainer ) )); assert_eq! (unsafe { & ( * ( 0 as * const nsPresContext ) ) . mBaseMinFontSize - as * const _ as usize } , 160usize , concat ! ( + as * const _ as usize } , 168usize , concat ! ( "Alignment of field: " , stringify ! ( nsPresContext ) , "::" , stringify ! ( mBaseMinFontSize ) )); assert_eq! (unsafe { & ( * ( 0 as * const nsPresContext ) ) . mSystemFontScale - as * const _ as usize } , 164usize , concat ! ( + as * const _ as usize } , 172usize , concat ! ( "Alignment of field: " , stringify ! ( nsPresContext ) , "::" , stringify ! ( mSystemFontScale ) )); assert_eq! (unsafe { & ( * ( 0 as * const nsPresContext ) ) . mTextZoom as * - const _ as usize } , 168usize , concat ! ( + const _ as usize } , 176usize , concat ! ( "Alignment of field: " , stringify ! ( nsPresContext ) , "::" , stringify ! ( mTextZoom ) )); assert_eq! (unsafe { & ( * ( 0 as * const nsPresContext ) ) . - mEffectiveTextZoom as * const _ as usize } , 172usize , + mEffectiveTextZoom as * const _ as usize } , 180usize , concat ! ( "Alignment of field: " , stringify ! ( nsPresContext ) , "::" , stringify ! ( mEffectiveTextZoom ) )); assert_eq! (unsafe { & ( * ( 0 as * const nsPresContext ) ) . mFullZoom as * - const _ as usize } , 176usize , concat ! ( + const _ as usize } , 184usize , concat ! ( "Alignment of field: " , stringify ! ( nsPresContext ) , "::" , stringify ! ( mFullZoom ) )); assert_eq! (unsafe { & ( * ( 0 as * const nsPresContext ) ) . mOverrideDPPX as - * const _ as usize } , 180usize , concat ! ( + * const _ as usize } , 188usize , concat ! ( "Alignment of field: " , stringify ! ( nsPresContext ) , "::" , stringify ! ( mOverrideDPPX ) )); assert_eq! (unsafe { & ( * ( 0 as * const nsPresContext ) ) . mLastFontInflationScreenSize as * const _ as usize } , - 184usize , concat ! ( + 192usize , concat ! ( "Alignment of field: " , stringify ! ( nsPresContext ) , "::" , stringify ! ( mLastFontInflationScreenSize ) )); assert_eq! (unsafe { & ( * ( 0 as * const nsPresContext ) ) . - mCurAppUnitsPerDevPixel as * const _ as usize } , 200usize + mCurAppUnitsPerDevPixel as * const _ as usize } , 208usize , concat ! ( "Alignment of field: " , stringify ! ( nsPresContext ) , "::" , stringify ! ( mCurAppUnitsPerDevPixel ) )); assert_eq! (unsafe { & ( * ( 0 as * const nsPresContext ) ) . mAutoQualityMinFontSizePixelsPref as * const _ as usize } - , 204usize , concat ! ( + , 212usize , concat ! ( "Alignment of field: " , stringify ! ( nsPresContext ) , "::" , stringify ! ( mAutoQualityMinFontSizePixelsPref ) )); assert_eq! (unsafe { & ( * ( 0 as * const nsPresContext ) ) . mTheme as * const - _ as usize } , 208usize , concat ! ( + _ as usize } , 216usize , concat ! ( "Alignment of field: " , stringify ! ( nsPresContext ) , "::" , stringify ! ( mTheme ) )); assert_eq! (unsafe { & ( * ( 0 as * const nsPresContext ) ) . mLangService as * - const _ as usize } , 216usize , concat ! ( + const _ as usize } , 224usize , concat ! ( "Alignment of field: " , stringify ! ( nsPresContext ) , "::" , stringify ! ( mLangService ) )); assert_eq! (unsafe { & ( * ( 0 as * const nsPresContext ) ) . mPrintSettings as - * const _ as usize } , 224usize , concat ! ( + * const _ as usize } , 232usize , concat ! ( "Alignment of field: " , stringify ! ( nsPresContext ) , "::" , stringify ! ( mPrintSettings ) )); assert_eq! (unsafe { & ( * ( 0 as * const nsPresContext ) ) . mPrefChangedTimer - as * const _ as usize } , 232usize , concat ! ( + as * const _ as usize } , 240usize , concat ! ( "Alignment of field: " , stringify ! ( nsPresContext ) , "::" , stringify ! ( mPrefChangedTimer ) )); assert_eq! (unsafe { & ( * ( 0 as * const nsPresContext ) ) . mBidiEngine as * - const _ as usize } , 240usize , concat ! ( + const _ as usize } , 248usize , concat ! ( "Alignment of field: " , stringify ! ( nsPresContext ) , "::" , stringify ! ( mBidiEngine ) )); assert_eq! (unsafe { & ( * ( 0 as * const nsPresContext ) ) . mTransactions as - * const _ as usize } , 248usize , concat ! ( + * const _ as usize } , 256usize , concat ! ( "Alignment of field: " , stringify ! ( nsPresContext ) , "::" , stringify ! ( mTransactions ) )); assert_eq! (unsafe { & ( * ( 0 as * const nsPresContext ) ) . mTextPerf as * - const _ as usize } , 328usize , concat ! ( + const _ as usize } , 336usize , concat ! ( "Alignment of field: " , stringify ! ( nsPresContext ) , "::" , stringify ! ( mTextPerf ) )); assert_eq! (unsafe { & ( * ( 0 as * const nsPresContext ) ) . mMissingFonts as - * const _ as usize } , 336usize , concat ! ( + * const _ as usize } , 344usize , concat ! ( "Alignment of field: " , stringify ! ( nsPresContext ) , "::" , stringify ! ( mMissingFonts ) )); assert_eq! (unsafe { & ( * ( 0 as * const nsPresContext ) ) . mVisibleArea as * - const _ as usize } , 344usize , concat ! ( + const _ as usize } , 352usize , concat ! ( "Alignment of field: " , stringify ! ( nsPresContext ) , "::" , stringify ! ( mVisibleArea ) )); assert_eq! (unsafe { & ( * ( 0 as * const nsPresContext ) ) . mPageSize as * - const _ as usize } , 360usize , concat ! ( + const _ as usize } , 368usize , concat ! ( "Alignment of field: " , stringify ! ( nsPresContext ) , "::" , stringify ! ( mPageSize ) )); assert_eq! (unsafe { & ( * ( 0 as * const nsPresContext ) ) . mPageScale as * - const _ as usize } , 368usize , concat ! ( + const _ as usize } , 376usize , concat ! ( "Alignment of field: " , stringify ! ( nsPresContext ) , "::" , stringify ! ( mPageScale ) )); assert_eq! (unsafe { & ( * ( 0 as * const nsPresContext ) ) . mPPScale as * - const _ as usize } , 372usize , concat ! ( + const _ as usize } , 380usize , concat ! ( "Alignment of field: " , stringify ! ( nsPresContext ) , "::" , stringify ! ( mPPScale ) )); assert_eq! (unsafe { & ( * ( 0 as * const nsPresContext ) ) . mDefaultColor as - * const _ as usize } , 376usize , concat ! ( + * const _ as usize } , 384usize , concat ! ( "Alignment of field: " , stringify ! ( nsPresContext ) , "::" , stringify ! ( mDefaultColor ) )); assert_eq! (unsafe { & ( * ( 0 as * const nsPresContext ) ) . mBackgroundColor - as * const _ as usize } , 380usize , concat ! ( + as * const _ as usize } , 388usize , concat ! ( "Alignment of field: " , stringify ! ( nsPresContext ) , "::" , stringify ! ( mBackgroundColor ) )); assert_eq! (unsafe { & ( * ( 0 as * const nsPresContext ) ) . mLinkColor as * - const _ as usize } , 384usize , concat ! ( + const _ as usize } , 392usize , concat ! ( "Alignment of field: " , stringify ! ( nsPresContext ) , "::" , stringify ! ( mLinkColor ) )); assert_eq! (unsafe { & ( * ( 0 as * const nsPresContext ) ) . mActiveLinkColor - as * const _ as usize } , 388usize , concat ! ( + as * const _ as usize } , 396usize , concat ! ( "Alignment of field: " , stringify ! ( nsPresContext ) , "::" , stringify ! ( mActiveLinkColor ) )); assert_eq! (unsafe { & ( * ( 0 as * const nsPresContext ) ) . mVisitedLinkColor - as * const _ as usize } , 392usize , concat ! ( + as * const _ as usize } , 400usize , concat ! ( "Alignment of field: " , stringify ! ( nsPresContext ) , "::" , stringify ! ( mVisitedLinkColor ) )); assert_eq! (unsafe { & ( * ( 0 as * const nsPresContext ) ) . - mFocusBackgroundColor as * const _ as usize } , 396usize , + mFocusBackgroundColor as * const _ as usize } , 404usize , concat ! ( "Alignment of field: " , stringify ! ( nsPresContext ) , "::" , stringify ! ( mFocusBackgroundColor ) )); assert_eq! (unsafe { & ( * ( 0 as * const nsPresContext ) ) . mFocusTextColor - as * const _ as usize } , 400usize , concat ! ( + as * const _ as usize } , 408usize , concat ! ( "Alignment of field: " , stringify ! ( nsPresContext ) , "::" , stringify ! ( mFocusTextColor ) )); assert_eq! (unsafe { & ( * ( 0 as * const nsPresContext ) ) . mBodyTextColor as - * const _ as usize } , 404usize , concat ! ( + * const _ as usize } , 412usize , concat ! ( "Alignment of field: " , stringify ! ( nsPresContext ) , "::" , stringify ! ( mBodyTextColor ) )); assert_eq! (unsafe { & ( * ( 0 as * const nsPresContext ) ) . mViewportScrollbarOverrideNode as * const _ as usize } , - 408usize , concat ! ( + 416usize , concat ! ( "Alignment of field: " , stringify ! ( nsPresContext ) , "::" , stringify ! ( mViewportScrollbarOverrideNode ) )); assert_eq! (unsafe { & ( * ( 0 as * const nsPresContext ) ) . - mViewportStyleScrollbar as * const _ as usize } , 416usize + mViewportStyleScrollbar as * const _ as usize } , 424usize , concat ! ( "Alignment of field: " , stringify ! ( nsPresContext ) , "::" , stringify ! ( mViewportStyleScrollbar ) )); assert_eq! (unsafe { & ( * ( 0 as * const nsPresContext ) ) . mFocusRingWidth - as * const _ as usize } , 480usize , concat ! ( + as * const _ as usize } , 488usize , concat ! ( "Alignment of field: " , stringify ! ( nsPresContext ) , "::" , stringify ! ( mFocusRingWidth ) )); assert_eq! (unsafe { & ( * ( 0 as * const nsPresContext ) ) . - mExistThrottledUpdates as * const _ as usize } , 481usize + mExistThrottledUpdates as * const _ as usize } , 489usize , concat ! ( "Alignment of field: " , stringify ! ( nsPresContext ) , "::" , stringify ! ( mExistThrottledUpdates ) )); assert_eq! (unsafe { & ( * ( 0 as * const nsPresContext ) ) . - mImageAnimationMode as * const _ as usize } , 482usize , + mImageAnimationMode as * const _ as usize } , 490usize , concat ! ( "Alignment of field: " , stringify ! ( nsPresContext ) , "::" , stringify ! ( mImageAnimationMode ) )); assert_eq! (unsafe { & ( * ( 0 as * const nsPresContext ) ) . - mImageAnimationModePref as * const _ as usize } , 484usize + mImageAnimationModePref as * const _ as usize } , 492usize , concat ! ( "Alignment of field: " , stringify ! ( nsPresContext ) , "::" , stringify ! ( mImageAnimationModePref ) )); assert_eq! (unsafe { & ( * ( 0 as * const nsPresContext ) ) . - mLangGroupFontPrefs as * const _ as usize } , 488usize , + mLangGroupFontPrefs as * const _ as usize } , 496usize , concat ! ( "Alignment of field: " , stringify ! ( nsPresContext ) , "::" , stringify ! ( mLangGroupFontPrefs ) )); assert_eq! (unsafe { & ( * ( 0 as * const nsPresContext ) ) . - mFontGroupCacheDirty as * const _ as usize } , 1128usize , + mFontGroupCacheDirty as * const _ as usize } , 1136usize , concat ! ( "Alignment of field: " , stringify ! ( nsPresContext ) , "::" , stringify ! ( mFontGroupCacheDirty ) )); assert_eq! (unsafe { & ( * ( 0 as * const nsPresContext ) ) . mLanguagesUsed as - * const _ as usize } , 1136usize , concat ! ( + * const _ as usize } , 1144usize , concat ! ( "Alignment of field: " , stringify ! ( nsPresContext ) , "::" , stringify ! ( mLanguagesUsed ) )); assert_eq! (unsafe { & ( * ( 0 as * const nsPresContext ) ) . mBorderWidthTable - as * const _ as usize } , 1176usize , concat ! ( + as * const _ as usize } , 1184usize , concat ! ( "Alignment of field: " , stringify ! ( nsPresContext ) , "::" , stringify ! ( mBorderWidthTable ) )); assert_eq! (unsafe { & ( * ( 0 as * const nsPresContext ) ) . - mInterruptChecksToSkip as * const _ as usize } , 1188usize + mInterruptChecksToSkip as * const _ as usize } , 1196usize , concat ! ( "Alignment of field: " , stringify ! ( nsPresContext ) , "::" , stringify ! ( mInterruptChecksToSkip ) )); assert_eq! (unsafe { & ( * ( 0 as * const nsPresContext ) ) . mElementsRestyled - as * const _ as usize } , 1192usize , concat ! ( + as * const _ as usize } , 1200usize , concat ! ( "Alignment of field: " , stringify ! ( nsPresContext ) , "::" , stringify ! ( mElementsRestyled ) )); assert_eq! (unsafe { & ( * ( 0 as * const nsPresContext ) ) . - mFramesConstructed as * const _ as usize } , 1200usize , + mFramesConstructed as * const _ as usize } , 1208usize , concat ! ( "Alignment of field: " , stringify ! ( nsPresContext ) , "::" , stringify ! ( mFramesConstructed ) )); assert_eq! (unsafe { & ( * ( 0 as * const nsPresContext ) ) . mFramesReflowed - as * const _ as usize } , 1208usize , concat ! ( + as * const _ as usize } , 1216usize , concat ! ( "Alignment of field: " , stringify ! ( nsPresContext ) , "::" , stringify ! ( mFramesReflowed ) )); assert_eq! (unsafe { & ( * ( 0 as * const nsPresContext ) ) . mReflowStartTime - as * const _ as usize } , 1216usize , concat ! ( + as * const _ as usize } , 1224usize , concat ! ( "Alignment of field: " , stringify ! ( nsPresContext ) , "::" , stringify ! ( mReflowStartTime ) )); assert_eq! (unsafe { & ( * ( 0 as * const nsPresContext ) ) . mFirstNonBlankPaintTime as * const _ as usize } , - 1224usize , concat ! ( + 1232usize , concat ! ( "Alignment of field: " , stringify ! ( nsPresContext ) , "::" , stringify ! ( mFirstNonBlankPaintTime ) )); assert_eq! (unsafe { & ( * ( 0 as * const nsPresContext ) ) . mFirstClickTime - as * const _ as usize } , 1232usize , concat ! ( + as * const _ as usize } , 1240usize , concat ! ( "Alignment of field: " , stringify ! ( nsPresContext ) , "::" , stringify ! ( mFirstClickTime ) )); assert_eq! (unsafe { & ( * ( 0 as * const nsPresContext ) ) . mFirstKeyTime as - * const _ as usize } , 1240usize , concat ! ( + * const _ as usize } , 1248usize , concat ! ( "Alignment of field: " , stringify ! ( nsPresContext ) , "::" , stringify ! ( mFirstKeyTime ) )); assert_eq! (unsafe { & ( * ( 0 as * const nsPresContext ) ) . - mFirstMouseMoveTime as * const _ as usize } , 1248usize , + mFirstMouseMoveTime as * const _ as usize } , 1256usize , concat ! ( "Alignment of field: " , stringify ! ( nsPresContext ) , "::" , stringify ! ( mFirstMouseMoveTime ) )); assert_eq! (unsafe { & ( * ( 0 as * const nsPresContext ) ) . mFirstScrollTime - as * const _ as usize } , 1256usize , concat ! ( + as * const _ as usize } , 1264usize , concat ! ( "Alignment of field: " , stringify ! ( nsPresContext ) , "::" , stringify ! ( mFirstScrollTime ) )); assert_eq! (unsafe { & ( * ( 0 as * const nsPresContext ) ) . mInteractionTimeEnabled as * const _ as usize } , - 1264usize , concat ! ( + 1272usize , concat ! ( "Alignment of field: " , stringify ! ( nsPresContext ) , "::" , stringify ! ( mInteractionTimeEnabled ) )); assert_eq! (unsafe { & ( * ( 0 as * const nsPresContext ) ) . mLastStyleUpdateForAllAnimations as * const _ as usize } , - 1272usize , concat ! ( + 1280usize , concat ! ( "Alignment of field: " , stringify ! ( nsPresContext ) , "::" , stringify ! ( mLastStyleUpdateForAllAnimations ) )); assert_eq! (unsafe { & ( * ( 0 as * const nsPresContext ) ) . - mTelemetryScrollLastY as * const _ as usize } , 1280usize + mTelemetryScrollLastY as * const _ as usize } , 1288usize , concat ! ( "Alignment of field: " , stringify ! ( nsPresContext ) , "::" , stringify ! ( mTelemetryScrollLastY ) )); assert_eq! (unsafe { & ( * ( 0 as * const nsPresContext ) ) . - mTelemetryScrollMaxY as * const _ as usize } , 1284usize , + mTelemetryScrollMaxY as * const _ as usize } , 1292usize , concat ! ( "Alignment of field: " , stringify ! ( nsPresContext ) , "::" , stringify ! ( mTelemetryScrollMaxY ) )); assert_eq! (unsafe { & ( * ( 0 as * const nsPresContext ) ) . - mTelemetryScrollTotalY as * const _ as usize } , 1288usize + mTelemetryScrollTotalY as * const _ as usize } , 1296usize , concat ! ( "Alignment of field: " , stringify ! ( nsPresContext ) , "::" , stringify ! ( mTelemetryScrollTotalY ) )); @@ -21894,7 +21899,7 @@ pub mod root { } } #[inline] - pub fn mSuppressResizeReflow(&self) -> ::std::os::raw::c_uint { + pub fn mFontFeatureValuesDirty(&self) -> ::std::os::raw::c_uint { let mut unit_field_val: u64 = unsafe { ::std::mem::uninitialized() }; unsafe { @@ -21909,8 +21914,8 @@ pub mod root { unsafe { ::std::mem::transmute(val as u32) } } #[inline] - pub fn set_mSuppressResizeReflow(&mut self, - val: ::std::os::raw::c_uint) { + pub fn set_mFontFeatureValuesDirty(&mut self, + val: ::std::os::raw::c_uint) { let mask = 8589934592u64 as u64; let val = val as u32 as u64; let mut unit_field_val: u64 = @@ -21933,7 +21938,8 @@ pub mod root { } } #[inline] - pub fn mIsVisual(&self) -> ::std::os::raw::c_uint { + pub fn mPostedFlushFontFeatureValues(&self) + -> ::std::os::raw::c_uint { let mut unit_field_val: u64 = unsafe { ::std::mem::uninitialized() }; unsafe { @@ -21948,7 +21954,9 @@ pub mod root { unsafe { ::std::mem::transmute(val as u32) } } #[inline] - pub fn set_mIsVisual(&mut self, val: ::std::os::raw::c_uint) { + pub fn set_mPostedFlushFontFeatureValues(&mut self, + val: + ::std::os::raw::c_uint) { let mask = 17179869184u64 as u64; let val = val as u32 as u64; let mut unit_field_val: u64 = @@ -21971,7 +21979,7 @@ pub mod root { } } #[inline] - pub fn mFireAfterPaintEvents(&self) -> ::std::os::raw::c_uint { + pub fn mSuppressResizeReflow(&self) -> ::std::os::raw::c_uint { let mut unit_field_val: u64 = unsafe { ::std::mem::uninitialized() }; unsafe { @@ -21986,7 +21994,7 @@ pub mod root { unsafe { ::std::mem::transmute(val as u32) } } #[inline] - pub fn set_mFireAfterPaintEvents(&mut self, + pub fn set_mSuppressResizeReflow(&mut self, val: ::std::os::raw::c_uint) { let mask = 34359738368u64 as u64; let val = val as u32 as u64; @@ -22010,7 +22018,7 @@ pub mod root { } } #[inline] - pub fn mIsChrome(&self) -> ::std::os::raw::c_uint { + pub fn mIsVisual(&self) -> ::std::os::raw::c_uint { let mut unit_field_val: u64 = unsafe { ::std::mem::uninitialized() }; unsafe { @@ -22025,7 +22033,7 @@ pub mod root { unsafe { ::std::mem::transmute(val as u32) } } #[inline] - pub fn set_mIsChrome(&mut self, val: ::std::os::raw::c_uint) { + pub fn set_mIsVisual(&mut self, val: ::std::os::raw::c_uint) { let mask = 68719476736u64 as u64; let val = val as u32 as u64; let mut unit_field_val: u64 = @@ -22048,7 +22056,7 @@ pub mod root { } } #[inline] - pub fn mIsChromeOriginImage(&self) -> ::std::os::raw::c_uint { + pub fn mFireAfterPaintEvents(&self) -> ::std::os::raw::c_uint { let mut unit_field_val: u64 = unsafe { ::std::mem::uninitialized() }; unsafe { @@ -22063,8 +22071,8 @@ pub mod root { unsafe { ::std::mem::transmute(val as u32) } } #[inline] - pub fn set_mIsChromeOriginImage(&mut self, - val: ::std::os::raw::c_uint) { + pub fn set_mFireAfterPaintEvents(&mut self, + val: ::std::os::raw::c_uint) { let mask = 137438953472u64 as u64; let val = val as u32 as u64; let mut unit_field_val: u64 = @@ -22087,7 +22095,7 @@ pub mod root { } } #[inline] - pub fn mPaintFlashing(&self) -> ::std::os::raw::c_uint { + pub fn mIsChrome(&self) -> ::std::os::raw::c_uint { let mut unit_field_val: u64 = unsafe { ::std::mem::uninitialized() }; unsafe { @@ -22102,7 +22110,7 @@ pub mod root { unsafe { ::std::mem::transmute(val as u32) } } #[inline] - pub fn set_mPaintFlashing(&mut self, val: ::std::os::raw::c_uint) { + pub fn set_mIsChrome(&mut self, val: ::std::os::raw::c_uint) { let mask = 274877906944u64 as u64; let val = val as u32 as u64; let mut unit_field_val: u64 = @@ -22125,7 +22133,7 @@ pub mod root { } } #[inline] - pub fn mPaintFlashingInitialized(&self) -> ::std::os::raw::c_uint { + pub fn mIsChromeOriginImage(&self) -> ::std::os::raw::c_uint { let mut unit_field_val: u64 = unsafe { ::std::mem::uninitialized() }; unsafe { @@ -22140,8 +22148,8 @@ pub mod root { unsafe { ::std::mem::transmute(val as u32) } } #[inline] - pub fn set_mPaintFlashingInitialized(&mut self, - val: ::std::os::raw::c_uint) { + pub fn set_mIsChromeOriginImage(&mut self, + val: ::std::os::raw::c_uint) { let mask = 549755813888u64 as u64; let val = val as u32 as u64; let mut unit_field_val: u64 = @@ -22164,8 +22172,7 @@ pub mod root { } } #[inline] - pub fn mHasWarnedAboutPositionedTableParts(&self) - -> ::std::os::raw::c_uint { + pub fn mPaintFlashing(&self) -> ::std::os::raw::c_uint { let mut unit_field_val: u64 = unsafe { ::std::mem::uninitialized() }; unsafe { @@ -22180,9 +22187,7 @@ pub mod root { unsafe { ::std::mem::transmute(val as u32) } } #[inline] - pub fn set_mHasWarnedAboutPositionedTableParts(&mut self, - val: - ::std::os::raw::c_uint) { + pub fn set_mPaintFlashing(&mut self, val: ::std::os::raw::c_uint) { let mask = 1099511627776u64 as u64; let val = val as u32 as u64; let mut unit_field_val: u64 = @@ -22205,8 +22210,7 @@ pub mod root { } } #[inline] - pub fn mHasWarnedAboutTooLargeDashedOrDottedRadius(&self) - -> ::std::os::raw::c_uint { + pub fn mPaintFlashingInitialized(&self) -> ::std::os::raw::c_uint { let mut unit_field_val: u64 = unsafe { ::std::mem::uninitialized() }; unsafe { @@ -22221,9 +22225,8 @@ pub mod root { unsafe { ::std::mem::transmute(val as u32) } } #[inline] - pub fn set_mHasWarnedAboutTooLargeDashedOrDottedRadius(&mut self, - val: - ::std::os::raw::c_uint) { + pub fn set_mPaintFlashingInitialized(&mut self, + val: ::std::os::raw::c_uint) { let mask = 2199023255552u64 as u64; let val = val as u32 as u64; let mut unit_field_val: u64 = @@ -22246,7 +22249,8 @@ pub mod root { } } #[inline] - pub fn mQuirkSheetAdded(&self) -> ::std::os::raw::c_uint { + pub fn mHasWarnedAboutPositionedTableParts(&self) + -> ::std::os::raw::c_uint { let mut unit_field_val: u64 = unsafe { ::std::mem::uninitialized() }; unsafe { @@ -22261,7 +22265,9 @@ pub mod root { unsafe { ::std::mem::transmute(val as u32) } } #[inline] - pub fn set_mQuirkSheetAdded(&mut self, val: ::std::os::raw::c_uint) { + pub fn set_mHasWarnedAboutPositionedTableParts(&mut self, + val: + ::std::os::raw::c_uint) { let mask = 4398046511104u64 as u64; let val = val as u32 as u64; let mut unit_field_val: u64 = @@ -22284,7 +22290,8 @@ pub mod root { } } #[inline] - pub fn mNeedsPrefUpdate(&self) -> ::std::os::raw::c_uint { + pub fn mHasWarnedAboutTooLargeDashedOrDottedRadius(&self) + -> ::std::os::raw::c_uint { let mut unit_field_val: u64 = unsafe { ::std::mem::uninitialized() }; unsafe { @@ -22299,7 +22306,9 @@ pub mod root { unsafe { ::std::mem::transmute(val as u32) } } #[inline] - pub fn set_mNeedsPrefUpdate(&mut self, val: ::std::os::raw::c_uint) { + pub fn set_mHasWarnedAboutTooLargeDashedOrDottedRadius(&mut self, + val: + ::std::os::raw::c_uint) { let mask = 8796093022208u64 as u64; let val = val as u32 as u64; let mut unit_field_val: u64 = @@ -22322,7 +22331,7 @@ pub mod root { } } #[inline] - pub fn mHadNonBlankPaint(&self) -> ::std::os::raw::c_uint { + pub fn mQuirkSheetAdded(&self) -> ::std::os::raw::c_uint { let mut unit_field_val: u64 = unsafe { ::std::mem::uninitialized() }; unsafe { @@ -22337,7 +22346,7 @@ pub mod root { unsafe { ::std::mem::transmute(val as u32) } } #[inline] - pub fn set_mHadNonBlankPaint(&mut self, val: ::std::os::raw::c_uint) { + pub fn set_mQuirkSheetAdded(&mut self, val: ::std::os::raw::c_uint) { let mask = 17592186044416u64 as u64; let val = val as u32 as u64; let mut unit_field_val: u64 = @@ -22360,6 +22369,82 @@ pub mod root { } } #[inline] + pub fn mNeedsPrefUpdate(&self) -> ::std::os::raw::c_uint { + let mut unit_field_val: u64 = + unsafe { ::std::mem::uninitialized() }; + unsafe { + ::std::ptr::copy_nonoverlapping(&self._bitfield_1 as *const _ + as *const u8, + &mut unit_field_val as + *mut u64 as *mut u8, + ::std::mem::size_of::()) + }; + let mask = 35184372088832u64 as u64; + let val = (unit_field_val & mask) >> 45usize; + unsafe { ::std::mem::transmute(val as u32) } + } + #[inline] + pub fn set_mNeedsPrefUpdate(&mut self, val: ::std::os::raw::c_uint) { + let mask = 35184372088832u64 as u64; + let val = val as u32 as u64; + let mut unit_field_val: u64 = + unsafe { ::std::mem::uninitialized() }; + unsafe { + ::std::ptr::copy_nonoverlapping(&self._bitfield_1 as *const _ + as *const u8, + &mut unit_field_val as + *mut u64 as *mut u8, + ::std::mem::size_of::()) + }; + unit_field_val &= !mask; + unit_field_val |= (val << 45usize) & mask; + unsafe { + ::std::ptr::copy_nonoverlapping(&unit_field_val as *const _ as + *const u8, + &mut self._bitfield_1 as + *mut _ as *mut u8, + ::std::mem::size_of::()); + } + } + #[inline] + pub fn mHadNonBlankPaint(&self) -> ::std::os::raw::c_uint { + let mut unit_field_val: u64 = + unsafe { ::std::mem::uninitialized() }; + unsafe { + ::std::ptr::copy_nonoverlapping(&self._bitfield_1 as *const _ + as *const u8, + &mut unit_field_val as + *mut u64 as *mut u8, + ::std::mem::size_of::()) + }; + let mask = 70368744177664u64 as u64; + let val = (unit_field_val & mask) >> 46usize; + unsafe { ::std::mem::transmute(val as u32) } + } + #[inline] + pub fn set_mHadNonBlankPaint(&mut self, val: ::std::os::raw::c_uint) { + let mask = 70368744177664u64 as u64; + let val = val as u32 as u64; + let mut unit_field_val: u64 = + unsafe { ::std::mem::uninitialized() }; + unsafe { + ::std::ptr::copy_nonoverlapping(&self._bitfield_1 as *const _ + as *const u8, + &mut unit_field_val as + *mut u64 as *mut u8, + ::std::mem::size_of::()) + }; + unit_field_val &= !mask; + unit_field_val |= (val << 46usize) & mask; + unsafe { + ::std::ptr::copy_nonoverlapping(&unit_field_val as *const _ as + *const u8, + &mut self._bitfield_1 as + *mut _ as *mut u8, + ::std::mem::size_of::()); + } + } + #[inline] pub fn new_bitfield_1(mHasPendingInterrupt: ::std::os::raw::c_uint, mPendingInterruptFromTest: ::std::os::raw::c_uint, @@ -22400,6 +22485,9 @@ pub mod root { mCounterStylesDirty: ::std::os::raw::c_uint, mPostedFlushCounterStyles: ::std::os::raw::c_uint, + mFontFeatureValuesDirty: ::std::os::raw::c_uint, + mPostedFlushFontFeatureValues: + ::std::os::raw::c_uint, mSuppressResizeReflow: ::std::os::raw::c_uint, mIsVisual: ::std::os::raw::c_uint, mFireAfterPaintEvents: ::std::os::raw::c_uint, @@ -22460,420 +22548,448 @@ pub mod root { ({ ({ ({ - 0 + ({ + ({ + 0 + } + | + ((mHasPendingInterrupt + as + u32 + as + u64) + << + 0usize) + & + (1u64 + as + u64)) + } + | + ((mPendingInterruptFromTest + as + u32 + as + u64) + << + 1usize) + & + (2u64 + as + u64)) } | - ((mHasPendingInterrupt + ((mInterruptsEnabled as u32 as u64) << - 0usize) + 2usize) & - (1u64 + (4u64 as u64)) } | - ((mPendingInterruptFromTest + ((mUseDocumentFonts as u32 as u64) << - 1usize) + 3usize) & - (2u64 + (8u64 as u64)) } | - ((mInterruptsEnabled + ((mUseDocumentColors as u32 as u64) << - 2usize) + 4usize) & - (4u64 + (16u64 as u64)) } | - ((mUseDocumentFonts + ((mUnderlineLinks as u32 as u64) << - 3usize) + 5usize) & - (8u64 + (32u64 as u64)) } | - ((mUseDocumentColors + ((mSendAfterPaintToContent as u32 as u64) << - 4usize) + 6usize) & - (16u64 + (64u64 as u64)) } | - ((mUnderlineLinks + ((mUseFocusColors as u32 as u64) << - 5usize) + 7usize) & - (32u64 + (128u64 as u64)) } | - ((mSendAfterPaintToContent + ((mFocusRingOnAnything as u32 as u64) << - 6usize) + 8usize) & - (64u64 + (256u64 as u64)) } | - ((mUseFocusColors + ((mFocusRingStyle as u32 as u64) << - 7usize) + 9usize) & - (128u64 + (512u64 as u64)) } | - ((mFocusRingOnAnything + ((mDrawImageBackground as u32 as u64) << - 8usize) + 10usize) & - (256u64 + (1024u64 as u64)) } | - ((mFocusRingStyle + ((mDrawColorBackground as u32 as u64) << - 9usize) + 11usize) & - (512u64 + (2048u64 as u64)) } | - ((mDrawImageBackground + ((mNeverAnimate as u32 as u64) << - 10usize) + 12usize) & - (1024u64 + (4096u64 as u64)) } | - ((mDrawColorBackground + ((mIsRenderingOnlySelection as u32 as u64) << - 11usize) + 13usize) & - (2048u64 + (8192u64 as u64)) } | - ((mNeverAnimate + ((mPaginated as u32 as u64) << - 12usize) + 14usize) & - (4096u64 + (16384u64 as u64)) } | - ((mIsRenderingOnlySelection + ((mCanPaginatedScroll as u32 as u64) << - 13usize) + 15usize) & - (8192u64 + (32768u64 as u64)) } | - ((mPaginated + ((mDoScaledTwips as u32 as u64) << - 14usize) + 16usize) & - (16384u64 + (65536u64 as u64)) } | - ((mCanPaginatedScroll + ((mIsRootPaginatedDocument as u32 as u64) << - 15usize) + 17usize) & - (32768u64 + (131072u64 as u64)) } | - ((mDoScaledTwips + ((mPrefBidiDirection as u32 as u64) << - 16usize) + 18usize) & - (65536u64 + (262144u64 as u64)) } | - ((mIsRootPaginatedDocument + ((mPrefScrollbarSide as u32 as u64) << - 17usize) + 19usize) & - (131072u64 + (1572864u64 as u64)) } | - ((mPrefBidiDirection + ((mPendingSysColorChanged as u32 as u64) << - 18usize) + 21usize) & - (262144u64 + (2097152u64 as u64)) } | - ((mPrefScrollbarSide + ((mPendingThemeChanged as u32 as u64) << - 19usize) + 22usize) & - (1572864u64 + (4194304u64 as u64)) } | - ((mPendingSysColorChanged + ((mPendingUIResolutionChanged as u32 as u64) << - 21usize) + 23usize) & - (2097152u64 + (8388608u64 as u64)) } | - ((mPendingThemeChanged + ((mPendingMediaFeatureValuesChanged as u32 as u64) << - 22usize) + 24usize) & - (4194304u64 + (16777216u64 as u64)) } | - ((mPendingUIResolutionChanged + ((mPrefChangePendingNeedsReflow as u32 as u64) << - 23usize) + 25usize) & - (8388608u64 + (33554432u64 as u64)) } | - ((mPendingMediaFeatureValuesChanged + ((mIsEmulatingMedia as u32 as u64) << - 24usize) + 26usize) & - (16777216u64 + (67108864u64 as u64)) } | - ((mPrefChangePendingNeedsReflow + ((mIsGlyph as u32 as u64) << - 25usize) + 27usize) & - (33554432u64 + (134217728u64 as u64)) } | - ((mIsEmulatingMedia + ((mUsesRootEMUnits as u32 as u64) << - 26usize) + 28usize) & - (67108864u64 + (268435456u64 as u64)) } | - ((mIsGlyph + ((mUsesExChUnits as u32 as u64) << - 27usize) + 29usize) & - (134217728u64 + (536870912u64 as u64)) } | - ((mUsesRootEMUnits + ((mPendingViewportChange as u32 as u64) << - 28usize) + 30usize) & - (268435456u64 + (1073741824u64 as u64)) } | - ((mUsesExChUnits + ((mCounterStylesDirty as u32 as u64) << - 29usize) + 31usize) & - (536870912u64 + (2147483648u64 as u64)) } | - ((mPendingViewportChange + ((mPostedFlushCounterStyles as u32 as u64) << - 30usize) + 32usize) & - (1073741824u64 + (4294967296u64 as u64)) } | - ((mCounterStylesDirty + ((mFontFeatureValuesDirty as u32 as u64) << - 31usize) + 33usize) & - (2147483648u64 + (8589934592u64 as u64)) } | - ((mPostedFlushCounterStyles + ((mPostedFlushFontFeatureValues as u32 as u64) << - 32usize) + 34usize) & - (4294967296u64 + (17179869184u64 as u64)) } | @@ -22883,9 +22999,9 @@ pub mod root { as u64) << - 33usize) + 35usize) & - (8589934592u64 + (34359738368u64 as u64)) } | @@ -22895,56 +23011,56 @@ pub mod root { as u64) << - 34usize) + 36usize) & - (17179869184u64 + (68719476736u64 as u64)) } | ((mFireAfterPaintEvents as u32 as u64) << - 35usize) & - (34359738368u64 + 37usize) & + (137438953472u64 as u64)) } | ((mIsChrome as u32 as u64) << - 36usize) & - (68719476736u64 + 38usize) & + (274877906944u64 as u64)) } | ((mIsChromeOriginImage as u32 as u64) << - 37usize) & - (137438953472u64 as + 39usize) & + (549755813888u64 as u64)) } | ((mPaintFlashing as u32 as u64) - << 38usize) & - (274877906944u64 as u64)) + << 40usize) & + (1099511627776u64 as u64)) } | ((mPaintFlashingInitialized as u32 - as u64) << 39usize) & - (549755813888u64 as u64)) + as u64) << 41usize) & + (2199023255552u64 as u64)) } | ((mHasWarnedAboutPositionedTableParts as - u32 as u64) << 40usize) & - (1099511627776u64 as u64)) + u32 as u64) << 42usize) & + (4398046511104u64 as u64)) } | ((mHasWarnedAboutTooLargeDashedOrDottedRadius - as u32 as u64) << 41usize) & - (2199023255552u64 as u64)) + as u32 as u64) << 43usize) & + (8796093022208u64 as u64)) } | - ((mQuirkSheetAdded as u32 as u64) << 42usize) & - (4398046511104u64 as u64)) + ((mQuirkSheetAdded as u32 as u64) << 44usize) & + (17592186044416u64 as u64)) } | - ((mNeedsPrefUpdate as u32 as u64) << 43usize) & - (8796093022208u64 as u64)) + ((mNeedsPrefUpdate as u32 as u64) << 45usize) & + (35184372088832u64 as u64)) } | - ((mHadNonBlankPaint as u32 as u64) << 44usize) & - (17592186044416u64 as u64)) + ((mHadNonBlankPaint as u32 as u64) << 46usize) & + (70368744177664u64 as u64)) } } pub type gfxSize = [u64; 2usize]; @@ -23443,7 +23559,7 @@ pub mod root { } #[repr(C)] #[derive(Debug, Copy, Clone)] - pub struct nsChildContentList { + pub struct nsAttrChildContentList { _unused: [u8; 0], } #[repr(C)] @@ -24811,57 +24927,57 @@ pub mod root { pub struct nsRange { _unused: [u8; 0], } - pub const NODE_HAS_LISTENERMANAGER: root::_bindgen_ty_72 = - _bindgen_ty_72::NODE_HAS_LISTENERMANAGER; - pub const NODE_HAS_PROPERTIES: root::_bindgen_ty_72 = - _bindgen_ty_72::NODE_HAS_PROPERTIES; - pub const NODE_IS_ANONYMOUS_ROOT: root::_bindgen_ty_72 = - _bindgen_ty_72::NODE_IS_ANONYMOUS_ROOT; - pub const NODE_IS_IN_NATIVE_ANONYMOUS_SUBTREE: root::_bindgen_ty_72 = - _bindgen_ty_72::NODE_IS_IN_NATIVE_ANONYMOUS_SUBTREE; - pub const NODE_IS_NATIVE_ANONYMOUS_ROOT: root::_bindgen_ty_72 = - _bindgen_ty_72::NODE_IS_NATIVE_ANONYMOUS_ROOT; - pub const NODE_FORCE_XBL_BINDINGS: root::_bindgen_ty_72 = - _bindgen_ty_72::NODE_FORCE_XBL_BINDINGS; - pub const NODE_MAY_BE_IN_BINDING_MNGR: root::_bindgen_ty_72 = - _bindgen_ty_72::NODE_MAY_BE_IN_BINDING_MNGR; - pub const NODE_IS_EDITABLE: root::_bindgen_ty_72 = - _bindgen_ty_72::NODE_IS_EDITABLE; - pub const NODE_IS_NATIVE_ANONYMOUS: root::_bindgen_ty_72 = - _bindgen_ty_72::NODE_IS_NATIVE_ANONYMOUS; - pub const NODE_IS_IN_SHADOW_TREE: root::_bindgen_ty_72 = - _bindgen_ty_72::NODE_IS_IN_SHADOW_TREE; - pub const NODE_HAS_EMPTY_SELECTOR: root::_bindgen_ty_72 = - _bindgen_ty_72::NODE_HAS_EMPTY_SELECTOR; - pub const NODE_HAS_SLOW_SELECTOR: root::_bindgen_ty_72 = - _bindgen_ty_72::NODE_HAS_SLOW_SELECTOR; - pub const NODE_HAS_EDGE_CHILD_SELECTOR: root::_bindgen_ty_72 = - _bindgen_ty_72::NODE_HAS_EDGE_CHILD_SELECTOR; - pub const NODE_HAS_SLOW_SELECTOR_LATER_SIBLINGS: root::_bindgen_ty_72 = - _bindgen_ty_72::NODE_HAS_SLOW_SELECTOR_LATER_SIBLINGS; - pub const NODE_ALL_SELECTOR_FLAGS: root::_bindgen_ty_72 = - _bindgen_ty_72::NODE_ALL_SELECTOR_FLAGS; - pub const NODE_NEEDS_FRAME: root::_bindgen_ty_72 = - _bindgen_ty_72::NODE_NEEDS_FRAME; - pub const NODE_DESCENDANTS_NEED_FRAMES: root::_bindgen_ty_72 = - _bindgen_ty_72::NODE_DESCENDANTS_NEED_FRAMES; - pub const NODE_HAS_ACCESSKEY: root::_bindgen_ty_72 = - _bindgen_ty_72::NODE_HAS_ACCESSKEY; - pub const NODE_HAS_DIRECTION_RTL: root::_bindgen_ty_72 = - _bindgen_ty_72::NODE_HAS_DIRECTION_RTL; - pub const NODE_HAS_DIRECTION_LTR: root::_bindgen_ty_72 = - _bindgen_ty_72::NODE_HAS_DIRECTION_LTR; - pub const NODE_ALL_DIRECTION_FLAGS: root::_bindgen_ty_72 = - _bindgen_ty_72::NODE_ALL_DIRECTION_FLAGS; - pub const NODE_CHROME_ONLY_ACCESS: root::_bindgen_ty_72 = - _bindgen_ty_72::NODE_CHROME_ONLY_ACCESS; - pub const NODE_IS_ROOT_OF_CHROME_ONLY_ACCESS: root::_bindgen_ty_72 = - _bindgen_ty_72::NODE_IS_ROOT_OF_CHROME_ONLY_ACCESS; - pub const NODE_TYPE_SPECIFIC_BITS_OFFSET: root::_bindgen_ty_72 = - _bindgen_ty_72::NODE_TYPE_SPECIFIC_BITS_OFFSET; + pub const NODE_HAS_LISTENERMANAGER: root::_bindgen_ty_83 = + _bindgen_ty_83::NODE_HAS_LISTENERMANAGER; + pub const NODE_HAS_PROPERTIES: root::_bindgen_ty_83 = + _bindgen_ty_83::NODE_HAS_PROPERTIES; + pub const NODE_IS_ANONYMOUS_ROOT: root::_bindgen_ty_83 = + _bindgen_ty_83::NODE_IS_ANONYMOUS_ROOT; + pub const NODE_IS_IN_NATIVE_ANONYMOUS_SUBTREE: root::_bindgen_ty_83 = + _bindgen_ty_83::NODE_IS_IN_NATIVE_ANONYMOUS_SUBTREE; + pub const NODE_IS_NATIVE_ANONYMOUS_ROOT: root::_bindgen_ty_83 = + _bindgen_ty_83::NODE_IS_NATIVE_ANONYMOUS_ROOT; + pub const NODE_FORCE_XBL_BINDINGS: root::_bindgen_ty_83 = + _bindgen_ty_83::NODE_FORCE_XBL_BINDINGS; + pub const NODE_MAY_BE_IN_BINDING_MNGR: root::_bindgen_ty_83 = + _bindgen_ty_83::NODE_MAY_BE_IN_BINDING_MNGR; + pub const NODE_IS_EDITABLE: root::_bindgen_ty_83 = + _bindgen_ty_83::NODE_IS_EDITABLE; + pub const NODE_IS_NATIVE_ANONYMOUS: root::_bindgen_ty_83 = + _bindgen_ty_83::NODE_IS_NATIVE_ANONYMOUS; + pub const NODE_IS_IN_SHADOW_TREE: root::_bindgen_ty_83 = + _bindgen_ty_83::NODE_IS_IN_SHADOW_TREE; + pub const NODE_HAS_EMPTY_SELECTOR: root::_bindgen_ty_83 = + _bindgen_ty_83::NODE_HAS_EMPTY_SELECTOR; + pub const NODE_HAS_SLOW_SELECTOR: root::_bindgen_ty_83 = + _bindgen_ty_83::NODE_HAS_SLOW_SELECTOR; + pub const NODE_HAS_EDGE_CHILD_SELECTOR: root::_bindgen_ty_83 = + _bindgen_ty_83::NODE_HAS_EDGE_CHILD_SELECTOR; + pub const NODE_HAS_SLOW_SELECTOR_LATER_SIBLINGS: root::_bindgen_ty_83 = + _bindgen_ty_83::NODE_HAS_SLOW_SELECTOR_LATER_SIBLINGS; + pub const NODE_ALL_SELECTOR_FLAGS: root::_bindgen_ty_83 = + _bindgen_ty_83::NODE_ALL_SELECTOR_FLAGS; + pub const NODE_NEEDS_FRAME: root::_bindgen_ty_83 = + _bindgen_ty_83::NODE_NEEDS_FRAME; + pub const NODE_DESCENDANTS_NEED_FRAMES: root::_bindgen_ty_83 = + _bindgen_ty_83::NODE_DESCENDANTS_NEED_FRAMES; + pub const NODE_HAS_ACCESSKEY: root::_bindgen_ty_83 = + _bindgen_ty_83::NODE_HAS_ACCESSKEY; + pub const NODE_HAS_DIRECTION_RTL: root::_bindgen_ty_83 = + _bindgen_ty_83::NODE_HAS_DIRECTION_RTL; + pub const NODE_HAS_DIRECTION_LTR: root::_bindgen_ty_83 = + _bindgen_ty_83::NODE_HAS_DIRECTION_LTR; + pub const NODE_ALL_DIRECTION_FLAGS: root::_bindgen_ty_83 = + _bindgen_ty_83::NODE_ALL_DIRECTION_FLAGS; + pub const NODE_CHROME_ONLY_ACCESS: root::_bindgen_ty_83 = + _bindgen_ty_83::NODE_CHROME_ONLY_ACCESS; + pub const NODE_IS_ROOT_OF_CHROME_ONLY_ACCESS: root::_bindgen_ty_83 = + _bindgen_ty_83::NODE_IS_ROOT_OF_CHROME_ONLY_ACCESS; + pub const NODE_TYPE_SPECIFIC_BITS_OFFSET: root::_bindgen_ty_83 = + _bindgen_ty_83::NODE_TYPE_SPECIFIC_BITS_OFFSET; #[repr(u32)] #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)] - pub enum _bindgen_ty_72 { + pub enum _bindgen_ty_83 { NODE_HAS_LISTENERMANAGER = 4, NODE_HAS_PROPERTIES = 8, NODE_IS_ANONYMOUS_ROOT = 16, @@ -26107,6 +26223,11 @@ pub mod root { } #[repr(C)] #[derive(Debug, Copy, Clone)] + pub struct nsCSSFontFeatureValuesRule { + _unused: [u8; 0], + } + #[repr(C)] + #[derive(Debug, Copy, Clone)] pub struct nsTransitionManager { _unused: [u8; 0], } @@ -32343,46 +32464,46 @@ pub mod root { assert_eq! (::std::mem::align_of::() , 8usize , concat ! ( "Alignment of " , stringify ! ( nsISMILAttr ) )); } - pub const ELEMENT_SHARED_RESTYLE_BIT_1: root::_bindgen_ty_74 = - _bindgen_ty_74::ELEMENT_SHARED_RESTYLE_BIT_1; - pub const ELEMENT_SHARED_RESTYLE_BIT_2: root::_bindgen_ty_74 = - _bindgen_ty_74::ELEMENT_SHARED_RESTYLE_BIT_2; - pub const ELEMENT_SHARED_RESTYLE_BIT_3: root::_bindgen_ty_74 = - _bindgen_ty_74::ELEMENT_SHARED_RESTYLE_BIT_3; - pub const ELEMENT_SHARED_RESTYLE_BIT_4: root::_bindgen_ty_74 = - _bindgen_ty_74::ELEMENT_SHARED_RESTYLE_BIT_4; - pub const ELEMENT_HAS_DIRTY_DESCENDANTS_FOR_SERVO: root::_bindgen_ty_74 = - _bindgen_ty_74::ELEMENT_SHARED_RESTYLE_BIT_1; + pub const ELEMENT_SHARED_RESTYLE_BIT_1: root::_bindgen_ty_85 = + _bindgen_ty_85::ELEMENT_SHARED_RESTYLE_BIT_1; + pub const ELEMENT_SHARED_RESTYLE_BIT_2: root::_bindgen_ty_85 = + _bindgen_ty_85::ELEMENT_SHARED_RESTYLE_BIT_2; + pub const ELEMENT_SHARED_RESTYLE_BIT_3: root::_bindgen_ty_85 = + _bindgen_ty_85::ELEMENT_SHARED_RESTYLE_BIT_3; + pub const ELEMENT_SHARED_RESTYLE_BIT_4: root::_bindgen_ty_85 = + _bindgen_ty_85::ELEMENT_SHARED_RESTYLE_BIT_4; + pub const ELEMENT_HAS_DIRTY_DESCENDANTS_FOR_SERVO: root::_bindgen_ty_85 = + _bindgen_ty_85::ELEMENT_SHARED_RESTYLE_BIT_1; pub const ELEMENT_HAS_ANIMATION_ONLY_DIRTY_DESCENDANTS_FOR_SERVO: - root::_bindgen_ty_74 = - _bindgen_ty_74::ELEMENT_SHARED_RESTYLE_BIT_2; - pub const ELEMENT_HAS_SNAPSHOT: root::_bindgen_ty_74 = - _bindgen_ty_74::ELEMENT_SHARED_RESTYLE_BIT_3; - pub const ELEMENT_HANDLED_SNAPSHOT: root::_bindgen_ty_74 = - _bindgen_ty_74::ELEMENT_SHARED_RESTYLE_BIT_4; - pub const ELEMENT_HAS_PENDING_RESTYLE: root::_bindgen_ty_74 = - _bindgen_ty_74::ELEMENT_SHARED_RESTYLE_BIT_1; - pub const ELEMENT_IS_POTENTIAL_RESTYLE_ROOT: root::_bindgen_ty_74 = - _bindgen_ty_74::ELEMENT_SHARED_RESTYLE_BIT_2; - pub const ELEMENT_HAS_PENDING_ANIMATION_ONLY_RESTYLE: root::_bindgen_ty_74 + root::_bindgen_ty_85 = + _bindgen_ty_85::ELEMENT_SHARED_RESTYLE_BIT_2; + pub const ELEMENT_HAS_SNAPSHOT: root::_bindgen_ty_85 = + _bindgen_ty_85::ELEMENT_SHARED_RESTYLE_BIT_3; + pub const ELEMENT_HANDLED_SNAPSHOT: root::_bindgen_ty_85 = + _bindgen_ty_85::ELEMENT_SHARED_RESTYLE_BIT_4; + pub const ELEMENT_HAS_PENDING_RESTYLE: root::_bindgen_ty_85 = + _bindgen_ty_85::ELEMENT_SHARED_RESTYLE_BIT_1; + pub const ELEMENT_IS_POTENTIAL_RESTYLE_ROOT: root::_bindgen_ty_85 = + _bindgen_ty_85::ELEMENT_SHARED_RESTYLE_BIT_2; + pub const ELEMENT_HAS_PENDING_ANIMATION_ONLY_RESTYLE: root::_bindgen_ty_85 = - _bindgen_ty_74::ELEMENT_SHARED_RESTYLE_BIT_3; + _bindgen_ty_85::ELEMENT_SHARED_RESTYLE_BIT_3; pub const ELEMENT_IS_POTENTIAL_ANIMATION_ONLY_RESTYLE_ROOT: - root::_bindgen_ty_74 = - _bindgen_ty_74::ELEMENT_SHARED_RESTYLE_BIT_4; - pub const ELEMENT_IS_CONDITIONAL_RESTYLE_ANCESTOR: root::_bindgen_ty_74 = - _bindgen_ty_74::ELEMENT_IS_CONDITIONAL_RESTYLE_ANCESTOR; - pub const ELEMENT_PENDING_RESTYLE_FLAGS: root::_bindgen_ty_74 = - _bindgen_ty_74::ELEMENT_PENDING_RESTYLE_FLAGS; - pub const ELEMENT_POTENTIAL_RESTYLE_ROOT_FLAGS: root::_bindgen_ty_74 = - _bindgen_ty_74::ELEMENT_POTENTIAL_RESTYLE_ROOT_FLAGS; - pub const ELEMENT_ALL_RESTYLE_FLAGS: root::_bindgen_ty_74 = - _bindgen_ty_74::ELEMENT_ALL_RESTYLE_FLAGS; - pub const ELEMENT_TYPE_SPECIFIC_BITS_OFFSET: root::_bindgen_ty_74 = - _bindgen_ty_74::ELEMENT_TYPE_SPECIFIC_BITS_OFFSET; + root::_bindgen_ty_85 = + _bindgen_ty_85::ELEMENT_SHARED_RESTYLE_BIT_4; + pub const ELEMENT_IS_CONDITIONAL_RESTYLE_ANCESTOR: root::_bindgen_ty_85 = + _bindgen_ty_85::ELEMENT_IS_CONDITIONAL_RESTYLE_ANCESTOR; + pub const ELEMENT_PENDING_RESTYLE_FLAGS: root::_bindgen_ty_85 = + _bindgen_ty_85::ELEMENT_PENDING_RESTYLE_FLAGS; + pub const ELEMENT_POTENTIAL_RESTYLE_ROOT_FLAGS: root::_bindgen_ty_85 = + _bindgen_ty_85::ELEMENT_POTENTIAL_RESTYLE_ROOT_FLAGS; + pub const ELEMENT_ALL_RESTYLE_FLAGS: root::_bindgen_ty_85 = + _bindgen_ty_85::ELEMENT_ALL_RESTYLE_FLAGS; + pub const ELEMENT_TYPE_SPECIFIC_BITS_OFFSET: root::_bindgen_ty_85 = + _bindgen_ty_85::ELEMENT_TYPE_SPECIFIC_BITS_OFFSET; #[repr(u32)] #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)] - pub enum _bindgen_ty_74 { + pub enum _bindgen_ty_85 { ELEMENT_SHARED_RESTYLE_BIT_1 = 8388608, ELEMENT_SHARED_RESTYLE_BIT_2 = 16777216, ELEMENT_SHARED_RESTYLE_BIT_3 = 33554432, @@ -32773,11 +32894,6 @@ pub mod root { pub type nsBindingList = root::nsTArray>; #[repr(C)] #[derive(Debug, Copy, Clone)] - pub struct nsCSSFontFeatureValuesRule { - _unused: [u8; 0], - } - #[repr(C)] - #[derive(Debug, Copy, Clone)] pub struct nsCSSPageRule { _unused: [u8; 0], } @@ -33214,6 +33330,17 @@ pub mod root { root::nsTArray<::std::os::raw::c_uint> ) )); } #[test] + fn __bindgen_test_layout_nsTArray_open0_unsigned_int_close0_instantiation_4() { + assert_eq!(::std::mem::size_of::>() + , 8usize , concat ! ( + "Size of template specialization: " , stringify ! ( + root::nsTArray<::std::os::raw::c_uint> ) )); + assert_eq!(::std::mem::align_of::>() + , 8usize , concat ! ( + "Alignment of template specialization: " , stringify ! ( + root::nsTArray<::std::os::raw::c_uint> ) )); + } + #[test] fn __bindgen_test_layout_nsTArray_open0_gfxAlternateValue_close0_instantiation() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( @@ -33258,7 +33385,7 @@ pub mod root { root::nsTArray ) )); } #[test] - fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_201132_close0_instantiation() { + fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_217886_close0_instantiation() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -33614,7 +33741,7 @@ pub mod root { root::mozilla::binding_danger::TErrorResult ) )); } #[test] - fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_202932_close0_instantiation() { + fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_219678_close0_instantiation() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -33669,15 +33796,15 @@ pub mod root { root::nsTArray ) )); } #[test] - fn __bindgen_test_layout_RefPtr_open0_nsChildContentList_close0_instantiation() { - assert_eq!(::std::mem::size_of::>() + fn __bindgen_test_layout_RefPtr_open0_nsAttrChildContentList_close0_instantiation() { + assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( - root::RefPtr ) )); - assert_eq!(::std::mem::align_of::>() + root::RefPtr ) )); + assert_eq!(::std::mem::align_of::>() , 8usize , concat ! ( "Alignment of template specialization: " , stringify ! ( - root::RefPtr ) )); + root::RefPtr ) )); } #[test] fn __bindgen_test_layout_UniquePtr_open0_nsTHashtable_open1_nsPtrHashKey_open2_nsRange_close2_close1_DefaultDelete_open1_nsTHashtable_open2_nsPtrHashKey_open3_nsRange_close3_close2_close1_close0_instantiation() { @@ -33775,7 +33902,7 @@ pub mod root { root::JS::DeletePolicy ) )); } #[test] - fn __bindgen_test_layout_iterator_open0_input_iterator_tag_UniquePtr_open1_JSErrorNotes_Note_DeletePolicy_open2_JSErrorNotes_Note_close2_close1_long__bindgen_ty_id_208528__bindgen_ty_id_208535_close0_instantiation() { + fn __bindgen_test_layout_iterator_open0_input_iterator_tag_UniquePtr_open1_JSErrorNotes_Note_DeletePolicy_open2_JSErrorNotes_Note_close2_close1_long__bindgen_ty_id_225273__bindgen_ty_id_225280_close0_instantiation() { assert_eq!(::std::mem::size_of::() , 1usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -34023,7 +34150,7 @@ pub mod root { root::RefPtr ) )); } #[test] - fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_211025_close0_instantiation() { + fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_227758_close0_instantiation() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -34091,7 +34218,7 @@ pub mod root { root::nsCOMPtr ) )); } #[test] - fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_211327_close0_instantiation() { + fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_228060_close0_instantiation() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -34203,7 +34330,7 @@ pub mod root { root::RefPtr ) )); } #[test] - fn __bindgen_test_layout_NotNull_open0__bindgen_ty_id_211876_close0_instantiation() { + fn __bindgen_test_layout_NotNull_open0__bindgen_ty_id_228609_close0_instantiation() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -34616,7 +34743,7 @@ pub mod root { root::RefPtr ) )); } #[test] - fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_212298_close0_instantiation() { + fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_229031_close0_instantiation() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -34706,7 +34833,7 @@ pub mod root { ) )); } #[test] - fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_212696_close0_instantiation() { + fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_229432_close0_instantiation() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -34807,7 +34934,7 @@ pub mod root { root::nsTArray<::nsstring::nsStringRepr> ) )); } #[test] - fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_213659_close0_instantiation() { + fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_230398_close0_instantiation() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -34896,7 +35023,7 @@ pub mod root { root::RefPtr ) )); } #[test] - fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_213962_close0_instantiation() { + fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_230701_close0_instantiation() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -34907,7 +35034,7 @@ pub mod root { root::nsTArray<*mut root::nsIContent> ) )); } #[test] - fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_213967_close0_instantiation() { + fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_230706_close0_instantiation() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -34964,7 +35091,7 @@ pub mod root { root::RefPtr ) )); } #[test] - fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_214442_close0_instantiation() { + fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_231181_close0_instantiation() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -35142,6 +35269,17 @@ pub mod root { root::nsCOMPtr ) )); } #[test] + fn __bindgen_test_layout_RefPtr_open0_gfxFontFeatureValueSet_close0_instantiation_1() { + assert_eq!(::std::mem::size_of::>() + , 8usize , concat ! ( + "Size of template specialization: " , stringify ! ( + root::RefPtr ) )); + assert_eq!(::std::mem::align_of::>() + , 8usize , concat ! ( + "Alignment of template specialization: " , stringify ! ( + root::RefPtr ) )); + } + #[test] fn __bindgen_test_layout_nsCOMPtr_open0_nsIAtom_close0_instantiation_5() { assert_eq!(::std::mem::size_of::() , 8usize , concat ! ( @@ -35599,7 +35737,7 @@ pub mod root { root::nsCOMPtr ) )); } #[test] - fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_217268_close0_instantiation() { + fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_233923_close0_instantiation() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -35678,7 +35816,7 @@ pub mod root { root::mozilla::DefaultDelete ) )); } #[test] - fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_223536_close0_instantiation() { + fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_240033_close0_instantiation() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -35711,7 +35849,7 @@ pub mod root { root::RefPtr ) )); } #[test] - fn __bindgen_test_layout_Heap_open0__bindgen_ty_id_224705_close0_instantiation() { + fn __bindgen_test_layout_Heap_open0__bindgen_ty_id_241202_close0_instantiation() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -35722,7 +35860,7 @@ pub mod root { root::JS::Heap<*mut root::JSObject> ) )); } #[test] - fn __bindgen_test_layout_Heap_open0__bindgen_ty_id_224709_close0_instantiation() { + fn __bindgen_test_layout_Heap_open0__bindgen_ty_id_241206_close0_instantiation() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -35744,7 +35882,7 @@ pub mod root { root::nsCOMPtr ) )); } #[test] - fn __bindgen_test_layout_TenuredHeap_open0__bindgen_ty_id_224716_close0_instantiation() { + fn __bindgen_test_layout_TenuredHeap_open0__bindgen_ty_id_241213_close0_instantiation() { assert_eq!(::std::mem::size_of::() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -35823,7 +35961,7 @@ pub mod root { ) )); } #[test] - fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_225889_close0_instantiation() { + fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_242318_close0_instantiation() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -36018,7 +36156,7 @@ pub mod root { root::nsTArray ) )); } #[test] - fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_227337_close0_instantiation() { + fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_243766_close0_instantiation() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -36123,7 +36261,7 @@ pub mod root { root::nsRefPtrHashKey ) )); } #[test] - fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_229710_close0_instantiation() { + fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_246139_close0_instantiation() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -36824,7 +36962,7 @@ pub mod root { root::RefPtr ) )); } #[test] - fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_232192_close0_instantiation() { + fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_248621_close0_instantiation() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -37061,7 +37199,7 @@ pub mod root { root::nsCOMPtr ) )); } #[test] - fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_240004_close0_instantiation() { + fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_252790_close0_instantiation() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -37072,7 +37210,7 @@ pub mod root { root::nsTArray<*mut root::nsIContent> ) )); } #[test] - fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_240009_close0_instantiation() { + fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_252795_close0_instantiation() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -37160,7 +37298,7 @@ pub mod root { root::RefPtr ) )); } #[test] - fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_240122_close0_instantiation() { + fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_252908_close0_instantiation() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -37447,7 +37585,7 @@ pub mod root { ) )); } #[test] - fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_241702_close0_instantiation() { + fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_254488_close0_instantiation() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -37469,7 +37607,29 @@ pub mod root { root::RefPtr ) )); } #[test] - fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_241860_close0_instantiation() { + fn __bindgen_test_layout_nsTArray_open0_unsigned_int_close0_instantiation_5() { + assert_eq!(::std::mem::size_of::>() + , 8usize , concat ! ( + "Size of template specialization: " , stringify ! ( + root::nsTArray<::std::os::raw::c_uint> ) )); + assert_eq!(::std::mem::align_of::>() + , 8usize , concat ! ( + "Alignment of template specialization: " , stringify ! ( + root::nsTArray<::std::os::raw::c_uint> ) )); + } + #[test] + fn __bindgen_test_layout_nsTArray_open0_unsigned_int_close0_instantiation_6() { + assert_eq!(::std::mem::size_of::>() + , 8usize , concat ! ( + "Size of template specialization: " , stringify ! ( + root::nsTArray<::std::os::raw::c_uint> ) )); + assert_eq!(::std::mem::align_of::>() + , 8usize , concat ! ( + "Alignment of template specialization: " , stringify ! ( + root::nsTArray<::std::os::raw::c_uint> ) )); + } + #[test] + fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_254656_close0_instantiation() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -37480,7 +37640,7 @@ pub mod root { root::nsTArray<*mut root::nsIContent> ) )); } #[test] - fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_241865_close0_instantiation() { + fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_254661_close0_instantiation() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -37612,7 +37772,7 @@ pub mod root { root::nsTArray ) )); } #[test] - fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_244094_close0_instantiation() { + fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_256904_close0_instantiation() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! ( @@ -37623,7 +37783,7 @@ pub mod root { root::nsTArray<*mut root::mozilla::css::DocumentRule> ) )); } #[test] - fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_244100_close0_instantiation() { + fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_256910_close0_instantiation() { assert_eq!(::std::mem::size_of::>() , 8usize , concat ! ( "Size of template specialization: " , stringify ! (