summaryrefslogtreecommitdiffstats
path: root/layout/style/ServoBindings.toml
diff options
context:
space:
mode:
Diffstat (limited to 'layout/style/ServoBindings.toml')
-rw-r--r--layout/style/ServoBindings.toml60
1 files changed, 1 insertions, 59 deletions
diff --git a/layout/style/ServoBindings.toml b/layout/style/ServoBindings.toml
index cc6d13fb5e..20e1ca4116 100644
--- a/layout/style/ServoBindings.toml
+++ b/layout/style/ServoBindings.toml
@@ -186,16 +186,9 @@ allowlist-vars = [
"NODE_.*",
"ELEMENT_.*",
"NS_FONT_.*",
- "NS_STYLE_.*",
- "NS_MATHML_.*",
- "NS_RADIUS_.*",
- "BORDER_COLOR_.*",
- "BORDER_STYLE_.*",
"CSS_PSEUDO_ELEMENT_.*",
"SERVO_CSS_PSEUDO_ELEMENT_FLAGS_.*",
"kNameSpaceID_.*",
- "kGenericFont_.*",
- "kPresContext_.*",
"nsNameSpaceManager_.*",
"GECKO_IS_NIGHTLY",
"NS_SAME_AS_FOREGROUND_COLOR",
@@ -205,9 +198,7 @@ allowlist-vars = [
# TODO(emilio): A bunch of types here can go away once we generate bindings and
# structs together.
allowlist-types = [
- "ServoCssRules",
"nsFontFaceRuleContainer",
- "Matrix4x4Components",
"mozilla::ComputedKeyframeValues",
"mozilla::Keyframe",
"mozilla::PropertyValuePair",
@@ -223,7 +214,6 @@ allowlist-types = [
"mozilla::ServoElementSnapshot.*",
"mozilla::ComputedStyle",
"mozilla::StyleSheet",
- "mozilla::ServoStyleSheetInner",
"mozilla::ServoStyleSetSizes",
"mozilla::ServoTraversalStatistics",
"mozilla::css::LoaderReusableStyleSheets",
@@ -247,27 +237,14 @@ allowlist-types = [
"mozilla::gfx::Float",
"mozilla::gfx::FontVariation",
"mozilla::gfx::FontPaletteValueSet",
- "mozilla::gfx::FontPaletteValueSet::PaletteValeus",
"mozilla::StyleImageLayerAttachment",
"gfxFontFeature",
"gfxFontVariation",
- ".*ThreadSafe.*Holder",
- "AnonymousContent",
- "AudioContext",
- "DefaultDelete",
- "DOMIntersectionObserverEntry",
"Element",
- "mozilla::FontSizePrefs",
- "FragmentOrURL",
- "FrameRequestCallback",
- "GeckoParserExtraData",
"GeckoFontMetrics",
"gfxFontFeatureValueSet",
- "GridNamedArea",
"mozilla::HalfCorner",
"Image",
- "ImageURL",
- "Keyframe",
"mozilla::MediumFeaturesChangedResult",
"nsAttrName",
"nsAttrValue",
@@ -280,15 +257,7 @@ allowlist-types = [
"nsCSSPropertyID",
"nsCSSPropertyIDSet",
"nsCSSProps",
- "nsCSSShadowArray",
"nsCSSValue",
- "nsCSSValueList",
- "nsCSSValueList_heap",
- "nsCSSValuePair_heap",
- "nsCSSValuePairList",
- "nsCSSValuePairList_heap",
- "nsCSSValueTriplet_heap",
- "nsCursorImage",
"nsFont",
"nsAtom",
"nsDynamicAtom",
@@ -299,19 +268,11 @@ allowlist-types = [
"nsSize",
"nsStyleBackground",
"nsStyleBorder",
- "nsStyleColor",
"nsStyleColumn",
"nsStyleContent",
- "nsStyleContentData",
- "ComputedStyle",
- "nsStyleCounterData",
"nsStyleDisplay",
"nsStyleEffects",
- "nsStyleFilter",
"nsStyleFont",
- "nsStyleGradient",
- "nsStyleGridTemplate",
- "nsStyleImage",
"nsStyleImageLayers",
"nsStyleList",
"nsStyleMargin",
@@ -319,37 +280,17 @@ allowlist-types = [
"nsStylePadding",
"nsStylePage",
"nsStylePosition",
- "nsStyleSides",
"nsStyleSVG",
- "nsStyleSVGOpacitySource",
"nsStyleSVGReset",
"nsStyleTable",
"nsStyleTableBorder",
"nsStyleText",
"nsStyleTextReset",
"nsStyleUIReset",
- "nsStyleUnion",
"nsStyleUI",
"nsStyleVisibility",
"nsStyleXUL",
"nsTArrayHeader",
- "Position",
- "PropertyValuePair",
- "Runnable",
- "ServoAttrSnapshot",
- "ServoComputedData",
- "ServoComputedDataBorrowed",
- "ServoElementSnapshot",
- "ComputedStyleStrong",
- "ComputedStyleBorrowed",
- "ComputedStyleBorrowedOrNull",
- "SheetParsingMode",
- "StaticRefPtr",
- "StyleAnimation",
- "StyleGeometryBox",
- "StyleShapeSource",
- "StyleTransition",
- "ThemeWidgetType",
"mozilla::UniquePtr",
"mozilla::DeclarationBlock",
"mozilla::DefaultDelete",
@@ -430,6 +371,7 @@ opaque-types = [
cbindgen-types = [
{ gecko = "StyleAnimationIterationCount", servo = "crate::values::computed::AnimationIterationCount" },
{ gecko = "StyleAnimationTimeline", servo = "crate::values::computed::AnimationTimeline" },
+ { gecko = "StyleTransitionBehavior", servo = "crate::values::computed::TransitionBehavior" },
{ gecko = "StyleAppearance", servo = "crate::values::specified::Appearance" },
{ gecko = "StyleAspectRatio", servo = "crate::values::computed::position::AspectRatio" },
{ gecko = "StyleAtom", servo = "crate::Atom" },