diff --git a/components/style/gecko/generated/bindings.rs b/components/style/gecko/generated/bindings.rs index 4e76b4679e0..02401664525 100644 --- a/components/style/gecko/generated/bindings.rs +++ b/components/style/gecko/generated/bindings.rs @@ -54,7 +54,6 @@ use gecko_bindings::structs::RawServoSelectorList; use gecko_bindings::structs::RawServoSourceSizeList; use gecko_bindings::structs::RefPtr; use gecko_bindings::structs::RustString; -use gecko_bindings::structs::CSSPseudoClassType; use gecko_bindings::structs::CSSPseudoElementType; use gecko_bindings::structs::ServoTraversalFlags; use gecko_bindings::structs::ComputedTimingFunction_BeforeFlag; @@ -627,12 +626,6 @@ extern "C" { extern "C" { pub fn Gecko_IsRootElement(element: RawGeckoElementBorrowed) -> bool; } -extern "C" { - pub fn Gecko_MatchesElement( - type_: CSSPseudoClassType, - element: RawGeckoElementBorrowed, - ) -> bool; -} extern "C" { pub fn Gecko_MatchLang( element: RawGeckoElementBorrowed, @@ -647,6 +640,12 @@ extern "C" { extern "C" { pub fn Gecko_GetDocumentLWTheme(aDocument: *const nsIDocument) -> nsIDocument_DocumentTheme; } +extern "C" { + pub fn Gecko_IsTableBorderNonzero(element: RawGeckoElementBorrowed) -> bool; +} +extern "C" { + pub fn Gecko_IsBrowserFrame(element: RawGeckoElementBorrowed) -> bool; +} extern "C" { pub fn Gecko_AtomAttrValue( element: RawGeckoElementBorrowed, diff --git a/components/style/gecko/generated/structs.rs b/components/style/gecko/generated/structs.rs index 923b16f41d4..874568e7d19 100644 --- a/components/style/gecko/generated/structs.rs +++ b/components/style/gecko/generated/structs.rs @@ -12267,97 +12267,6 @@ pub mod root { ) ); } - pub type CSSPseudoClassTypeBase = u8; - #[repr(u8)] - #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)] - pub enum CSSPseudoClassType { - empty = 0, - mozOnlyWhitespace = 1, - lang = 2, - root = 3, - any = 4, - firstChild = 5, - firstNode = 6, - lastChild = 7, - lastNode = 8, - onlyChild = 9, - firstOfType = 10, - lastOfType = 11, - onlyOfType = 12, - nthChild = 13, - nthLastChild = 14, - nthOfType = 15, - nthLastOfType = 16, - mozIsHTML = 17, - mozNativeAnonymous = 18, - mozUseShadowTreeRoot = 19, - mozLocaleDir = 20, - mozLWTheme = 21, - mozLWThemeBrightText = 22, - mozLWThemeDarkText = 23, - mozWindowInactive = 24, - mozTableBorderNonzero = 25, - mozBrowserFrame = 26, - scope = 27, - negation = 28, - dir = 29, - link = 30, - mozAnyLink = 31, - anyLink = 32, - visited = 33, - active = 34, - checked = 35, - disabled = 36, - enabled = 37, - focus = 38, - focusWithin = 39, - hover = 40, - mozDragOver = 41, - target = 42, - indeterminate = 43, - mozDevtoolsHighlighted = 44, - mozStyleeditorTransitioning = 45, - fullscreen = 46, - mozFullScreen = 47, - mozFocusRing = 48, - mozBroken = 49, - mozLoading = 50, - mozUserDisabled = 51, - mozSuppressed = 52, - mozHandlerClickToPlay = 53, - mozHandlerVulnerableUpdatable = 54, - mozHandlerVulnerableNoUpdate = 55, - mozHandlerDisabled = 56, - mozHandlerBlocked = 57, - mozHandlerCrashed = 58, - mozMathIncrementScriptLevel = 59, - mozHasDirAttr = 60, - mozDirAttrLTR = 61, - mozDirAttrRTL = 62, - mozDirAttrLikeAuto = 63, - mozAutofill = 64, - mozAutofillPreview = 65, - required = 66, - optional = 67, - valid = 68, - invalid = 69, - inRange = 70, - outOfRange = 71, - defaultPseudo = 72, - placeholderShown = 73, - mozReadOnly = 74, - mozReadWrite = 75, - mozSubmitInvalid = 76, - mozUIInvalid = 77, - mozUIValid = 78, - mozMeterOptimum = 79, - mozMeterSubOptimum = 80, - mozMeterSubSubOptimum = 81, - mozPlaceholder = 82, - Count = 83, - NotPseudo = 84, - MAX = 85, - } #[repr(C)] pub struct GeckoFont { pub gecko: root::nsStyleFont, diff --git a/components/style/gecko/non_ts_pseudo_class_list.rs b/components/style/gecko/non_ts_pseudo_class_list.rs index 0a5fe00be02..b02e21fbf8a 100644 --- a/components/style/gecko/non_ts_pseudo_class_list.rs +++ b/components/style/gecko/non_ts_pseudo_class_list.rs @@ -28,9 +28,6 @@ * * :scope ->