aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--components/style/gecko_bindings/structs_debug.rs20
-rw-r--r--components/style/gecko_bindings/structs_release.rs20
-rw-r--r--components/style/gecko_string_cache/atom_macro.rs8
3 files changed, 20 insertions, 28 deletions
diff --git a/components/style/gecko_bindings/structs_debug.rs b/components/style/gecko_bindings/structs_debug.rs
index f09f413df7a..be9627a71e6 100644
--- a/components/style/gecko_bindings/structs_debug.rs
+++ b/components/style/gecko_bindings/structs_debug.rs
@@ -5546,7 +5546,7 @@ pub struct FragmentOrElement_nsDOMSlots {
/**
* Holds any SMIL override style declaration for this element.
*/
- pub mSMILOverrideStyleDeclaration: RefPtr<Declaration>,
+ pub mSMILOverrideStyleDeclaration: RefPtr<DeclarationBlock>,
/**
* An object implementing nsIDOMMozNamedAttrMap for this content (attributes)
* @see FragmentOrElement::GetAttributes
@@ -7410,6 +7410,14 @@ fn bindgen_test_layout_nsAttrName() {
assert_eq!(::std::mem::align_of::<nsAttrName>() , 8usize);
}
#[repr(C)]
+#[derive(Debug, Copy)]
+pub struct DeclarationBlock {
+ pub _address: u8,
+}
+impl Clone for DeclarationBlock {
+ fn clone(&self) -> Self { *self }
+}
+#[repr(C)]
#[derive(Debug)]
pub struct URLValue {
pub _base: URLValueData,
@@ -7559,14 +7567,6 @@ pub struct nsDOMStringMap {
impl Clone for nsDOMStringMap {
fn clone(&self) -> Self { *self }
}
-#[repr(C)]
-#[derive(Debug, Copy)]
-pub struct Declaration {
- pub _address: u8,
-}
-impl Clone for Declaration {
- fn clone(&self) -> Self { *self }
-}
/**
* Interface used for handling clicks on links
*/
@@ -8904,7 +8904,7 @@ pub enum nsCSSPropertyID {
eCSSProperty_flex_grow = 106,
eCSSProperty_flex_shrink = 107,
eCSSProperty_flex_wrap = 108,
- eCSSProperty_float = 109,
+ eCSSProperty_float_ = 109,
eCSSProperty_float_edge = 110,
eCSSProperty_flood_color = 111,
eCSSProperty_flood_opacity = 112,
diff --git a/components/style/gecko_bindings/structs_release.rs b/components/style/gecko_bindings/structs_release.rs
index a5767000604..414bc984720 100644
--- a/components/style/gecko_bindings/structs_release.rs
+++ b/components/style/gecko_bindings/structs_release.rs
@@ -5506,7 +5506,7 @@ pub struct FragmentOrElement_nsDOMSlots {
/**
* Holds any SMIL override style declaration for this element.
*/
- pub mSMILOverrideStyleDeclaration: RefPtr<Declaration>,
+ pub mSMILOverrideStyleDeclaration: RefPtr<DeclarationBlock>,
/**
* An object implementing nsIDOMMozNamedAttrMap for this content (attributes)
* @see FragmentOrElement::GetAttributes
@@ -7368,6 +7368,14 @@ fn bindgen_test_layout_nsAttrName() {
assert_eq!(::std::mem::align_of::<nsAttrName>() , 8usize);
}
#[repr(C)]
+#[derive(Debug, Copy)]
+pub struct DeclarationBlock {
+ pub _address: u8,
+}
+impl Clone for DeclarationBlock {
+ fn clone(&self) -> Self { *self }
+}
+#[repr(C)]
#[derive(Debug)]
pub struct URLValue {
pub _base: URLValueData,
@@ -7516,14 +7524,6 @@ pub struct nsDOMStringMap {
impl Clone for nsDOMStringMap {
fn clone(&self) -> Self { *self }
}
-#[repr(C)]
-#[derive(Debug, Copy)]
-pub struct Declaration {
- pub _address: u8,
-}
-impl Clone for Declaration {
- fn clone(&self) -> Self { *self }
-}
/**
* Interface used for handling clicks on links
*/
@@ -8861,7 +8861,7 @@ pub enum nsCSSPropertyID {
eCSSProperty_flex_grow = 106,
eCSSProperty_flex_shrink = 107,
eCSSProperty_flex_wrap = 108,
- eCSSProperty_float = 109,
+ eCSSProperty_float_ = 109,
eCSSProperty_float_edge = 110,
eCSSProperty_flood_color = 111,
eCSSProperty_flood_opacity = 112,
diff --git a/components/style/gecko_string_cache/atom_macro.rs b/components/style/gecko_string_cache/atom_macro.rs
index fc6f22948be..061d8f8acb5 100644
--- a/components/style/gecko_string_cache/atom_macro.rs
+++ b/components/style/gecko_string_cache/atom_macro.rs
@@ -5348,8 +5348,6 @@ cfg_if! {
pub static nsCSSProps_marker_end: *mut nsICSSProperty;
#[link_name = "_ZN10nsCSSProps10marker_midE"]
pub static nsCSSProps_marker_mid: *mut nsICSSProperty;
- #[link_name = "_ZN10nsCSSProps13marker_offsetE"]
- pub static nsCSSProps_marker_offset: *mut nsICSSProperty;
#[link_name = "_ZN10nsCSSProps12marker_startE"]
pub static nsCSSProps_marker_start: *mut nsICSSProperty;
#[link_name = "_ZN10nsCSSProps4maskE"]
@@ -10987,8 +10985,6 @@ cfg_if! {
pub static nsCSSProps_marker_end: *mut nsICSSProperty;
#[link_name = "?marker_mid@nsCSSProps@@2PEAVnsICSSProperty@@EA"]
pub static nsCSSProps_marker_mid: *mut nsICSSProperty;
- #[link_name = "?marker_offset@nsCSSProps@@2PEAVnsICSSProperty@@EA"]
- pub static nsCSSProps_marker_offset: *mut nsICSSProperty;
#[link_name = "?marker_start@nsCSSProps@@2PEAVnsICSSProperty@@EA"]
pub static nsCSSProps_marker_start: *mut nsICSSProperty;
#[link_name = "?mask@nsCSSProps@@2PEAVnsICSSProperty@@EA"]
@@ -16626,8 +16622,6 @@ cfg_if! {
pub static nsCSSProps_marker_end: *mut nsICSSProperty;
#[link_name = "\x01?marker_mid@nsCSSProps@@2PAVnsICSSProperty@@A"]
pub static nsCSSProps_marker_mid: *mut nsICSSProperty;
- #[link_name = "\x01?marker_offset@nsCSSProps@@2PAVnsICSSProperty@@A"]
- pub static nsCSSProps_marker_offset: *mut nsICSSProperty;
#[link_name = "\x01?marker_start@nsCSSProps@@2PAVnsICSSProperty@@A"]
pub static nsCSSProps_marker_start: *mut nsICSSProperty;
#[link_name = "\x01?mask@nsCSSProps@@2PAVnsICSSProperty@@A"]
@@ -22268,8 +22262,6 @@ macro_rules! atom {
{ unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsCSSProps_marker_end as *mut _) } };
("marker-mid") =>
{ unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsCSSProps_marker_mid as *mut _) } };
-("marker-offset") =>
- { unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsCSSProps_marker_offset as *mut _) } };
("marker-start") =>
{ unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsCSSProps_marker_start as *mut _) } };
("mask") =>