4 "mozilla/StyleAnimationValue.h",
9 "mozilla/css/Loader.h",
10 "mozilla/css/SheetLoadData.h",
11 "mozilla/DeclarationBlock.h",
12 "mozilla/dom/AnimationEffectBinding.h",
13 "mozilla/dom/HTMLSlotElement.h",
14 "mozilla/dom/KeyframeEffectBinding.h",
15 "mozilla/dom/MediaList.h",
16 "mozilla/dom/ScreenBinding.h",
17 "mozilla/dom/ShadowRoot.h",
18 "mozilla/dom/SVGPathSegBinding.h",
19 "mozilla/ipc/ByteBuf.h",
20 "mozilla/AnimationPropertySegment.h",
21 "mozilla/ComputedTiming.h",
24 "mozilla/ServoElementSnapshot.h",
25 "mozilla/ServoElementSnapshotTable.h",
26 "mozilla/dom/Element.h",
27 "mozilla/dom/ChildIterator.h",
28 "mozilla/dom/NameSpaceConstants.h",
29 "mozilla/LookAndFeel.h",
30 "mozilla/GeckoBindings.h",
31 "mozilla/ServoBindings.h",
32 "mozilla/ComputedStyle.h",
33 "mozilla/PresShell.h",
34 "mozilla/ServoTraversalStatistics.h",
35 "mozilla/SizeOfState.h",
37 "nsNameSpaceManager.h",
40 # FIXME(emilio): Incrementally remove these "pub use"s. Probably
41 # mozilla::css and mozilla::dom are easier.
42 "#[allow(unknown_lints, ambiguous_glob_reexports)]",
43 "pub use self::root::*;",
44 "pub use self::root::mozilla::*;",
45 "pub use self::root::mozilla::css::*;",
46 "pub use self::root::mozilla::dom::*;",
50 ".*incompatible_char_type",
52 # https://github.com/rust-lang/rust-bindgen/issues/1503
53 "mozilla::StyleTimingFunction.*",
54 # https://github.com/rust-lang/rust-bindgen/issues/1559
55 "mozilla::StyleGeneric.*",
60 "mozilla::OriginFlags",
65 "mozilla::EffectCompositor_CascadeLevel",
67 "mozilla::dom::CallerType",
68 "mozilla::dom::IterationCompositeOperation",
69 "mozilla::dom::CompositeOperation",
70 "mozilla::dom::CompositeOperationOrAuto",
71 "mozilla::InheritTarget",
72 "mozilla::css::DocumentMatchingFunction",
73 "mozilla::css::SheetParsingMode",
74 "nsStyleSVGOpacitySource",
75 "mozilla::dom::Document_DocumentTheme",
76 "mozilla::dom::Document_Type",
77 "mozilla::LookAndFeel_IntID",
78 "mozilla::LookAndFeel_FloatID",
85 "nsStyleImageLayers_LayerType",
86 "mozilla::ServoElementSnapshotFlags",
88 "mozilla::dom::PlaybackDirection",
89 "mozilla::dom::FillMode",
90 "mozilla::dom::ScreenColorGamut",
91 "mozilla::HalfCorner",
92 "mozilla::StyleFloatEdge",
93 "mozilla::StyleShapeRadius",
94 "mozilla::StyleWindowDragging",
95 "mozilla::StyleAnimationPlayState",
96 "mozilla::StyleOrient",
97 "mozilla::StyleBoxSizing",
98 "mozilla::StyleClear",
99 "mozilla::StyleColumnFill",
100 "mozilla::StyleColumnSpan",
101 "mozilla::StyleDirection",
102 "mozilla::StyleFloat",
103 "mozilla::StyleImageOrientation",
104 "mozilla::StyleInert",
105 "mozilla::StyleUserModify",
106 "mozilla::StyleUserInput",
107 "mozilla::StyleBoxDirection",
108 "mozilla::StyleRubyAlign",
109 "mozilla::StyleTextSecurity",
110 "mozilla::StyleTextSizeAdjust",
111 "mozilla::StyleHyphens",
112 "mozilla::StyleRubyPosition",
113 "mozilla::StyleShapeSourceType",
114 "mozilla::StyleVisibility",
115 "mozilla::StyleMathStyle",
116 "nsStyleImageLayers_Size_DimensionType",
117 "mozilla::StyleBorderCollapse",
118 "mozilla::StyleBorderImageRepeat",
119 "mozilla::StyleBoxPack",
120 "mozilla::StyleWindowShadow",
121 "mozilla::StyleDominantBaseline",
122 "mozilla::StyleBoxOrient",
123 "mozilla::StyleBoxAlign",
124 "mozilla::StyleUserFocus",
125 "mozilla::StyleUserSelect",
126 "mozilla::StyleImageLayerRepeat",
127 "mozilla::StyleImageLayerAttachment",
128 "mozilla::StylePositionProperty",
129 "mozilla::StyleBoxDecorationBreak",
130 "mozilla::StyleBorderStyle",
131 "mozilla::StyleRuleInclusion",
132 "mozilla::StyleGridTrackBreadth",
133 "mozilla::StyleOverscrollBehavior",
134 "mozilla::StyleImeMode",
135 "mozilla::StyleOverflowAnchor",
136 "mozilla::StyleListStylePosition",
137 "mozilla::StylePointerEvents",
138 "mozilla::StyleScrollbarWidth",
139 "mozilla::StyleWhiteSpace",
140 "mozilla::StyleTextRendering",
141 "mozilla::StyleFlexDirection",
142 "mozilla::StyleStrokeLinecap",
143 "mozilla::StyleStrokeLinejoin",
144 "mozilla::StyleFlexWrap",
145 "mozilla::StyleMathVariant",
146 "mozilla::StyleTextDecorationSkipInk",
147 "mozilla::StyleTextDecorationLength",
148 "mozilla::StyleMaskType",
149 "mozilla::StyleShapeRendering",
150 "mozilla::StyleTextAnchor",
151 "mozilla::StyleObjectFit",
152 "mozilla::StyleTextDecorationStyle",
153 "mozilla::StyleTopLayer",
154 "mozilla::StyleIsolation",
155 "mozilla::StyleTextOrientation",
156 "mozilla::StyleMozBoxCollapse",
157 "mozilla::StyleMozBoxLayout",
158 "mozilla::StyleTextCombineUpright",
159 "mozilla::StyleUnicodeBidi",
160 "mozilla::StyleTableLayout",
161 "mozilla::StyleEmptyCells",
163 "nsINode_BooleanFlag",
164 "mozilla::PseudoStyleType",
165 "mozilla::LookAndFeel_ColorID",
166 "mozilla::LookAndFeel_FontID",
167 "nsStyleTransformMatrix::MatrixTransformOperator",
168 "mozilla::StyleGeometryBox",
169 "mozilla::SystemColor",
170 "mozilla::StyleMaskMode",
171 "mozilla::StyleScrollBehavior",
172 "mozilla::StyleColorInterpolation",
173 "mozilla::StyleVectorEffect",
174 "mozilla::StyleBackfaceVisibility",
175 "mozilla::StyleBlend",
176 "mozilla::StyleMaskComposite",
177 "mozilla::StyleWritingModeProperty",
178 "mozilla::StyleTextWrap",
179 "StyleFontVariantEmoji",
191 "CSS_PSEUDO_ELEMENT_.*",
192 "SERVO_CSS_PSEUDO_ELEMENT_FLAGS_.*",
196 "nsNameSpaceManager_.*",
198 "NS_SAME_AS_FOREGROUND_COLOR",
199 "mozilla::detail::gGkAtoms",
200 "mozilla::detail::kGkAtomsArrayOffset",
201 "mozilla::dom::SVGPathSeg_Binding::PATHSEG_.*",
203 # TODO(emilio): A bunch of types here can go away once we generate bindings and
207 "nsFontFaceRuleContainer",
208 "Matrix4x4Components",
209 "mozilla::ComputedKeyframeValues",
211 "mozilla::PropertyValuePair",
212 "mozilla::DeclarationBlockMutationClosure",
213 "mozilla::AnimationPropertySegment",
214 "mozilla::AnonymousCounterStyle",
215 "mozilla::AtomArray",
216 "mozilla::ComputedTiming",
217 "mozilla::Matrix4x4Components",
218 "mozilla::PreferenceSheet",
220 "mozilla::ServoElementSnapshot.*",
221 "mozilla::ComputedStyle",
222 "mozilla::StyleSheet",
223 "mozilla::ServoStyleSheetInner",
224 "mozilla::ServoStyleSetSizes",
225 "mozilla::ServoTraversalStatistics",
226 "mozilla::css::LoaderReusableStyleSheets",
227 "mozilla::css::SheetLoadData",
228 "mozilla::css::SheetLoadDataHolder",
229 "mozilla::css::SheetParsingMode",
230 "mozilla::css::DocumentMatchingFunction",
231 "mozilla::dom::IterationCompositeOperation",
232 "mozilla::dom::StyleChildrenIterator",
233 "mozilla::HalfCorner",
234 "mozilla::ipc::ByteBuf",
235 "mozilla::MallocSizeOf",
236 "mozilla::OriginFlags",
237 "mozilla::PropertyStyleAnimationValuePair",
238 "mozilla::ServoTraversalFlags",
239 "mozilla::StyleShapeRadius",
240 "mozilla::StyleGrid.*",
241 "mozilla::UpdateAnimationsTasks",
242 "mozilla::PointerCapabilities",
243 "mozilla::LookAndFeel",
244 "mozilla::gfx::Float",
245 "mozilla::gfx::FontVariation",
246 "mozilla::gfx::FontPaletteValueSet",
247 "mozilla::gfx::FontPaletteValueSet::PaletteValeus",
248 "mozilla::StyleImageLayerAttachment",
251 ".*ThreadSafe.*Holder",
255 "DOMIntersectionObserverEntry",
257 "mozilla::FontSizePrefs",
259 "FrameRequestCallback",
260 "GeckoParserExtraData",
262 "gfxFontFeatureValueSet",
264 "mozilla::HalfCorner",
268 "mozilla::MediumFeaturesChangedResult",
278 "nsCSSPropertyIDSet",
283 "nsCSSValueList_heap",
284 "nsCSSValuePair_heap",
285 "nsCSSValuePairList",
286 "nsCSSValuePairList_heap",
287 "nsCSSValueTriplet_heap",
295 "nsSimpleContentList",
302 "nsStyleContentData",
304 "nsStyleCounterData",
310 "nsStyleGridTemplate",
312 "nsStyleImageLayers",
321 "nsStyleSVGOpacitySource",
324 "nsStyleTableBorder",
338 "ServoComputedDataBorrowed",
339 "ServoElementSnapshot",
340 "ComputedStyleStrong",
341 "ComputedStyleBorrowed",
342 "ComputedStyleBorrowedOrNull",
350 "mozilla::UniquePtr",
351 "mozilla::DeclarationBlock",
352 "mozilla::DefaultDelete",
354 "mozilla::binding_danger::AssertAndSuppressCleanupPolicy",
355 "mozilla::InheritTarget",
356 "mozilla::dom::MediaList",
357 "mozilla::StyleRuleInclusion",
358 "nsStyleTransformMatrix::MatrixTransformOperator",
362 "mozilla::StyleThinArc", # https://github.com/rust-lang/rust-bindgen/issues/1557
364 "std::namespace::atomic___base", "std::atomic__My_base",
366 "std::atomic___base",
367 # We want everything but FontVariation and Float to be opaque but we don't
368 # have negative regexes.
369 "mozilla::gfx::(.{0,4}|.{6,12}|.{14,}|([^F][^o][^n][^t][^V][^a][^r][^i][^a][^t][^i][^o][^n])|([^F][^l][^o][^a][^t]))",
370 "mozilla::dom::Sequence",
371 "mozilla::SmallPointerArray",
372 "mozilla::dom::Optional",
373 "mozilla::dom::OwningNodeOrString_Value",
374 "mozilla::dom::Nullable",
375 "mozilla::external::AtomicRefCounted",
377 "RefPtr_Proxy_member_function",
379 "nsAutoPtr_Proxy_member_function",
380 "mozilla::detail::HashTable", # <- We should be able to remove this and
382 # https://github.com/rust-lang/rust-bindgen/pull/1515
384 "mozilla::detail::PointerType",
387 "mozilla::Pair_Base",
388 "mozilla::ScrollAxis", # <- For some reason the alignment of this is 4
391 "mozilla::SupportsWeakPtr",
393 "std::tuple_.*", # Causes "Cannot find type _Pred in this scope" error on mac, like rust-skia#571
395 "mozilla::detail::WeakReference",
397 "nsWritingIterator_reference", "nsReadingIterator_reference",
398 "nsTObserverArray", # <- Inherits from nsAutoTObserverArray<T, 0>
399 "mozilla::DoublyLinkedList",
400 "mozilla::SafeDoublyLinkedList",
401 "nsTHashtable", # <- Inheriting from inner typedefs that clang
402 # doesn't expose properly.
403 "nsTBaseHashSet", # <- Ditto
404 "nsBaseHashtable", "nsRefCountedHashtable", "nsClassHashtable", # <- Ditto
405 "mozilla::dom::Document_SelectorCache", # <- Inherits from nsExpirationTracker<.., 4>
406 "nsPIDOMWindow", # <- Takes the vtable from a template parameter, and we can't
407 # generate it conditionally.
411 "mozilla::dom::TreeOrderedArray", # AutoTArray<>
412 "gfxSize", # <- union { struct { T width; T height; }; T components[2] };
413 "gfxSize_Super", # Ditto.
414 "StyleAnimationValue", # pulls in a whole bunch of stuff we don't need in the bindings
415 "mozilla::dom::.*Callback", # Pulls in ErrorResult and other things that
416 # don't align properly on Linux 32-bit
417 "mozilla::SchedulerGroup", # Non-standard-layout packing of field into superclass
418 "mozilla::Widget.*Event", # As above
419 "mozilla::detail::GkAtoms", # https://bugzilla.mozilla.org/show_bug.cgi?id=1517685
420 "mozilla::detail::ThreadLocal.*",
421 "std::make_signed_t",
422 "mozilla::ProfileChunkedBuffer",
425 # All cbindgen-types are in mod "structs::root::mozilla".
426 # FIXME(emilio): We probably want to automate this somehow...
428 { gecko = "StyleAnimationIterationCount", servo = "crate::values::computed::AnimationIterationCount" },
429 { gecko = "StyleAnimationTimeline", servo = "crate::values::computed::AnimationTimeline" },
430 { gecko = "StyleAppearance", servo = "crate::values::specified::Appearance" },
431 { gecko = "StyleAspectRatio", servo = "crate::values::computed::position::AspectRatio" },
432 { gecko = "StyleComputedFontStretchRange", servo = "crate::font_face::ComputedFontStretchRange" },
433 { gecko = "StyleComputedFontStyleDescriptor", servo = "crate::font_face::ComputedFontStyleDescriptor" },
434 { gecko = "StyleComputedFontWeightRange", servo = "crate::font_face::ComputedFontWeightRange" },
435 { gecko = "StyleComputedTimingFunction", servo = "crate::values::computed::easing::TimingFunction" },
436 { gecko = "StylePrefersContrast", servo = "crate::gecko::media_features::PrefersContrast" },
437 { gecko = "StyleCursorKind", servo = "crate::values::computed::ui::CursorKind" },
438 { gecko = "StyleDisplay", servo = "crate::values::specified::Display" },
439 { gecko = "StyleDisplayMode", servo = "crate::gecko::media_features::DisplayMode" },
440 { gecko = "StylePlatform", servo = "crate::gecko::media_features::Platform" },
441 { gecko = "StylePrefersColorScheme", servo = "crate::gecko::media_features::PrefersColorScheme" },
442 { gecko = "StyleScripting", servo = "crate::gecko::media_features::Scripting" },
443 { gecko = "StyleDynamicRange", servo = "crate::gecko::media_features::DynamicRange" },
444 { gecko = "StyleFillRule", servo = "crate::values::generics::basic_shape::FillRule" },
445 { gecko = "StyleFontDisplay", servo = "crate::font_face::FontDisplay" },
446 { gecko = "StyleFontFaceSourceListComponent", servo = "crate::font_face::FontFaceSourceListComponent" },
447 { gecko = "StyleFontFaceSourceFormatKeyword", servo = "crate::font_face::FontFaceSourceFormatKeyword" },
448 { gecko = "StyleFontFaceSourceTechFlags", servo = "crate::font_face::FontFaceSourceTechFlags" },
449 { gecko = "StyleFontLanguageOverride", servo = "crate::values::computed::font::FontLanguageOverride" },
450 { gecko = "StyleOffsetPath", servo = "crate::values::computed::motion::OffsetPath" },
451 { gecko = "StyleOffsetPathFunction", servo = "crate::values::computed::motion::OffsetPathFunction" },
452 { gecko = "StyleGenericOffsetPath", servo = "crate::values::generics::motion::OffsetPath" },
453 { gecko = "StyleGenericOffsetPathFunction", servo = "crate::values::generics::motion::OffsetPathFunction" },
454 { gecko = "StyleMozTheme", servo = "crate::values::computed::ui::MozTheme" },
455 { gecko = "StyleOffsetPosition", servo = "crate::values::computed::motion::OffsetPosition" },
456 { gecko = "StyleOffsetRotate", servo = "crate::values::computed::motion::OffsetRotate" },
457 { gecko = "StylePathCommand", servo = "crate::values::specified::svg_path::PathCommand" },
458 { gecko = "StyleRayFunction", servo = "crate::values::computed::motion::RayFunction" },
459 { gecko = "StyleUnicodeRange", servo = "cssparser::UnicodeRange" },
460 { gecko = "StyleOverflowWrap", servo = "crate::values::computed::OverflowWrap" },
461 { gecko = "StyleWordBreak", servo = "crate::values::computed::WordBreak" },
462 { gecko = "StyleTextJustify", servo = "crate::values::computed::TextJustify" },
463 { gecko = "StyleMozControlCharacterVisibility", servo = "crate::values::computed::text::MozControlCharacterVisibility" },
464 { gecko = "StyleLineBreak", servo = "crate::values::computed::LineBreak" },
465 { gecko = "StyleLineClamp", servo = "crate::values::computed::LineClamp" },
466 { gecko = "StyleUserSelect", servo = "crate::values::computed::UserSelect" },
467 { gecko = "StyleBreakBetween", servo = "crate::values::computed::BreakBetween" },
468 { gecko = "StyleBreakWithin", servo = "crate::values::computed::BreakWithin" },
469 { gecko = "StyleBorderStyle", servo = "crate::values::computed::BorderStyle" },
470 { gecko = "StyleOutlineStyle", servo = "crate::values::computed::OutlineStyle" },
471 { gecko = "StyleScrollSnapAlign", servo = "crate::values::computed::ScrollSnapAlign" },
472 { gecko = "StyleScrollSnapStop", servo = "crate::values::computed::ScrollSnapStop" },
473 { gecko = "StyleScrollSnapStrictness", servo = "crate::values::computed::ScrollSnapStrictness" },
474 { gecko = "StyleScrollSnapType", servo = "crate::values::computed::ScrollSnapType" },
475 { gecko = "StyleAnimationName", servo = "crate::values::computed::AnimationName" },
476 { gecko = "StyleScrollTimelineName", servo = "crate::values::computed::ScrollTimelineName" },
477 { gecko = "StyleScrollAxis", servo = "crate::values::computed::ScrollAxis" },
478 { gecko = "StyleViewTimelineInset", servo = "crate::values::computed::ViewTimelineInset" },
479 { gecko = "StyleResize", servo = "crate::values::computed::Resize" },
480 { gecko = "StyleOverflowClipBox", servo = "crate::values::computed::OverflowClipBox" },
481 { gecko = "StyleFloat", servo = "crate::values::computed::Float" },
482 { gecko = "StyleClear", servo = "crate::values::computed::Clear" },
483 { gecko = "StyleOverscrollBehavior", servo = "crate::values::computed::OverscrollBehavior" },
484 { gecko = "StyleTextAlign", servo = "crate::values::computed::TextAlign" },
485 { gecko = "StyleTextAlignLast", servo = "crate::values::computed::text::TextAlignLast" },
486 { gecko = "StyleTextIndent", servo = "crate::values::computed::text::TextIndent" },
487 { gecko = "StyleTextOverflow", servo = "crate::values::computed::TextOverflow" },
488 { gecko = "StyleOverflow", servo = "crate::values::computed::Overflow" },
489 { gecko = "StyleOverflowAnchor", servo = "crate::values::computed::OverflowAnchor" },
490 { gecko = "StyleTextDecorationSkipInk", servo = "crate::values::computed::TextDecorationSkipInk" },
491 { gecko = "StyleTextDecorationLength", servo = "crate::values::computed::TextDecorationLength" },
492 { gecko = "StyleRubyPosition", servo = "crate::values::computed::RubyPosition" },
493 { gecko = "StyleLength", servo = "crate::values::computed::CSSPixelLength" },
494 { gecko = "StyleLengthPercentage", servo = "crate::values::computed::LengthPercentage" },
495 { gecko = "StyleNonNegativeLengthPercentage", servo = "crate::values::computed::NonNegativeLengthPercentage" },
496 { gecko = "StyleGenericLengthPercentageOrAuto", servo = "crate::values::generics::length::LengthPercentageOrAuto" },
497 { gecko = "StyleGenericLengthPercentageOrNormal", servo = "crate::values::generics::length::LengthPercentageOrNormal" },
498 { gecko = "StyleLengthPercentageOrAuto", servo = "crate::values::computed::LengthPercentageOrAuto" },
499 { gecko = "StyleNonNegativeLengthPercentageOrAuto", servo = "crate::values::computed::NonNegativeLengthPercentageOrAuto" },
500 { gecko = "StyleRect", servo = "crate::values::generics::rect::Rect" },
501 { gecko = "StyleIntersectionObserverRootMargin", servo = "crate::values::specified::gecko::IntersectionObserverRootMargin" },
502 { gecko = "StyleGenericSize", servo = "crate::values::generics::length::Size" },
503 { gecko = "StyleGenericMaxSize", servo = "crate::values::generics::length::MaxSize" },
504 { gecko = "StyleGenericFlexBasis", servo = "crate::values::generics::flex::FlexBasis" },
505 { gecko = "StyleSize", servo = "crate::values::computed::Size" },
506 { gecko = "StyleMaxSize", servo = "crate::values::computed::MaxSize" },
507 { gecko = "StyleFlexBasis", servo = "crate::values::computed::FlexBasis" },
508 { gecko = "StylePosition", servo = "crate::values::computed::Position" },
509 { gecko = "StylePositionOrAuto", servo = "crate::values::computed::PositionOrAuto" },
510 { gecko = "StyleGenericPositionOrAuto", servo = "crate::values::generics::position::PositionOrAuto" },
511 { gecko = "StyleBackgroundSize", servo = "crate::values::computed::BackgroundSize" },
512 { gecko = "StyleGenericBackgroundSize", servo = "crate::values::generics::background::BackgroundSize" },
513 { gecko = "StyleBorderImageSlice", servo = "crate::values::computed::BorderImageSlice" },
514 { gecko = "StyleGenericLengthOrNumber", servo = "crate::values::generics::length::LengthOrNumber" },
515 { gecko = "StyleCSSPixelLength", servo = "crate::values::computed::length::CSSPixelLength" },
516 { gecko = "StyleNonNegativeLength", servo = "crate::values::computed::NonNegativeLength" },
517 { gecko = "StyleNonNegativeNumber", servo = "crate::values::computed::NonNegativeNumber" },
518 { gecko = "StyleZeroToOneNumber", servo = "crate::values::computed::ZeroToOneNumber" },
519 { gecko = "StylePercentage", servo = "crate::values::computed::Percentage" },
520 { gecko = "StylePerspective", servo = "crate::values::computed::Perspective" },
521 { gecko = "StyleGenericPerspective", servo = "crate::values::generics::box_::Perspective" },
522 { gecko = "StyleZIndex", servo = "crate::values::computed::ZIndex" },
523 { gecko = "StyleGenericZIndex", servo = "crate::values::generics::position::ZIndex" },
524 { gecko = "StyleTransformBox", servo = "crate::values::computed::TransformBox" },
525 { gecko = "StyleTransformOrigin", servo = "crate::values::computed::TransformOrigin" },
526 { gecko = "StyleTransformStyle", servo = "crate::values::computed::TransformStyle" },
527 { gecko = "StyleGenericBorderRadius", servo = "crate::values::generics::border::BorderRadius" },
528 { gecko = "StyleLetterSpacing", servo = "crate::values::computed::text::LetterSpacing" },
529 { gecko = "StyleGenericLineHeight", servo = "crate::values::generics::font::LineHeight" },
530 { gecko = "StyleCaretColor", servo = "crate::values::computed::color::CaretColor" },
531 { gecko = "StyleContain", servo = "crate::values::computed::Contain" },
532 { gecko = "StyleContainerType", servo = "crate::values::computed::ContainerType" },
533 { gecko = "StyleContainerName", servo = "crate::values::computed::ContainerName" },
534 { gecko = "StyleRestyleHint", servo = "crate::invalidation::element::restyle_hints::RestyleHint" },
535 { gecko = "StyleTouchAction", servo = "crate::values::computed::TouchAction" },
536 { gecko = "StyleWillChange", servo = "crate::values::specified::box_::WillChange" },
537 { gecko = "StyleColorScheme", servo = "crate::values::specified::color::ColorScheme" },
538 { gecko = "StyleTextDecorationLine", servo = "crate::values::computed::TextDecorationLine" },
539 { gecko = "StyleMasonryAutoFlow", servo = "crate::values::specified::MasonryAutoFlow" },
540 { gecko = "StyleMasonryPlacement", servo = "crate::values::specified::MasonryPlacement" },
541 { gecko = "StyleMasonryItemOrder", servo = "crate::values::specified::MasonryItemOrder" },
542 { gecko = "StyleTextTransform", servo = "crate::values::computed::TextTransform" },
543 { gecko = "StyleTextUnderlinePosition", servo = "crate::values::computed::TextUnderlinePosition" },
544 { gecko = "StyleStrong", servo = "crate::gecko_bindings::sugar::ownership::Strong" },
545 { gecko = "StyleGenericFontFamily", servo = "crate::values::computed::font::GenericFontFamily" },
546 { gecko = "StyleGenericPosition", servo = "crate::values::generics::position::GenericPosition" },
547 { gecko = "StyleGenericCounterPair", servo = "crate::values::generics::counters::GenericCounterPair" },
548 { gecko = "StyleGenericShapeRadius", servo = "crate::values::generics::basic_shape::GenericShapeRadius" },
549 { gecko = "StyleGenericClipRect", servo = "crate::values::generics::GenericClipRect" },
550 { gecko = "StyleGenericCursorImage", servo = "crate::values::generics::ui::GenericCursorImage" },
551 { gecko = "StyleFontFamily", servo = "crate::values::computed::font::FontFamily" },
552 { gecko = "StyleFontSizeAdjust", servo = "crate::values::computed::font::FontSizeAdjust" },
553 { gecko = "StyleFontFamilyNameSyntax", servo = "crate::values::computed::font::FontFamilyNameSyntax" },
554 { gecko = "StyleGenericColor", servo = "crate::values::generics::color::Color" },
555 { gecko = "StyleSystemColor", servo = "crate::values::specified::color::SystemColor" },
556 { gecko = "StyleSystemFont", servo = "crate::values::specified::font::SystemFont" },
557 { gecko = "StyleGenericColorOrAuto", servo = "crate::values::generics::color::ColorOrAuto" },
558 { gecko = "StyleGenericScrollbarColor", servo = "crate::values::generics::ui::ScrollbarColor" },
559 { gecko = "StyleAbsoluteColor", servo = "crate::color::AbsoluteColor" },
560 { gecko = "StyleOrigin", servo = "crate::stylesheets::Origin" },
561 { gecko = "StyleGenericVerticalAlign", servo = "crate::values::generics::box_::VerticalAlign" },
562 { gecko = "StyleVerticalAlignKeyword", servo = "crate::values::generics::box_::VerticalAlignKeyword" },
563 { gecko = "StyleGenericBasicShape", servo = "crate::values::generics::basic_shape::BasicShape" },
564 { gecko = "StyleBasicShape", servo = "crate::values::computed::basic_shape::BasicShape" },
565 { gecko = "StyleGenericInsetRect", servo = "crate::values::generics::basic_shape::InsetRect" },
566 { gecko = "StyleInsetRect", servo = "crate::values::computed::basic_shape::InsetRect" },
567 { gecko = "StyleArcSlice", servo = "style_traits::arc_slice::ArcSlice" },
568 { gecko = "StyleForgottenArcSlicePtr", servo = "style_traits::arc_slice::ForgottenArcSlicePtr" },
569 { gecko = "StyleOwnedSlice", servo = "style_traits::owned_slice::OwnedSlice" },
570 { gecko = "StyleMozContextProperties", servo = "crate::values::specified::svg::MozContextProperties" },
571 { gecko = "StyleQuotes", servo = "crate::values::specified::list::Quotes" },
572 { gecko = "StyleOwnedStr", servo = "style_traits::owned_str::OwnedStr" },
573 { gecko = "StyleGenericBoxShadow", servo = "crate::values::generics::effects::BoxShadow" },
574 { gecko = "StyleGenericSimpleShadow", servo = "crate::values::generics::effects::SimpleShadow" },
575 { gecko = "StyleGenericTransformOperation", servo = "crate::values::generics::transform::TransformOperation" },
576 { gecko = "StyleGenericTransform", servo = "crate::values::generics::transform::Transform" },
577 { gecko = "StyleGenericScale", servo = "crate::values::generics::transform::Scale" },
578 { gecko = "StyleGenericRotate", servo = "crate::values::generics::transform::Rotate" },
579 { gecko = "StyleGenericTranslate", servo = "crate::values::generics::transform::Translate" },
580 { gecko = "StyleAngle", servo = "crate::values::computed::Angle" },
581 { gecko = "StyleGenericBorderImageSideWidth", servo = "crate::values::generics::border::BorderImageSideWidth" },
582 { gecko = "StyleGenericUrlOrNone", servo = "crate::values::generics::url::UrlOrNone" },
583 { gecko = "StyleGenericCalcNode", servo = "crate::values::generics::calc::GenericCalcNode" },
584 { gecko = "StyleCssUrl", servo = "crate::gecko::url::CssUrl" },
585 { gecko = "StyleSpecifiedUrl", servo = "crate::gecko::url::SpecifiedUrl" },
586 { gecko = "StyleSpecifiedImageUrl", servo = "crate::gecko::url::SpecifiedImageUrl" },
587 { gecko = "StyleComputedUrl", servo = "crate::gecko::url::ComputedUrl" },
588 { gecko = "StyleComputedImageUrl", servo = "crate::gecko::url::ComputedImageUrl" },
589 { gecko = "StyleLoadData", servo = "crate::gecko::url::LoadData" },
590 { gecko = "StyleGenericFilter", servo = "crate::values::generics::effects::Filter" },
591 { gecko = "StyleGenericGradient", servo = "crate::values::generics::image::Gradient" },
592 { gecko = "StyleLineDirection", servo = "crate::values::computed::image::LineDirection" },
593 { gecko = "StyleGridTemplateAreas", servo = "crate::values::computed::position::GridTemplateAreas" },
594 { gecko = "StyleGenericGridLine", servo = "crate::values::generics::grid::GridLine" },
595 { gecko = "StyleGenericTrackSize", servo = "crate::values::generics::grid::TrackSize" },
596 { gecko = "StyleGenericTrackBreadth", servo = "crate::values::generics::grid::TrackBreadth" },
597 { gecko = "StyleGenericImplicitGridTracks", servo = "crate::values::generics::grid::ImplicitGridTracks" },
598 { gecko = "StyleImplicitGridTracks", servo = "crate::values::computed::ImplicitGridTracks" },
599 { gecko = "StyleNumberOrPercentage", servo = "crate::values::computed::NumberOrPercentage" },
600 { gecko = "StyleGenericSVGPaint", servo = "crate::values::generics::svg::SVGPaint" },
601 { gecko = "StyleGenericTrackRepeat", servo = "crate::values::generics::grid::TrackRepeat" },
602 { gecko = "StyleGenericTrackListValue", servo = "crate::values::generics::grid::TrackListValue" },
603 { gecko = "StyleGenericTrackList", servo = "crate::values::generics::grid::TrackList" },
604 { gecko = "StyleGenericGridTemplateComponent", servo = "crate::values::generics::grid::GridTemplateComponent" },
605 { gecko = "StyleTextEmphasisStyle", servo = "crate::values::computed::text::TextEmphasisStyle" },
606 { gecko = "StyleTextEmphasisPosition", servo = "crate::values::computed::TextEmphasisPosition" },
607 { gecko = "StyleFontVariantAlternates", servo = "crate::values::specified::font::FontVariantAlternates" },
608 { gecko = "StyleSVGPaintOrder", servo = "crate::values::specified::svg::SVGPaintOrder" },
609 { gecko = "StyleClipRectOrAuto", servo = "crate::values::computed::ClipRectOrAuto" },
610 { gecko = "StyleCounterReset", servo = "crate::values::computed::CounterReset" },
611 { gecko = "StyleCounterSet", servo = "crate::values::computed::CounterSet" },
612 { gecko = "StyleCounterIncrement", servo = "crate::values::computed::CounterIncrement" },
613 { gecko = "StyleContent", servo = "crate::values::computed::counters::Content" },
614 { gecko = "StyleSymbolsType", servo = "crate::values::generics::SymbolsType" },
615 { gecko = "StyleCounterStyle", servo = "crate::values::generics::CounterStyle" },
616 { gecko = "StyleComputedJustifyItems", servo = "crate::values::computed::align::ComputedJustifyItems" },
617 { gecko = "StyleAlignItems", servo = "crate::values::computed::AlignItems" },
618 { gecko = "StyleJustifySelf", servo = "crate::values::computed::JustifySelf" },
619 { gecko = "StyleAlignSelf", servo = "crate::values::computed::AlignSelf" },
620 { gecko = "StyleAlignContent", servo = "crate::values::computed::align::AlignContent" },
621 { gecko = "StyleJustifyTracks", servo = "crate::values::computed::align::JustifyTracks" },
622 { gecko = "StyleAlignTracks", servo = "crate::values::computed::align::AlignTracks" },
623 { gecko = "StyleJustifyContent", servo = "crate::values::computed::align::JustifyContent" },
624 { gecko = "StyleComputedValueFlags", servo = "crate::computed_value_flags::ComputedValueFlags" },
625 { gecko = "StyleImage", servo = "crate::values::computed::Image" },
626 { gecko = "StyleShapeOutside", servo = "crate::values::computed::basic_shape::ShapeOutside" },
627 { gecko = "StyleClipPath", servo = "crate::values::computed::basic_shape::ClipPath" },
628 { gecko = "StyleGridAutoFlow", servo = "crate::values::computed::GridAutoFlow" },
629 { gecko = "StyleCursor", servo = "crate::values::computed::Cursor" },
630 { gecko = "StyleSVGStrokeDashArray", servo = "crate::values::computed::svg::SVGStrokeDashArray" },
631 { gecko = "StyleSVGWidth", servo = "crate::values::computed::svg::SVGWidth" },
632 { gecko = "StyleSVGOpacity", servo = "crate::values::computed::svg::SVGOpacity" },
633 { gecko = "StyleSVGLength", servo = "crate::values::computed::svg::SVGLength" },
634 { gecko = "StyleFontSizeKeyword", servo = "crate::values::specified::font::FontSizeKeyword" },
635 { gecko = "StyleCaptionSide", servo = "crate::values::computed::table::CaptionSide" },
636 { gecko = "StylePageName", servo = "crate::values::specified::page::PageName" },
637 { gecko = "StylePageOrientation", servo = "crate::values::generics::page::PageOrientation" },
638 { gecko = "StylePageSize", servo = "crate::values::computed::page::PageSize" },
639 { gecko = "StyleDProperty", servo = "crate::values::specified::svg::DProperty" },
640 { gecko = "StyleImageRendering", servo = "crate::values::computed::ImageRendering" },
641 { gecko = "StylePrintColorAdjust", servo = "crate::values::computed::PrintColorAdjust" },
642 { gecko = "StyleForcedColorAdjust", servo = "crate::values::computed::ForcedColorAdjust" },
643 { gecko = "StyleScrollbarGutter", servo = "crate::values::computed::ScrollbarGutter" },
644 { gecko = "StyleHyphenateCharacter", servo = "crate::values::computed::HyphenateCharacter" },
645 { gecko = "StyleContentVisibility", servo = "crate::values::computed::ContentVisibility" },
646 { gecko = "StyleContainIntrinsicSize", servo = "crate::values::computed::ContainIntrinsicSize" },
647 { gecko = "StyleFontStyle", servo = "crate::values::computed::font::FontStyle" },
648 { gecko = "StyleFontWeight", servo = "crate::values::computed::font::FontWeight" },
649 { gecko = "StyleFontStretch", servo = "crate::values::computed::font::FontStretch" },
650 { gecko = "StyleFontPalette", servo = "crate::values::computed::font::FontPalette" },
651 { gecko = "StyleFontSynthesis", servo = "crate::values::computed::font::FontSynthesis" },
652 { gecko = "StyleBoolInteger", servo = "crate::values::computed::BoolInteger" },
653 { gecko = "StyleTime", servo = "crate::values::computed::Time" },
654 { gecko = "StyleXTextScale", servo = "crate::values::computed::XTextScale" },
655 { gecko = "StyleZoom", servo = "crate::values::computed::Zoom" },
656 { gecko = "StyleAnimationValueMap", servo = "crate::properties::animated_properties::AnimationValueMap" },
657 { gecko = "StyleAuthorStyles", servo = "crate::gecko::data::AuthorStyles" },
658 { gecko = "StyleUseCounters", servo = "crate::use_counters::UseCounters" },
659 { gecko = "StyleStylesheetContents", servo = "crate::stylesheets::StylesheetContents" },
660 { gecko = "StyleAnimationValue", servo = "crate::properties::animated_properties::AnimationValue" },
661 { gecko = "StyleLockedDeclarationBlock", servo = "crate::gecko::arc_types::LockedDeclarationBlock" },
662 { gecko = "StyleLockedMediaList", servo = "crate::gecko::arc_types::LockedMediaList" },
663 { gecko = "StyleLockedImportRule", servo = "crate::gecko::arc_types::LockedImportRule" },
664 { gecko = "StyleLockedFontFaceRule", servo = "crate::gecko::arc_types::LockedFontFaceRule" },
665 { gecko = "StyleBaselineSource", servo = "crate::values::computed::BaselineSource" },
666 { gecko = "StyleAu", servo = "app_units::Au" },
669 mapped-generic-types = [
670 { generic = true, gecko = "mozilla::RustCell", servo = "::std::cell::Cell" },
671 { generic = false, gecko = "ServoNodeData", servo = "atomic_refcell::AtomicRefCell<crate::data::ElementData>" },
672 { generic = false, gecko = "mozilla::ServoWritingMode", servo = "crate::logical_geometry::WritingMode" },
673 { generic = false, gecko = "mozilla::ServoComputedCustomProperties", servo = "crate::custom_properties::ComputedCustomProperties" },
674 { generic = false, gecko = "mozilla::ServoRuleNode", servo = "Option<crate::rule_tree::StrongRuleNode>" },
675 { generic = false, gecko = "nsACString", servo = "nsstring::nsACString" },
676 { generic = false, gecko = "nsAString", servo = "nsstring::nsAString" },
677 { generic = false, gecko = "nsCString", servo = "nsstring::nsCString" },
678 { generic = false, gecko = "nsString", servo = "nsstring::nsString" },
681 allowlist-functions = ["Servo_.*", "Gecko_.*"]