Source code

Revision control

Other Tools

1
[structs]
2
headers = [
3
"nsStyleStruct.h",
4
"mozilla/StyleAnimationValue.h",
5
"gfxFontConstants.h",
6
"gfxFontFeatures.h",
7
"nsStyleConsts.h",
8
"mozilla/css/Loader.h",
9
"mozilla/css/SheetLoadData.h",
10
"mozilla/DeclarationBlock.h",
11
"mozilla/dom/AnimationEffectBinding.h",
12
"mozilla/dom/HTMLSlotElement.h",
13
"mozilla/dom/KeyframeEffectBinding.h",
14
"mozilla/dom/MediaList.h",
15
"mozilla/dom/ShadowRoot.h",
16
"mozilla/AnimationPropertySegment.h",
17
"mozilla/ComputedTiming.h",
18
"mozilla/ComputedTimingFunction.h",
19
"mozilla/CORSMode.h",
20
"mozilla/Keyframe.h",
21
"mozilla/ServoElementSnapshot.h",
22
"mozilla/ServoElementSnapshotTable.h",
23
"mozilla/dom/Element.h",
24
"mozilla/dom/ChildIterator.h",
25
"mozilla/dom/NameSpaceConstants.h",
26
"mozilla/LookAndFeel.h",
27
"mozilla/GeckoBindings.h",
28
"mozilla/ServoBindings.h",
29
"mozilla/ComputedStyle.h",
30
"mozilla/ServoTraversalStatistics.h",
31
"mozilla/SizeOfState.h",
32
"nsCSSProps.h",
33
"nsContentUtils.h",
34
"nsNameSpaceManager.h",
35
"nsMediaFeatures.h",
36
"nsXBLBinding.h",
37
"GeckoProfiler.h",
38
]
39
raw-lines = [
40
# FIXME(emilio): Incrementally remove these "pub use"s. Probably
41
# mozilla::css and mozilla::dom are easier.
42
"pub use self::root::*;",
43
"pub use self::root::mozilla::*;",
44
"pub use self::root::mozilla::css::*;",
45
"pub use self::root::mozilla::dom::*;",
46
"use atomic_refcell::AtomicRefCell;",
47
"use data::ElementData;",
48
]
49
hide-types = [
50
".*char_traits",
51
".*incompatible_char_type",
53
"mozilla::StyleTimingFunction.*",
55
"mozilla::StyleGenericTransformOperation_.*",
56
]
57
bitfield-enums = [
58
"nsChangeHint",
59
"mozilla::OriginFlags",
60
]
61
rusty-enums = [
62
"nsCompatibility",
63
"mozilla::EffectCompositor_CascadeLevel",
64
"mozilla::SheetType",
65
"mozilla::dom::CallerType",
66
"mozilla::dom::IterationCompositeOperation",
67
"mozilla::dom::CompositeOperation",
68
"mozilla::InheritTarget",
69
"mozilla::css::DocumentMatchingFunction",
70
"mozilla::css::SheetParsingMode",
71
"mozilla::StyleContentType",
72
"nsStyleSVGOpacitySource",
73
"nsCSSKeyword",
74
"mozilla::dom::Document_DocumentTheme",
75
"mozilla::dom::Document_Type",
76
"nsCSSUnit",
77
"nsCSSFontDesc",
78
"nsCSSPropertyID",
79
"nsCSSCounterDesc",
80
"nsMediaFeature_RangeType",
81
"nsMediaFeature_ValueType",
82
"nsresult",
83
"nsAtom_AtomKind",
84
"nsStyleImageLayers_LayerType",
85
"mozilla::ServoElementSnapshotFlags",
86
"mozilla::Side",
87
"mozilla::dom::PlaybackDirection",
88
"mozilla::dom::FillMode",
89
"mozilla::HalfCorner",
90
"mozilla::StyleFloatEdge",
91
"mozilla::StyleShapeRadius",
92
"mozilla::StyleWindowDragging",
93
"mozilla::StyleAnimationPlayState",
94
"mozilla::StyleOrient",
95
"mozilla::StyleBoxSizing",
96
"mozilla::StyleClear",
97
"mozilla::StyleColumnFill",
98
"mozilla::StyleColumnSpan",
99
"mozilla::StyleFloat",
100
"mozilla::StyleImageOrientation",
101
"mozilla::StyleUserModify",
102
"mozilla::StyleUserInput",
103
"mozilla::StyleBoxDirection",
104
"mozilla::StyleTextJustify",
105
"mozilla::StyleHyphens",
106
"mozilla::StyleShapeSourceType",
107
"mozilla::StyleBasicShapeType",
108
"nsStyleImageLayers_Size_DimensionType",
109
"mozilla::StyleStackSizing",
110
"mozilla::StyleBorderCollapse",
111
"mozilla::StyleBorderImageRepeat",
112
"mozilla::StyleBoxPack",
113
"mozilla::StyleBoxOrient",
114
"mozilla::StyleBoxAlign",
115
"mozilla::StyleUserFocus",
116
"mozilla::StyleUserSelect",
117
"mozilla::StyleImageLayerRepeat",
118
"mozilla::StyleImageLayerAttachment",
119
"mozilla::StyleBoxDecorationBreak",
120
"mozilla::StyleBorderStyle",
121
"mozilla::StyleRuleInclusion",
122
"mozilla::StyleGridTrackBreadth",
123
"mozilla::StyleOverscrollBehavior",
124
"mozilla::StyleOverflowAnchor",
125
"mozilla::StyleScrollbarWidth",
126
"mozilla::StyleWhiteSpace",
127
"mozilla::StyleTextRendering",
128
"mozilla::StyleColorAdjust",
129
"mozilla::StyleFlexDirection",
130
"mozilla::StyleFlexWrap",
131
"mozilla::StyleTextDecorationSkipInk",
132
"mozilla::StyleTextDecorationLength",
133
"nsStyleImageType",
134
"nsINode_BooleanFlag",
135
"mozilla::PseudoStyleType",
136
"mozilla::LookAndFeel_ColorID",
137
"mozilla::LookAndFeel_FontID",
138
"nsStyleTransformMatrix::MatrixTransformOperator",
139
"mozilla::StyleGeometryBox",
140
"mozilla::SystemColor",
141
"mozilla::StyleMaskMode",
142
]
143
whitelist-vars = [
144
"NS_AUTHOR_SPECIFIED_.*",
145
"NS_THEME_.*",
146
"NS_ATTRVALUE_.*",
147
"NODE_.*",
148
"ELEMENT_.*",
149
"NS_FONT_.*",
150
"NS_STYLE_.*",
151
"NS_MATHML_.*",
152
"NS_RADIUS_.*",
153
"BORDER_COLOR_.*",
154
"BORDER_STYLE_.*",
155
"CSS_PSEUDO_ELEMENT_.*",
156
"SERVO_CSS_PSEUDO_ELEMENT_FLAGS_.*",
157
"kNameSpaceID_.*",
158
"kGenericFont_.*",
159
"kPresContext_.*",
160
"nsContentUtils_.*",
161
"GECKO_IS_NIGHTLY",
162
"mozilla::detail::gGkAtoms",
163
"mozilla::detail::kGkAtomsArrayOffset",
164
"mozilla::profiler::detail::RacyFeatures::sActiveAndFeatures",
165
]
166
# TODO(emilio): A bunch of types here can go away once we generate bindings and
167
# structs together.
168
whitelist-types = [
169
"RawGecko.*",
170
"RawServo.*",
171
"ServoCssRules",
172
"nsFontFaceRuleContainer",
173
"Matrix4x4Components",
174
"mozilla::ComputedKeyframeValues",
175
"mozilla::Keyframe",
176
"mozilla::PropertyValuePair",
177
"mozilla::DeclarationBlockMutationClosure",
178
"mozilla::AnimationPropertySegment",
179
"mozilla::AnonymousCounterStyle",
180
"mozilla::AtomArray",
181
"mozilla::ComputedTiming",
182
"mozilla::ComputedTimingFunction",
183
"mozilla::ComputedTimingFunction::BeforeFlag",
184
"mozilla::Matrix4x4Components",
185
"mozilla::PreferenceSheet",
186
"mozilla::SeenPtrs",
187
"mozilla::ServoElementSnapshot.*",
188
"mozilla::ComputedStyle",
189
"mozilla::StyleSheet",
190
"mozilla::ServoStyleSheetInner",
191
"mozilla::ServoStyleSetSizes",
192
"mozilla::ServoTraversalStatistics",
193
"mozilla::css::LoaderReusableStyleSheets",
194
"mozilla::css::SheetLoadData",
195
"mozilla::css::SheetLoadDataHolder",
196
"mozilla::css::SheetParsingMode",
197
"mozilla::css::DocumentMatchingFunction",
198
"mozilla::dom::IterationCompositeOperation",
199
"mozilla::dom::StyleChildrenIterator",
200
"mozilla::HalfCorner",
201
"mozilla::MallocSizeOf",
202
"mozilla::OriginFlags",
203
"mozilla::PropertyStyleAnimationValuePair",
204
"mozilla::ServoTraversalFlags",
205
"mozilla::StyleShapeRadius",
206
"mozilla::StyleGrid.*",
207
"mozilla::UpdateAnimationsTasks",
208
"mozilla::PointerCapabilities",
209
"mozilla::LookAndFeel",
210
"mozilla::gfx::Float",
211
"mozilla::gfx::FontVariation",
212
"mozilla::StyleImageLayerAttachment",
213
"gfxFontFeature",
214
"gfxFontVariation",
215
".*ThreadSafe.*Holder",
216
"AnonymousContent",
217
"AudioContext",
218
"DefaultDelete",
219
"DOMIntersectionObserverEntry",
220
"Element",
221
"FontFamilyList",
222
"FontFamilyName",
223
"mozilla::FontSizePrefs",
224
"FragmentOrURL",
225
"FrameRequestCallback",
226
"GeckoParserExtraData",
227
"GeckoFontMetrics",
228
"gfxFontFeatureValueSet",
229
"GridNamedArea",
230
"mozilla::HalfCorner",
231
"Image",
232
"ImageURL",
233
"Keyframe",
234
"mozilla::MediumFeaturesChangedResult",
235
"nsAttrName",
236
"nsAttrValue",
237
"nscolor",
238
"nsChangeHint",
239
"nsCSSCounterDesc",
240
"nsCSSFontDesc",
241
"nsCSSKTableEntry",
242
"nsCSSKeyword",
243
"nsCSSKeywordAndBoolTableEntry",
244
"nsCSSPropertyID",
245
"nsCSSPropertyIDSet",
246
"nsCSSProps",
247
"nsCSSShadowArray",
248
"nsCSSValue",
249
"nsCSSValueList",
250
"nsCSSValueList_heap",
251
"nsCSSValuePair_heap",
252
"nsCSSValuePairList",
253
"nsCSSValuePairList_heap",
254
"nsCSSValueTriplet_heap",
255
"nsCursorImage",
256
"nsFont",
257
"nsAtom",
258
"nsDynamicAtom",
259
"nsMargin",
260
"nsMediaFeature",
261
"nsMediaFeatures",
262
"nsRect",
263
"nsresult",
264
"nsSimpleContentList",
265
"nsSize",
266
"nsStyleBackground",
267
"nsStyleBorder",
268
"nsStyleColor",
269
"nsStyleColumn",
270
"nsStyleContent",
271
"nsStyleContentData",
272
"ComputedStyle",
273
"nsStyleCounterData",
274
"nsStyleDisplay",
275
"nsStyleEffects",
276
"nsStyleFilter",
277
"nsStyleFont",
278
"nsStyleGradient",
279
"nsStyleGridTemplate",
280
"nsStyleImage",
281
"nsStyleImageLayers",
282
"nsStyleList",
283
"nsStyleMargin",
284
"nsStyleOutline",
285
"nsStylePadding",
286
"nsStylePosition",
287
"nsStyleSides",
288
"nsStyleSVG",
289
"nsStyleSVGOpacitySource",
290
"nsStyleSVGReset",
291
"nsStyleTable",
292
"nsStyleTableBorder",
293
"nsStyleText",
294
"nsStyleTextReset",
295
"nsStyleUIReset",
296
"nsStyleUnion",
297
"nsStyleUI",
298
"nsStyleVisibility",
299
"nsStyleXUL",
300
"nsTArrayHeader",
301
"Position",
302
"PropertyValuePair",
303
"Runnable",
304
"ServoAttrSnapshot",
305
"ServoComputedData",
306
"ServoComputedDataBorrowed",
307
"ServoElementSnapshot",
308
"ComputedStyleStrong",
309
"ComputedStyleBorrowed",
310
"ComputedStyleBorrowedOrNull",
311
"SheetParsingMode",
312
"StaticRefPtr",
313
"StyleAnimation",
314
"StyleBasicShapeType",
315
"StyleGeometryBox",
316
"StyleShapeSource",
317
"StyleTransition",
318
"ThemeWidgetType",
319
"mozilla::UniquePtr",
320
"mozilla::DeclarationBlock",
321
"mozilla::DefaultDelete",
322
"mozilla::Side",
323
"mozilla::binding_danger::AssertAndSuppressCleanupPolicy",
324
"mozilla::ParsingMode",
325
"mozilla::InheritTarget",
326
"mozilla::dom::MediaList",
327
"mozilla::StyleRuleInclusion",
328
"nsStyleTransformMatrix::MatrixTransformOperator",
329
"mozilla::profiler::detail::RacyFeatures",
330
]
331
opaque-types = [
333
"std::pair__PCCP",
334
"std::namespace::atomic___base", "std::atomic__My_base",
335
"std::atomic",
336
"std::atomic___base",
337
# We want everything but FontVariation and Float to be opaque but we don't
338
# have negative regexes.
339
"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]))",
340
"mozilla::dom::Sequence",
341
"mozilla::SmallPointerArray",
342
"mozilla::dom::Optional",
343
"mozilla::dom::OwningNodeOrString_Value",
344
"mozilla::dom::Nullable",
345
"mozilla::external::AtomicRefCounted",
346
"RefPtr_Proxy",
347
"RefPtr_Proxy_member_function",
348
"nsAutoPtr_Proxy",
349
"nsAutoPtr_Proxy_member_function",
350
"mozilla::detail::HashTable", # <- We should be able to remove this and
351
# HashSet below once
353
# is available
354
"mozilla::detail::PointerType",
355
"mozilla::HashSet",
356
"mozilla::Pair",
357
"mozilla::Pair_Base",
358
"mozilla::ScrollAxis", # <- For some reason the alignment of this is 4
359
# for clang.
360
"mozilla::SeenPtrs",
361
"mozilla::SupportsWeakPtr",
362
"mozilla::Tuple",
363
"SupportsWeakPtr",
364
"mozilla::detail::WeakReference",
365
"mozilla::WeakPtr",
366
"nsWritingIterator_reference", "nsReadingIterator_reference",
367
"nsTObserverArray", # <- Inherits from nsAutoTObserverArray<T, 0>
368
"nsTHashtable", # <- Inheriting from inner typedefs that clang
369
# doesn't expose properly.
370
"nsBaseHashtable", "nsRefPtrHashtable", "nsDataHashtable", "nsClassHashtable", # <- Ditto
371
"nsInterfaceHashtable", # <- Ditto
372
"mozilla::dom::Document_SelectorCache", # <- Inherits from nsExpirationTracker<.., 4>
373
"nsPIDOMWindow", # <- Takes the vtable from a template parameter, and we can't
374
# generate it conditionally.
375
"JS::Rooted",
376
"mozilla::Maybe",
377
"gfxSize", # <- union { struct { T width; T height; }; T components[2] };
378
"gfxSize_Super", # Ditto.
379
"mozilla::StyleAnimationValue",
380
"StyleAnimationValue", # pulls in a whole bunch of stuff we don't need in the bindings
381
"mozilla::dom::.*Callback", # Pulls in ErrorResult and other things that
382
# don't align properly on Linux 32-bit
383
"mozilla::SchedulerGroup", # Non-standard-layout packing of field into superclass
384
"mozilla::detail::GkAtoms", # https://bugzilla.mozilla.org/show_bug.cgi?id=1517685
385
"mozilla::detail::ThreadLocal.*",
386
]
387
388
# All cbindgen-types are in mod "structs::root::mozilla".
389
# FIXME(emilio): We probably want to automate this somehow...
390
cbindgen-types = [
391
{ gecko = "StyleAppearance", servo = "values::specified::Appearance" },
392
{ gecko = "StyleComputedFontStretchRange", servo = "font_face::ComputedFontStretchRange" },
393
{ gecko = "StyleComputedFontStyleDescriptor", servo = "font_face::ComputedFontStyleDescriptor" },
394
{ gecko = "StyleComputedFontWeightRange", servo = "font_face::ComputedFontWeightRange" },
395
{ gecko = "StyleComputedTimingFunction", servo = "values::computed::easing::TimingFunction" },
396
{ gecko = "StyleCursorKind", servo = "values::computed::ui::CursorKind" },
397
{ gecko = "StyleDisplay", servo = "values::specified::Display" },
398
{ gecko = "StyleDisplayMode", servo = "gecko::media_features::DisplayMode" },
399
{ gecko = "StylePrefersColorScheme", servo = "gecko::media_features::PrefersColorScheme" },
400
{ gecko = "StyleExtremumLength", servo = "values::computed::length::ExtremumLength" },
401
{ gecko = "StyleFillRule", servo = "values::generics::basic_shape::FillRule" },
402
{ gecko = "StyleFontDisplay", servo = "font_face::FontDisplay" },
403
{ gecko = "StyleFontFaceSourceListComponent", servo = "font_face::FontFaceSourceListComponent" },
404
{ gecko = "StyleFontLanguageOverride", servo = "values::computed::font::FontLanguageOverride" },
405
{ gecko = "StyleOffsetPath", servo = "values::computed::motion::OffsetPath" },
406
{ gecko = "StyleGenericOffsetPath", servo = "values::generics::motion::OffsetPath" },
407
{ gecko = "StyleOffsetRotate", servo = "values::computed::motion::OffsetRotate" },
408
{ gecko = "StylePathCommand", servo = "values::specified::svg_path::PathCommand" },
409
{ gecko = "StyleUnicodeRange", servo = "cssparser::UnicodeRange" },
410
{ gecko = "StyleOverflowWrap", servo = "values::computed::OverflowWrap" },
411
{ gecko = "StyleWordBreak", servo = "values::computed::WordBreak" },
412
{ gecko = "StyleLineBreak", servo = "values::computed::LineBreak" },
413
{ gecko = "StyleUserSelect", servo = "values::computed::UserSelect" },
414
{ gecko = "StyleBreakBetween", servo = "values::computed::BreakBetween" },
415
{ gecko = "StyleBreakWithin", servo = "values::computed::BreakWithin" },
416
{ gecko = "StyleBorderStyle", servo = "values::computed::BorderStyle" },
417
{ gecko = "StyleOutlineStyle", servo = "values::computed::OutlineStyle" },
418
{ gecko = "StyleScrollSnapAlign", servo = "values::computed::ScrollSnapAlign" },
419
{ gecko = "StyleScrollSnapStrictness", servo = "values::computed::ScrollSnapStrictness" },
420
{ gecko = "StyleScrollSnapType", servo = "values::computed::ScrollSnapType" },
421
{ gecko = "StyleResize", servo = "values::computed::Resize" },
422
{ gecko = "StyleOverflowClipBox", servo = "values::computed::OverflowClipBox" },
423
{ gecko = "StyleFloat", servo = "values::computed::Float" },
424
{ gecko = "StyleOverscrollBehavior", servo = "values::computed::OverscrollBehavior" },
425
{ gecko = "StyleTextAlign", servo = "values::computed::TextAlign" },
426
{ gecko = "StyleTextOverflow", servo = "values::computed::TextOverflow" },
427
{ gecko = "StyleOverflow", servo = "values::computed::Overflow" },
428
{ gecko = "StyleOverflowAnchor", servo = "values::computed::OverflowAnchor" },
429
{ gecko = "StyleTextDecorationSkipInk", servo = "values::computed::TextDecorationSkipInk" },
430
{ gecko = "StyleTextDecorationLength", servo = "values::computed::TextDecorationLength" },
431
{ gecko = "StyleLength", servo = "values::computed::CSSPixelLength" },
432
{ gecko = "StyleLengthPercentage", servo = "values::computed::LengthPercentage" },
433
{ gecko = "StyleNonNegativeLengthPercentage", servo = "values::computed::NonNegativeLengthPercentage" },
434
{ gecko = "StyleGenericLengthPercentageOrAuto", servo = "values::generics::length::LengthPercentageOrAuto" },
435
{ gecko = "StyleGenericLengthPercentageOrNormal", servo = "values::generics::length::LengthPercentageOrNormal" },
436
{ gecko = "StyleLengthPercentageOrAuto", servo = "values::computed::LengthPercentageOrAuto" },
437
{ gecko = "StyleNonNegativeLengthPercentageOrAuto", servo = "values::computed::NonNegativeLengthPercentageOrAuto" },
438
{ gecko = "StyleRect", servo = "values::generics::rect::Rect" },
439
{ gecko = "StyleIntersectionObserverRootMargin", servo = "values::specified::gecko::IntersectionObserverRootMargin" },
440
{ gecko = "StyleGenericSize", servo = "values::generics::length::Size" },
441
{ gecko = "StyleGenericMaxSize", servo = "values::generics::length::MaxSize" },
442
{ gecko = "StyleGenericFlexBasis", servo = "values::generics::flex::FlexBasis" },
443
{ gecko = "StyleSize", servo = "values::computed::Size" },
444
{ gecko = "StyleMaxSize", servo = "values::computed::MaxSize" },
445
{ gecko = "StyleFlexBasis", servo = "values::computed::FlexBasis" },
446
{ gecko = "StylePosition", servo = "values::computed::Position" },
447
{ gecko = "StylePositionOrAuto", servo = "values::computed::PositionOrAuto" },
448
{ gecko = "StyleGenericPositionOrAuto", servo = "values::generics::position::PositionOrAuto" },
449
{ gecko = "StyleBackgroundSize", servo = "values::computed::BackgroundSize" },
450
{ gecko = "StyleGenericBackgroundSize", servo = "values::generics::background::BackgroundSize" },
451
{ gecko = "StyleBorderImageSlice", servo = "values::computed::BorderImageSlice" },
452
{ gecko = "StyleGenericLengthOrNumber", servo = "values::generics::length::LengthOrNumber" },
453
{ gecko = "StyleCSSPixelLength", servo = "values::computed::length::CSSPixelLength" },
454
{ gecko = "StyleNonNegativeLength", servo = "values::computed::NonNegativeLength" },
455
{ gecko = "StyleNonNegativeNumber", servo = "values::computed::NonNegativeNumber" },
456
{ gecko = "StyleZeroToOneNumber", servo = "values::computed::ZeroToOneNumber" },
457
{ gecko = "StylePercentage", servo = "values::computed::Percentage" },
458
{ gecko = "StylePerspective", servo = "values::computed::Perspective" },
459
{ gecko = "StyleGenericPerspective", servo = "values::generics::box_::Perspective" },
460
{ gecko = "StyleZIndex", servo = "values::computed::ZIndex" },
461
{ gecko = "StyleGenericZIndex", servo = "values::generics::position::ZIndex" },
462
{ gecko = "StyleTransformOrigin", servo = "values::computed::TransformOrigin" },
463
{ gecko = "StyleGenericBorderRadius", servo = "values::generics::border::BorderRadius" },
464
{ gecko = "StyleLetterSpacing", servo = "values::computed::text::LetterSpacing" },
465
{ gecko = "StyleGenericLineHeight", servo = "values::generics::text::LineHeight" },
466
{ gecko = "StyleContain", servo = "values::computed::Contain" },
467
{ gecko = "StyleRestyleHint", servo = "invalidation::element::restyle_hints::RestyleHint" },
468
{ gecko = "StyleTouchAction", servo = "values::computed::TouchAction" },
469
{ gecko = "StyleWillChange", servo = "values::specified::box_::WillChange" },
470
{ gecko = "StyleTextDecorationLine", servo = "values::computed::TextDecorationLine" },
471
{ gecko = "StyleTextTransform", servo = "values::computed::TextTransform" },
472
{ gecko = "StyleMozListReversed", servo = "values::computed::MozListReversed" },
473
{ gecko = "StyleOwned", servo = "gecko_bindings::sugar::ownership::Owned" },
474
{ gecko = "StyleOwnedOrNull", servo = "gecko_bindings::sugar::ownership::OwnedOrNull" },
475
{ gecko = "StyleStrong", servo = "gecko_bindings::sugar::ownership::Strong" },
476
{ gecko = "StyleGenericFontFamily", servo = "values::computed::font::GenericFontFamily" },
477
{ gecko = "StyleFontFamilyNameSyntax", servo = "values::computed::font::FontFamilyNameSyntax" },
478
{ gecko = "StyleGenericColor", servo = "values::generics::color::Color" },
479
{ gecko = "StyleSystemColor", servo = "values::specified::color::SystemColor" },
480
{ gecko = "StyleGenericColorOrAuto", servo = "values::generics::color::ColorOrAuto" },
481
{ gecko = "StyleGenericScrollbarColor", servo = "values::generics::ui::ScrollbarColor" },
482
{ gecko = "StyleRGBA", servo = "cssparser::RGBA" },
483
{ gecko = "StyleOrigin", servo = "stylesheets::Origin" },
484
{ gecko = "StyleGenericGradientItem", servo = "values::generics::image::GradientItem" },
485
{ gecko = "StyleGenericVerticalAlign", servo = "values::generics::box_::VerticalAlign" },
486
{ gecko = "StyleVerticalAlignKeyword", servo = "values::generics::box_::VerticalAlignKeyword" },
487
{ gecko = "StyleGenericBasicShape", servo = "values::generics::basic_shape::BasicShape" },
488
{ gecko = "StyleArcSlice", servo = "style_traits::arc_slice::ArcSlice" },
489
{ gecko = "StyleForgottenArcSlicePtr", servo = "style_traits::arc_slice::ForgottenArcSlicePtr" },
490
{ gecko = "StyleOwnedSlice", servo = "style_traits::owned_slice::OwnedSlice" },
491
{ gecko = "StyleMozContextProperties", servo = "values::specified::svg::MozContextProperties" },
492
{ gecko = "StyleQuotes", servo = "values::specified::list::Quotes" },
493
{ gecko = "StyleOwnedStr", servo = "style_traits::owned_str::OwnedStr" },
494
{ gecko = "StyleGenericBoxShadow", servo = "values::generics::effects::BoxShadow" },
495
{ gecko = "StyleGenericSimpleShadow", servo = "values::generics::effects::SimpleShadow" },
496
{ gecko = "StyleGenericTransformOperation", servo = "values::generics::transform::TransformOperation" },
497
{ gecko = "StyleGenericTransform", servo = "values::generics::transform::Transform" },
498
{ gecko = "StyleGenericScale", servo = "values::generics::transform::Scale" },
499
{ gecko = "StyleGenericRotate", servo = "values::generics::transform::Rotate" },
500
{ gecko = "StyleGenericTranslate", servo = "values::generics::transform::Translate" },
501
{ gecko = "StyleAngle", servo = "values::computed::Angle" },
502
{ gecko = "StyleGenericBorderImageSideWidth", servo = "values::generics::border::BorderImageSideWidth" },
503
{ gecko = "StyleGenericUrlOrNone", servo = "values::generics::url::UrlOrNone" },
504
{ gecko = "StyleCssUrl", servo = "gecko::url::CssUrl" },
505
{ gecko = "StyleSpecifiedUrl", servo = "gecko::url::SpecifiedUrl" },
506
{ gecko = "StyleSpecifiedImageUrl", servo = "gecko::url::SpecifiedImageUrl" },
507
{ gecko = "StyleComputedUrl", servo = "gecko::url::ComputedUrl" },
508
{ gecko = "StyleComputedImageUrl", servo = "gecko::url::ComputedImageUrl" },
509
{ gecko = "StyleLoadData", servo = "gecko::url::LoadData" },
510
{ gecko = "StyleGenericFilter", servo = "values::generics::effects::Filter" },
511
{ gecko = "StyleGenericGradient", servo = "values::generics::image::Gradient" },
512
{ gecko = "StyleLineDirection", servo = "values::computed::image::LineDirection" },
513
{ gecko = "StyleGridTemplateAreas", servo = "values::computed::position::GridTemplateAreas" },
514
{ gecko = "StyleGenericGridLine", servo = "values::generics::grid::GridLine" },
515
{ gecko = "StyleGenericTrackSize", servo = "values::generics::grid::TrackSize" },
516
{ gecko = "StyleGenericTrackBreadth", servo = "values::generics::grid::TrackBreadth" },
517
{ gecko = "StyleGenericImplicitGridTracks", servo = "values::generics::grid::ImplicitGridTracks" },
518
{ gecko = "StyleImplicitGridTracks", servo = "values::computed::ImplicitGridTracks" },
519
{ gecko = "StyleNumberOrPercentage", servo = "values::computed::NumberOrPercentage" },
520
{ gecko = "StyleGenericSVGPaint", servo = "values::generics::svg::SVGPaint" },
521
{ gecko = "StyleGenericTrackRepeat", servo = "values::generics::grid::TrackRepeat" },
522
{ gecko = "StyleGenericTrackListValue", servo = "values::generics::grid::TrackListValue" },
523
{ gecko = "StyleGenericTrackList", servo = "values::generics::grid::TrackList" },
524
{ gecko = "StyleGenericGridTemplateComponent", servo = "values::generics::grid::GridTemplateComponent" },
525
{ gecko = "StyleTextEmphasisStyle", servo = "values::computed::text::TextEmphasisStyle" },
526
{ gecko = "StyleVariantAlternatesList", servo = "values::specified::font::VariantAlternatesList" },
527
{ gecko = "StyleSVGPaintOrder", servo = "values::specified::svg::SVGPaintOrder" },
528
{ gecko = "StyleClipRectOrAuto", servo = "values::computed::ClipRectOrAuto" },
529
{ gecko = "StyleCounterSetOrReset", servo = "values::computed::CounterSetOrReset" },
530
{ gecko = "StyleCounterIncrement", servo = "values::computed::CounterIncrement" },
531
]
532
533
mapped-generic-types = [
534
{ generic = true, gecko = "mozilla::RustCell", servo = "::std::cell::Cell" },
535
{ generic = false, gecko = "ServoNodeData", servo = "AtomicRefCell<ElementData>" },
536
{ generic = false, gecko = "mozilla::ServoWritingMode", servo = "::logical_geometry::WritingMode" },
537
{ generic = false, gecko = "mozilla::ServoCustomPropertiesMap", servo = "Option<::servo_arc::Arc<::custom_properties::CustomPropertiesMap>>" },
538
{ generic = false, gecko = "mozilla::ServoRuleNode", servo = "Option<::rule_tree::StrongRuleNode>" },
539
{ generic = false, gecko = "mozilla::ServoVisitedStyle", servo = "Option<::servo_arc::RawOffsetArc<::properties::ComputedValues>>" },
540
{ generic = false, gecko = "mozilla::ServoComputedValueFlags", servo = "::properties::computed_value_flags::ComputedValueFlags" },
541
{ generic = true, gecko = "mozilla::ServoRawOffsetArc", servo = "::servo_arc::RawOffsetArc" },
542
{ generic = true, gecko = "mozilla::ServoManuallyDrop", servo = "::std::mem::ManuallyDrop" },
543
{ generic = false, gecko = "nsACString", servo = "nsstring::nsACString" },
544
{ generic = false, gecko = "nsAString", servo = "nsstring::nsAString" },
545
{ generic = false, gecko = "nsCString", servo = "nsstring::nsCString" },
546
{ generic = false, gecko = "nsString", servo = "nsstring::nsString" },
547
]
548
549
whitelist-functions = ["Servo_.*", "Gecko_.*"]