1 /* automatically generated by rust-bindgen */
2 
3 pub use nsstring::{nsACString, nsAString, nsString, nsStringRepr};
4 use gecko_bindings::structs::nsStyleTransformMatrix;
5 use gecko_bindings::structs::nsTArray;
6 type nsACString_internal = nsACString;
7 type nsAString_internal = nsAString;
8 pub type ServoStyleContextBorrowed<'a> = &'a ::properties::ComputedValues;
9 pub type ServoStyleContextBorrowedOrNull<'a> = Option<&'a ::properties::ComputedValues>;
10 pub type ServoComputedDataBorrowed<'a> = &'a ServoComputedData;
11 pub type RawServoAnimationValueTableBorrowed<'a> = &'a ();
12 use gecko_bindings::structs::mozilla::css::GridTemplateAreasValue;
13 use gecko_bindings::structs::mozilla::css::ErrorReporter;
14 use gecko_bindings::structs::mozilla::css::ImageValue;
15 use gecko_bindings::structs::mozilla::css::URLValue;
16 use gecko_bindings::structs::mozilla::css::URLValueData;
17 use gecko_bindings::structs::mozilla::dom::CallerType;
18 use gecko_bindings::structs::mozilla::AnonymousCounterStyle;
19 use gecko_bindings::structs::mozilla::AtomArray;
20 use gecko_bindings::structs::mozilla::MallocSizeOf;
21 use gecko_bindings::structs::mozilla::OriginFlags;
22 use gecko_bindings::structs::mozilla::UniquePtr;
23 use gecko_bindings::structs::ServoRawOffsetArc;
24 use gecko_bindings::structs::nsIContent;
25 use gecko_bindings::structs::nsIDocument;
26 use gecko_bindings::structs::nsIDocument_DocumentTheme;
27 use gecko_bindings::structs::nsSimpleContentList;
28 use gecko_bindings::structs::MediumFeaturesChangedResult;
29 use gecko_bindings::structs::RawGeckoAnimationPropertySegment;
30 use gecko_bindings::structs::RawGeckoComputedTiming;
31 use gecko_bindings::structs::RawGeckoCSSPropertyIDList;
32 use gecko_bindings::structs::RawGeckoDocument;
33 use gecko_bindings::structs::RawGeckoElement;
34 use gecko_bindings::structs::Element;
35 use gecko_bindings::structs::RawGeckoKeyframeList;
36 use gecko_bindings::structs::RawGeckoPropertyValuePairList;
37 use gecko_bindings::structs::RawGeckoComputedKeyframeValuesList;
38 use gecko_bindings::structs::RawGeckoFontFaceRuleList;
39 use gecko_bindings::structs::RawGeckoNode;
40 use gecko_bindings::structs::RawServoAnimationValue;
41 use gecko_bindings::structs::RawGeckoServoAnimationValueList;
42 use gecko_bindings::structs::RawServoMediaList;
43 use gecko_bindings::structs::RawServoStyleSheetContents;
44 use gecko_bindings::structs::RawServoDeclarationBlock;
45 use gecko_bindings::structs::RawServoStyleRule;
46 use gecko_bindings::structs::RawGeckoPresContext;
47 use gecko_bindings::structs::RawGeckoPresContextOwned;
48 use gecko_bindings::structs::RawGeckoStyleAnimationList;
49 use gecko_bindings::structs::RawGeckoStyleChildrenIterator;
50 use gecko_bindings::structs::RawGeckoServoStyleRuleList;
51 use gecko_bindings::structs::RawGeckoURLExtraData;
52 use gecko_bindings::structs::RawGeckoXBLBinding;
53 use gecko_bindings::structs::RawServoSelectorList;
54 use gecko_bindings::structs::RawServoSourceSizeList;
55 use gecko_bindings::structs::RefPtr;
56 use gecko_bindings::structs::RustString;
57 use gecko_bindings::structs::CSSPseudoClassType;
58 use gecko_bindings::structs::CSSPseudoElementType;
59 use gecko_bindings::structs::ServoTraversalFlags;
60 use gecko_bindings::structs::ComputedTimingFunction_BeforeFlag;
61 use gecko_bindings::structs::CounterStylePtr;
62 use gecko_bindings::structs::FontFamilyType;
63 use gecko_bindings::structs::FontSizePrefs;
64 use gecko_bindings::structs::GeckoFontMetrics;
65 use gecko_bindings::structs::IterationCompositeOperation;
66 use gecko_bindings::structs::Keyframe;
67 use gecko_bindings::structs::PropertyValuePair;
68 use gecko_bindings::structs::SeenPtrs;
69 use gecko_bindings::structs::ServoBundledURI;
70 use gecko_bindings::structs::ServoElementSnapshot;
71 use gecko_bindings::structs::ServoElementSnapshotTable;
72 use gecko_bindings::structs::ServoStyleSetSizes;
73 use gecko_bindings::structs::SheetParsingMode;
74 use gecko_bindings::structs::StyleBasicShapeType;
75 use gecko_bindings::structs::StyleShapeSource;
76 use gecko_bindings::structs::StyleTransition;
77 use gecko_bindings::structs::gfxFontFeatureValueSet;
78 use gecko_bindings::structs::nsCSSCounterDesc;
79 use gecko_bindings::structs::nsCSSCounterStyleRule;
80 use gecko_bindings::structs::nsCSSFontDesc;
81 use gecko_bindings::structs::nsCSSFontFaceRule;
82 use gecko_bindings::structs::nsCSSKeyword;
83 use gecko_bindings::structs::nsCSSPropertyID;
84 use gecko_bindings::structs::nsCSSPropertyIDSet;
85 use gecko_bindings::structs::nsCSSRect;
86 use gecko_bindings::structs::nsCSSShadowArray;
87 use gecko_bindings::structs::nsCSSUnit;
88 use gecko_bindings::structs::nsCSSValue;
89 use gecko_bindings::structs::nsCSSValueSharedList;
90 use gecko_bindings::structs::nsChangeHint;
91 use gecko_bindings::structs::nsCursorImage;
92 use gecko_bindings::structs::nsFont;
93 use gecko_bindings::structs::nsAtom;
94 use gecko_bindings::structs::nsIURI;
95 use gecko_bindings::structs::nsCompatibility;
96 use gecko_bindings::structs::nsRestyleHint;
97 use gecko_bindings::structs::nsStyleBackground;
98 unsafe impl Send for nsStyleBackground {}
99 unsafe impl Sync for nsStyleBackground {}
100 use gecko_bindings::structs::nsStyleBorder;
101 unsafe impl Send for nsStyleBorder {}
102 unsafe impl Sync for nsStyleBorder {}
103 use gecko_bindings::structs::nsStyleColor;
104 unsafe impl Send for nsStyleColor {}
105 unsafe impl Sync for nsStyleColor {}
106 use gecko_bindings::structs::nsStyleColumn;
107 unsafe impl Send for nsStyleColumn {}
108 unsafe impl Sync for nsStyleColumn {}
109 use gecko_bindings::structs::nsStyleContent;
110 unsafe impl Send for nsStyleContent {}
111 unsafe impl Sync for nsStyleContent {}
112 use gecko_bindings::structs::nsStyleContentData;
113 unsafe impl Send for nsStyleContentData {}
114 unsafe impl Sync for nsStyleContentData {}
115 use gecko_bindings::structs::nsStyleContentData_CounterFunction;
116 unsafe impl Send for nsStyleContentData_CounterFunction {}
117 unsafe impl Sync for nsStyleContentData_CounterFunction {}
118 use gecko_bindings::structs::nsStyleContentType;
119 unsafe impl Send for nsStyleContentType {}
120 unsafe impl Sync for nsStyleContentType {}
121 use gecko_bindings::structs::nsStyleContext;
122 unsafe impl Send for nsStyleContext {}
123 unsafe impl Sync for nsStyleContext {}
124 use gecko_bindings::structs::nsStyleCoord;
125 unsafe impl Send for nsStyleCoord {}
126 unsafe impl Sync for nsStyleCoord {}
127 use gecko_bindings::structs::nsStyleCoord_Calc;
128 unsafe impl Send for nsStyleCoord_Calc {}
129 unsafe impl Sync for nsStyleCoord_Calc {}
130 use gecko_bindings::structs::nsStyleCoord_CalcValue;
131 unsafe impl Send for nsStyleCoord_CalcValue {}
132 unsafe impl Sync for nsStyleCoord_CalcValue {}
133 use gecko_bindings::structs::nsStyleDisplay;
134 unsafe impl Send for nsStyleDisplay {}
135 unsafe impl Sync for nsStyleDisplay {}
136 use gecko_bindings::structs::nsStyleEffects;
137 unsafe impl Send for nsStyleEffects {}
138 unsafe impl Sync for nsStyleEffects {}
139 use gecko_bindings::structs::nsStyleFilter;
140 unsafe impl Send for nsStyleFilter {}
141 unsafe impl Sync for nsStyleFilter {}
142 use gecko_bindings::structs::nsStyleFont;
143 unsafe impl Send for nsStyleFont {}
144 unsafe impl Sync for nsStyleFont {}
145 use gecko_bindings::structs::nsStyleGradient;
146 unsafe impl Send for nsStyleGradient {}
147 unsafe impl Sync for nsStyleGradient {}
148 use gecko_bindings::structs::nsStyleGradientStop;
149 unsafe impl Send for nsStyleGradientStop {}
150 unsafe impl Sync for nsStyleGradientStop {}
151 use gecko_bindings::structs::nsStyleGridTemplate;
152 unsafe impl Send for nsStyleGridTemplate {}
153 unsafe impl Sync for nsStyleGridTemplate {}
154 use gecko_bindings::structs::nsStyleImage;
155 unsafe impl Send for nsStyleImage {}
156 unsafe impl Sync for nsStyleImage {}
157 use gecko_bindings::structs::nsStyleImageLayers;
158 unsafe impl Send for nsStyleImageLayers {}
159 unsafe impl Sync for nsStyleImageLayers {}
160 use gecko_bindings::structs::nsStyleImageLayers_Layer;
161 unsafe impl Send for nsStyleImageLayers_Layer {}
162 unsafe impl Sync for nsStyleImageLayers_Layer {}
163 use gecko_bindings::structs::nsStyleImageLayers_LayerType;
164 unsafe impl Send for nsStyleImageLayers_LayerType {}
165 unsafe impl Sync for nsStyleImageLayers_LayerType {}
166 use gecko_bindings::structs::nsStyleImageRequest;
167 unsafe impl Send for nsStyleImageRequest {}
168 unsafe impl Sync for nsStyleImageRequest {}
169 use gecko_bindings::structs::nsStyleList;
170 unsafe impl Send for nsStyleList {}
171 unsafe impl Sync for nsStyleList {}
172 use gecko_bindings::structs::nsStyleMargin;
173 unsafe impl Send for nsStyleMargin {}
174 unsafe impl Sync for nsStyleMargin {}
175 use gecko_bindings::structs::nsStyleOutline;
176 unsafe impl Send for nsStyleOutline {}
177 unsafe impl Sync for nsStyleOutline {}
178 use gecko_bindings::structs::nsStylePadding;
179 unsafe impl Send for nsStylePadding {}
180 unsafe impl Sync for nsStylePadding {}
181 use gecko_bindings::structs::nsStylePosition;
182 unsafe impl Send for nsStylePosition {}
183 unsafe impl Sync for nsStylePosition {}
184 use gecko_bindings::structs::nsStyleQuoteValues;
185 unsafe impl Send for nsStyleQuoteValues {}
186 unsafe impl Sync for nsStyleQuoteValues {}
187 use gecko_bindings::structs::nsStyleSVG;
188 unsafe impl Send for nsStyleSVG {}
189 unsafe impl Sync for nsStyleSVG {}
190 use gecko_bindings::structs::nsStyleSVGOpacitySource;
191 unsafe impl Send for nsStyleSVGOpacitySource {}
192 unsafe impl Sync for nsStyleSVGOpacitySource {}
193 use gecko_bindings::structs::nsStyleSVGPaint;
194 unsafe impl Send for nsStyleSVGPaint {}
195 unsafe impl Sync for nsStyleSVGPaint {}
196 use gecko_bindings::structs::nsStyleSVGReset;
197 unsafe impl Send for nsStyleSVGReset {}
198 unsafe impl Sync for nsStyleSVGReset {}
199 use gecko_bindings::structs::nsStyleTable;
200 unsafe impl Send for nsStyleTable {}
201 unsafe impl Sync for nsStyleTable {}
202 use gecko_bindings::structs::nsStyleTableBorder;
203 unsafe impl Send for nsStyleTableBorder {}
204 unsafe impl Sync for nsStyleTableBorder {}
205 use gecko_bindings::structs::nsStyleText;
206 unsafe impl Send for nsStyleText {}
207 unsafe impl Sync for nsStyleText {}
208 use gecko_bindings::structs::nsStyleTextReset;
209 unsafe impl Send for nsStyleTextReset {}
210 unsafe impl Sync for nsStyleTextReset {}
211 use gecko_bindings::structs::nsStyleUIReset;
212 unsafe impl Send for nsStyleUIReset {}
213 unsafe impl Sync for nsStyleUIReset {}
214 use gecko_bindings::structs::nsStyleUnion;
215 unsafe impl Send for nsStyleUnion {}
216 unsafe impl Sync for nsStyleUnion {}
217 use gecko_bindings::structs::nsStyleUnit;
218 unsafe impl Send for nsStyleUnit {}
219 unsafe impl Sync for nsStyleUnit {}
220 use gecko_bindings::structs::nsStyleUserInterface;
221 unsafe impl Send for nsStyleUserInterface {}
222 unsafe impl Sync for nsStyleUserInterface {}
223 use gecko_bindings::structs::nsStyleVariables;
224 unsafe impl Send for nsStyleVariables {}
225 unsafe impl Sync for nsStyleVariables {}
226 use gecko_bindings::structs::nsStyleVisibility;
227 unsafe impl Send for nsStyleVisibility {}
228 unsafe impl Sync for nsStyleVisibility {}
229 use gecko_bindings::structs::nsStyleXUL;
230 unsafe impl Send for nsStyleXUL {}
231 unsafe impl Sync for nsStyleXUL {}
232 use gecko_bindings::structs::nsTimingFunction;
233 use gecko_bindings::structs::nscolor;
234 use gecko_bindings::structs::nscoord;
235 use gecko_bindings::structs::nsresult;
236 use gecko_bindings::structs::Loader;
237 use gecko_bindings::structs::LoaderReusableStyleSheets;
238 use gecko_bindings::structs::SheetLoadData;
239 use gecko_bindings::structs::ServoStyleSheet;
240 use gecko_bindings::structs::ServoComputedData;
241 use gecko_bindings::structs::ServoStyleContext;
242 use gecko_bindings::structs::ServoStyleContextStrong;
243 use gecko_bindings::structs::EffectCompositor_CascadeLevel;
244 use gecko_bindings::structs::UpdateAnimationsTasks;
245 use gecko_bindings::structs::ParsingMode;
246 use gecko_bindings::structs::InheritTarget;
247 use gecko_bindings::structs::URLMatchingFunction;
248 use gecko_bindings::structs::StyleAnimation;
249 use gecko_bindings::structs::StyleRuleInclusion;
250 use gecko_bindings::structs::nsStyleTransformMatrix::MatrixTransformOperator;
251 unsafe impl Send for nsStyleTransformMatrix::MatrixTransformOperator {}
252 unsafe impl Sync for nsStyleTransformMatrix::MatrixTransformOperator {}
253 use gecko_bindings::structs::RawGeckoGfxMatrix4x4;
254 use gecko_bindings::structs::FontFamilyName;
255 use gecko_bindings::structs::mozilla::SharedFontList;
256 pub type nsTArrayBorrowed_uintptr_t<'a> = &'a mut ::gecko_bindings::structs::nsTArray<usize>;
257 pub type RawServoStyleSetOwned = ::gecko_bindings::sugar::ownership::Owned<RawServoStyleSet>;
258 pub type RawServoStyleSetOwnedOrNull =
259     ::gecko_bindings::sugar::ownership::OwnedOrNull<RawServoStyleSet>;
260 pub type RawServoStyleSetBorrowed<'a> = &'a RawServoStyleSet;
261 pub type RawServoStyleSetBorrowedOrNull<'a> = Option<&'a RawServoStyleSet>;
262 pub type RawServoStyleSetBorrowedMut<'a> = &'a mut RawServoStyleSet;
263 pub type RawServoStyleSetBorrowedMutOrNull<'a> = Option<&'a mut RawServoStyleSet>;
264 enum RawServoStyleSetVoid {
265 }
266 pub struct RawServoStyleSet(RawServoStyleSetVoid);
267 pub type RawServoAuthorStylesOwned =
268     ::gecko_bindings::sugar::ownership::Owned<RawServoAuthorStyles>;
269 pub type RawServoAuthorStylesOwnedOrNull =
270     ::gecko_bindings::sugar::ownership::OwnedOrNull<RawServoAuthorStyles>;
271 pub type RawServoAuthorStylesBorrowed<'a> = &'a RawServoAuthorStyles;
272 pub type RawServoAuthorStylesBorrowedOrNull<'a> = Option<&'a RawServoAuthorStyles>;
273 pub type RawServoAuthorStylesBorrowedMut<'a> = &'a mut RawServoAuthorStyles;
274 pub type RawServoAuthorStylesBorrowedMutOrNull<'a> = Option<&'a mut RawServoAuthorStyles>;
275 enum RawServoAuthorStylesVoid {
276 }
277 pub struct RawServoAuthorStyles(RawServoAuthorStylesVoid);
278 pub type RawServoSelectorListOwned =
279     ::gecko_bindings::sugar::ownership::Owned<RawServoSelectorList>;
280 pub type RawServoSelectorListOwnedOrNull =
281     ::gecko_bindings::sugar::ownership::OwnedOrNull<RawServoSelectorList>;
282 pub type RawServoSelectorListBorrowed<'a> = &'a RawServoSelectorList;
283 pub type RawServoSelectorListBorrowedOrNull<'a> = Option<&'a RawServoSelectorList>;
284 pub type RawServoSelectorListBorrowedMut<'a> = &'a mut RawServoSelectorList;
285 pub type RawServoSelectorListBorrowedMutOrNull<'a> = Option<&'a mut RawServoSelectorList>;
286 pub type RawServoSourceSizeListOwned =
287     ::gecko_bindings::sugar::ownership::Owned<RawServoSourceSizeList>;
288 pub type RawServoSourceSizeListOwnedOrNull =
289     ::gecko_bindings::sugar::ownership::OwnedOrNull<RawServoSourceSizeList>;
290 pub type RawServoSourceSizeListBorrowed<'a> = &'a RawServoSourceSizeList;
291 pub type RawServoSourceSizeListBorrowedOrNull<'a> = Option<&'a RawServoSourceSizeList>;
292 pub type RawServoSourceSizeListBorrowedMut<'a> = &'a mut RawServoSourceSizeList;
293 pub type RawServoSourceSizeListBorrowedMutOrNull<'a> = Option<&'a mut RawServoSourceSizeList>;
294 pub type ServoElementSnapshotOwned =
295     ::gecko_bindings::sugar::ownership::Owned<ServoElementSnapshot>;
296 pub type ServoElementSnapshotOwnedOrNull =
297     ::gecko_bindings::sugar::ownership::OwnedOrNull<ServoElementSnapshot>;
298 pub type ServoElementSnapshotBorrowed<'a> = &'a ServoElementSnapshot;
299 pub type ServoElementSnapshotBorrowedOrNull<'a> = Option<&'a ServoElementSnapshot>;
300 pub type ServoElementSnapshotBorrowedMut<'a> = &'a mut ServoElementSnapshot;
301 pub type ServoElementSnapshotBorrowedMutOrNull<'a> = Option<&'a mut ServoElementSnapshot>;
302 pub type RawServoAnimationValueMapOwned =
303     ::gecko_bindings::sugar::ownership::Owned<RawServoAnimationValueMap>;
304 pub type RawServoAnimationValueMapOwnedOrNull =
305     ::gecko_bindings::sugar::ownership::OwnedOrNull<RawServoAnimationValueMap>;
306 pub type RawServoAnimationValueMapBorrowed<'a> = &'a RawServoAnimationValueMap;
307 pub type RawServoAnimationValueMapBorrowedOrNull<'a> = Option<&'a RawServoAnimationValueMap>;
308 pub type RawServoAnimationValueMapBorrowedMut<'a> = &'a mut RawServoAnimationValueMap;
309 pub type RawServoAnimationValueMapBorrowedMutOrNull<'a> = Option<&'a mut RawServoAnimationValueMap>;
310 enum RawServoAnimationValueMapVoid {
311 }
312 pub struct RawServoAnimationValueMap(RawServoAnimationValueMapVoid);
313 pub type RawGeckoNodeBorrowed<'a> = &'a RawGeckoNode;
314 pub type RawGeckoNodeBorrowedOrNull<'a> = Option<&'a RawGeckoNode>;
315 pub type RawGeckoElementBorrowed<'a> = &'a RawGeckoElement;
316 pub type RawGeckoElementBorrowedOrNull<'a> = Option<&'a RawGeckoElement>;
317 pub type RawGeckoDocumentBorrowed<'a> = &'a RawGeckoDocument;
318 pub type RawGeckoDocumentBorrowedOrNull<'a> = Option<&'a RawGeckoDocument>;
319 pub type RawServoDeclarationBlockStrongBorrowed<'a> = &'a RawServoDeclarationBlockStrong;
320 pub type RawServoDeclarationBlockStrongBorrowedOrNull<'a> =
321     Option<&'a RawServoDeclarationBlockStrong>;
322 pub type RawGeckoPresContextBorrowed<'a> = &'a RawGeckoPresContext;
323 pub type RawGeckoPresContextBorrowedOrNull<'a> = Option<&'a RawGeckoPresContext>;
324 pub type RawGeckoXBLBindingBorrowed<'a> = &'a RawGeckoXBLBinding;
325 pub type RawGeckoXBLBindingBorrowedOrNull<'a> = Option<&'a RawGeckoXBLBinding>;
326 pub type nsCSSPropertyIDSetBorrowed<'a> = &'a nsCSSPropertyIDSet;
327 pub type nsCSSPropertyIDSetBorrowedOrNull<'a> = Option<&'a nsCSSPropertyIDSet>;
328 pub type nsCSSPropertyIDSetBorrowedMut<'a> = &'a mut nsCSSPropertyIDSet;
329 pub type nsCSSPropertyIDSetBorrowedMutOrNull<'a> = Option<&'a mut nsCSSPropertyIDSet>;
330 pub type nsCSSValueBorrowed<'a> = &'a nsCSSValue;
331 pub type nsCSSValueBorrowedOrNull<'a> = Option<&'a nsCSSValue>;
332 pub type nsCSSValueBorrowedMut<'a> = &'a mut nsCSSValue;
333 pub type nsCSSValueBorrowedMutOrNull<'a> = Option<&'a mut nsCSSValue>;
334 pub type nsTimingFunctionBorrowed<'a> = &'a nsTimingFunction;
335 pub type nsTimingFunctionBorrowedOrNull<'a> = Option<&'a nsTimingFunction>;
336 pub type nsTimingFunctionBorrowedMut<'a> = &'a mut nsTimingFunction;
337 pub type nsTimingFunctionBorrowedMutOrNull<'a> = Option<&'a mut nsTimingFunction>;
338 pub type RawGeckoAnimationPropertySegmentBorrowed<'a> = &'a RawGeckoAnimationPropertySegment;
339 pub type RawGeckoAnimationPropertySegmentBorrowedOrNull<'a> =
340     Option<&'a RawGeckoAnimationPropertySegment>;
341 pub type RawGeckoAnimationPropertySegmentBorrowedMut<'a> = &'a mut RawGeckoAnimationPropertySegment;
342 pub type RawGeckoAnimationPropertySegmentBorrowedMutOrNull<'a> =
343     Option<&'a mut RawGeckoAnimationPropertySegment>;
344 pub type RawGeckoComputedTimingBorrowed<'a> = &'a RawGeckoComputedTiming;
345 pub type RawGeckoComputedTimingBorrowedOrNull<'a> = Option<&'a RawGeckoComputedTiming>;
346 pub type RawGeckoComputedTimingBorrowedMut<'a> = &'a mut RawGeckoComputedTiming;
347 pub type RawGeckoComputedTimingBorrowedMutOrNull<'a> = Option<&'a mut RawGeckoComputedTiming>;
348 pub type RawGeckoCSSPropertyIDListBorrowed<'a> = &'a RawGeckoCSSPropertyIDList;
349 pub type RawGeckoCSSPropertyIDListBorrowedOrNull<'a> = Option<&'a RawGeckoCSSPropertyIDList>;
350 pub type RawGeckoCSSPropertyIDListBorrowedMut<'a> = &'a mut RawGeckoCSSPropertyIDList;
351 pub type RawGeckoCSSPropertyIDListBorrowedMutOrNull<'a> = Option<&'a mut RawGeckoCSSPropertyIDList>;
352 pub type RawGeckoKeyframeListBorrowed<'a> = &'a RawGeckoKeyframeList;
353 pub type RawGeckoKeyframeListBorrowedOrNull<'a> = Option<&'a RawGeckoKeyframeList>;
354 pub type RawGeckoKeyframeListBorrowedMut<'a> = &'a mut RawGeckoKeyframeList;
355 pub type RawGeckoKeyframeListBorrowedMutOrNull<'a> = Option<&'a mut RawGeckoKeyframeList>;
356 pub type RawGeckoPropertyValuePairListBorrowed<'a> = &'a RawGeckoPropertyValuePairList;
357 pub type RawGeckoPropertyValuePairListBorrowedOrNull<'a> =
358     Option<&'a RawGeckoPropertyValuePairList>;
359 pub type RawGeckoPropertyValuePairListBorrowedMut<'a> = &'a mut RawGeckoPropertyValuePairList;
360 pub type RawGeckoPropertyValuePairListBorrowedMutOrNull<'a> =
361     Option<&'a mut RawGeckoPropertyValuePairList>;
362 pub type RawGeckoComputedKeyframeValuesListBorrowed<'a> = &'a RawGeckoComputedKeyframeValuesList;
363 pub type RawGeckoComputedKeyframeValuesListBorrowedOrNull<'a> =
364     Option<&'a RawGeckoComputedKeyframeValuesList>;
365 pub type RawGeckoComputedKeyframeValuesListBorrowedMut<'a> =
366     &'a mut RawGeckoComputedKeyframeValuesList;
367 pub type RawGeckoComputedKeyframeValuesListBorrowedMutOrNull<'a> =
368     Option<&'a mut RawGeckoComputedKeyframeValuesList>;
369 pub type RawGeckoFontFaceRuleListBorrowed<'a> = &'a RawGeckoFontFaceRuleList;
370 pub type RawGeckoFontFaceRuleListBorrowedOrNull<'a> = Option<&'a RawGeckoFontFaceRuleList>;
371 pub type RawGeckoFontFaceRuleListBorrowedMut<'a> = &'a mut RawGeckoFontFaceRuleList;
372 pub type RawGeckoFontFaceRuleListBorrowedMutOrNull<'a> = Option<&'a mut RawGeckoFontFaceRuleList>;
373 pub type RawGeckoServoStyleRuleListBorrowed<'a> = &'a RawGeckoServoStyleRuleList;
374 pub type RawGeckoServoStyleRuleListBorrowedOrNull<'a> = Option<&'a RawGeckoServoStyleRuleList>;
375 pub type RawGeckoServoStyleRuleListBorrowedMut<'a> = &'a mut RawGeckoServoStyleRuleList;
376 pub type RawGeckoServoStyleRuleListBorrowedMutOrNull<'a> =
377     Option<&'a mut RawGeckoServoStyleRuleList>;
378 pub type RawGeckoServoAnimationValueListBorrowed<'a> = &'a RawGeckoServoAnimationValueList;
379 pub type RawGeckoServoAnimationValueListBorrowedOrNull<'a> =
380     Option<&'a RawGeckoServoAnimationValueList>;
381 pub type RawGeckoServoAnimationValueListBorrowedMut<'a> = &'a mut RawGeckoServoAnimationValueList;
382 pub type RawGeckoServoAnimationValueListBorrowedMutOrNull<'a> =
383     Option<&'a mut RawGeckoServoAnimationValueList>;
384 pub type RawGeckoStyleAnimationListBorrowed<'a> = &'a RawGeckoStyleAnimationList;
385 pub type RawGeckoStyleAnimationListBorrowedOrNull<'a> = Option<&'a RawGeckoStyleAnimationList>;
386 pub type RawGeckoStyleAnimationListBorrowedMut<'a> = &'a mut RawGeckoStyleAnimationList;
387 pub type RawGeckoStyleAnimationListBorrowedMutOrNull<'a> =
388     Option<&'a mut RawGeckoStyleAnimationList>;
389 pub type RawGeckoStyleChildrenIteratorBorrowed<'a> = &'a RawGeckoStyleChildrenIterator;
390 pub type RawGeckoStyleChildrenIteratorBorrowedOrNull<'a> =
391     Option<&'a RawGeckoStyleChildrenIterator>;
392 pub type RawGeckoStyleChildrenIteratorBorrowedMut<'a> = &'a mut RawGeckoStyleChildrenIterator;
393 pub type RawGeckoStyleChildrenIteratorBorrowedMutOrNull<'a> =
394     Option<&'a mut RawGeckoStyleChildrenIterator>;
395 pub type ServoCssRulesStrong = ::gecko_bindings::sugar::ownership::Strong<ServoCssRules>;
396 pub type ServoCssRulesBorrowed<'a> = &'a ServoCssRules;
397 pub type ServoCssRulesBorrowedOrNull<'a> = Option<&'a ServoCssRules>;
398 enum ServoCssRulesVoid {
399 }
400 pub struct ServoCssRules(ServoCssRulesVoid);
401 pub type RawServoStyleSheetContentsStrong =
402     ::gecko_bindings::sugar::ownership::Strong<RawServoStyleSheetContents>;
403 pub type RawServoStyleSheetContentsBorrowed<'a> = &'a RawServoStyleSheetContents;
404 pub type RawServoStyleSheetContentsBorrowedOrNull<'a> = Option<&'a RawServoStyleSheetContents>;
405 pub type RawServoDeclarationBlockStrong =
406     ::gecko_bindings::sugar::ownership::Strong<RawServoDeclarationBlock>;
407 pub type RawServoDeclarationBlockBorrowed<'a> = &'a RawServoDeclarationBlock;
408 pub type RawServoDeclarationBlockBorrowedOrNull<'a> = Option<&'a RawServoDeclarationBlock>;
409 pub type RawServoStyleRuleStrong = ::gecko_bindings::sugar::ownership::Strong<RawServoStyleRule>;
410 pub type RawServoStyleRuleBorrowed<'a> = &'a RawServoStyleRule;
411 pub type RawServoStyleRuleBorrowedOrNull<'a> = Option<&'a RawServoStyleRule>;
412 pub type RawServoImportRuleStrong = ::gecko_bindings::sugar::ownership::Strong<RawServoImportRule>;
413 pub type RawServoImportRuleBorrowed<'a> = &'a RawServoImportRule;
414 pub type RawServoImportRuleBorrowedOrNull<'a> = Option<&'a RawServoImportRule>;
415 enum RawServoImportRuleVoid {
416 }
417 pub struct RawServoImportRule(RawServoImportRuleVoid);
418 pub type RawServoAnimationValueStrong =
419     ::gecko_bindings::sugar::ownership::Strong<RawServoAnimationValue>;
420 pub type RawServoAnimationValueBorrowed<'a> = &'a RawServoAnimationValue;
421 pub type RawServoAnimationValueBorrowedOrNull<'a> = Option<&'a RawServoAnimationValue>;
422 pub type RawServoKeyframeStrong = ::gecko_bindings::sugar::ownership::Strong<RawServoKeyframe>;
423 pub type RawServoKeyframeBorrowed<'a> = &'a RawServoKeyframe;
424 pub type RawServoKeyframeBorrowedOrNull<'a> = Option<&'a RawServoKeyframe>;
425 enum RawServoKeyframeVoid {
426 }
427 pub struct RawServoKeyframe(RawServoKeyframeVoid);
428 pub type RawServoKeyframesRuleStrong =
429     ::gecko_bindings::sugar::ownership::Strong<RawServoKeyframesRule>;
430 pub type RawServoKeyframesRuleBorrowed<'a> = &'a RawServoKeyframesRule;
431 pub type RawServoKeyframesRuleBorrowedOrNull<'a> = Option<&'a RawServoKeyframesRule>;
432 enum RawServoKeyframesRuleVoid {
433 }
434 pub struct RawServoKeyframesRule(RawServoKeyframesRuleVoid);
435 pub type RawServoMediaListStrong = ::gecko_bindings::sugar::ownership::Strong<RawServoMediaList>;
436 pub type RawServoMediaListBorrowed<'a> = &'a RawServoMediaList;
437 pub type RawServoMediaListBorrowedOrNull<'a> = Option<&'a RawServoMediaList>;
438 pub type RawServoMediaRuleStrong = ::gecko_bindings::sugar::ownership::Strong<RawServoMediaRule>;
439 pub type RawServoMediaRuleBorrowed<'a> = &'a RawServoMediaRule;
440 pub type RawServoMediaRuleBorrowedOrNull<'a> = Option<&'a RawServoMediaRule>;
441 enum RawServoMediaRuleVoid {
442 }
443 pub struct RawServoMediaRule(RawServoMediaRuleVoid);
444 pub type RawServoNamespaceRuleStrong =
445     ::gecko_bindings::sugar::ownership::Strong<RawServoNamespaceRule>;
446 pub type RawServoNamespaceRuleBorrowed<'a> = &'a RawServoNamespaceRule;
447 pub type RawServoNamespaceRuleBorrowedOrNull<'a> = Option<&'a RawServoNamespaceRule>;
448 enum RawServoNamespaceRuleVoid {
449 }
450 pub struct RawServoNamespaceRule(RawServoNamespaceRuleVoid);
451 pub type RawServoPageRuleStrong = ::gecko_bindings::sugar::ownership::Strong<RawServoPageRule>;
452 pub type RawServoPageRuleBorrowed<'a> = &'a RawServoPageRule;
453 pub type RawServoPageRuleBorrowedOrNull<'a> = Option<&'a RawServoPageRule>;
454 enum RawServoPageRuleVoid {
455 }
456 pub struct RawServoPageRule(RawServoPageRuleVoid);
457 pub type RawServoSupportsRuleStrong =
458     ::gecko_bindings::sugar::ownership::Strong<RawServoSupportsRule>;
459 pub type RawServoSupportsRuleBorrowed<'a> = &'a RawServoSupportsRule;
460 pub type RawServoSupportsRuleBorrowedOrNull<'a> = Option<&'a RawServoSupportsRule>;
461 enum RawServoSupportsRuleVoid {
462 }
463 pub struct RawServoSupportsRule(RawServoSupportsRuleVoid);
464 pub type RawServoDocumentRuleStrong =
465     ::gecko_bindings::sugar::ownership::Strong<RawServoDocumentRule>;
466 pub type RawServoDocumentRuleBorrowed<'a> = &'a RawServoDocumentRule;
467 pub type RawServoDocumentRuleBorrowedOrNull<'a> = Option<&'a RawServoDocumentRule>;
468 enum RawServoDocumentRuleVoid {
469 }
470 pub struct RawServoDocumentRule(RawServoDocumentRuleVoid);
471 pub type RawServoFontFeatureValuesRuleStrong =
472     ::gecko_bindings::sugar::ownership::Strong<RawServoFontFeatureValuesRule>;
473 pub type RawServoFontFeatureValuesRuleBorrowed<'a> = &'a RawServoFontFeatureValuesRule;
474 pub type RawServoFontFeatureValuesRuleBorrowedOrNull<'a> =
475     Option<&'a RawServoFontFeatureValuesRule>;
476 enum RawServoFontFeatureValuesRuleVoid {
477 }
478 pub struct RawServoFontFeatureValuesRule(RawServoFontFeatureValuesRuleVoid);
479 pub type RawServoRuleNodeStrong = ::gecko_bindings::sugar::ownership::Strong<RawServoRuleNode>;
480 pub type RawServoRuleNodeBorrowed<'a> = &'a RawServoRuleNode;
481 pub type RawServoRuleNodeBorrowedOrNull<'a> = Option<&'a RawServoRuleNode>;
482 enum RawServoRuleNodeVoid {
483 }
484 pub struct RawServoRuleNode(RawServoRuleNodeVoid);
485 
486 extern "C" {
Gecko_EnsureTArrayCapacity( aArray: *mut ::std::os::raw::c_void, aCapacity: usize, aElementSize: usize, )487     pub fn Gecko_EnsureTArrayCapacity(
488         aArray: *mut ::std::os::raw::c_void,
489         aCapacity: usize,
490         aElementSize: usize,
491     );
492 }
493 extern "C" {
Gecko_ClearPODTArray( aArray: *mut ::std::os::raw::c_void, aElementSize: usize, aElementAlign: usize, )494     pub fn Gecko_ClearPODTArray(
495         aArray: *mut ::std::os::raw::c_void,
496         aElementSize: usize,
497         aElementAlign: usize,
498     );
499 }
500 extern "C" {
Servo_CssRules_AddRef(ptr: ServoCssRulesBorrowed)501     pub fn Servo_CssRules_AddRef(ptr: ServoCssRulesBorrowed);
502 }
503 extern "C" {
Servo_CssRules_Release(ptr: ServoCssRulesBorrowed)504     pub fn Servo_CssRules_Release(ptr: ServoCssRulesBorrowed);
505 }
506 extern "C" {
Servo_StyleSheetContents_AddRef(ptr: RawServoStyleSheetContentsBorrowed)507     pub fn Servo_StyleSheetContents_AddRef(ptr: RawServoStyleSheetContentsBorrowed);
508 }
509 extern "C" {
Servo_StyleSheetContents_Release(ptr: RawServoStyleSheetContentsBorrowed)510     pub fn Servo_StyleSheetContents_Release(ptr: RawServoStyleSheetContentsBorrowed);
511 }
512 extern "C" {
Servo_DeclarationBlock_AddRef(ptr: RawServoDeclarationBlockBorrowed)513     pub fn Servo_DeclarationBlock_AddRef(ptr: RawServoDeclarationBlockBorrowed);
514 }
515 extern "C" {
Servo_DeclarationBlock_Release(ptr: RawServoDeclarationBlockBorrowed)516     pub fn Servo_DeclarationBlock_Release(ptr: RawServoDeclarationBlockBorrowed);
517 }
518 extern "C" {
Servo_StyleRule_AddRef(ptr: RawServoStyleRuleBorrowed)519     pub fn Servo_StyleRule_AddRef(ptr: RawServoStyleRuleBorrowed);
520 }
521 extern "C" {
Servo_StyleRule_Release(ptr: RawServoStyleRuleBorrowed)522     pub fn Servo_StyleRule_Release(ptr: RawServoStyleRuleBorrowed);
523 }
524 extern "C" {
Servo_ImportRule_AddRef(ptr: RawServoImportRuleBorrowed)525     pub fn Servo_ImportRule_AddRef(ptr: RawServoImportRuleBorrowed);
526 }
527 extern "C" {
Servo_ImportRule_Release(ptr: RawServoImportRuleBorrowed)528     pub fn Servo_ImportRule_Release(ptr: RawServoImportRuleBorrowed);
529 }
530 extern "C" {
Servo_AnimationValue_AddRef(ptr: RawServoAnimationValueBorrowed)531     pub fn Servo_AnimationValue_AddRef(ptr: RawServoAnimationValueBorrowed);
532 }
533 extern "C" {
Servo_AnimationValue_Release(ptr: RawServoAnimationValueBorrowed)534     pub fn Servo_AnimationValue_Release(ptr: RawServoAnimationValueBorrowed);
535 }
536 extern "C" {
Servo_Keyframe_AddRef(ptr: RawServoKeyframeBorrowed)537     pub fn Servo_Keyframe_AddRef(ptr: RawServoKeyframeBorrowed);
538 }
539 extern "C" {
Servo_Keyframe_Release(ptr: RawServoKeyframeBorrowed)540     pub fn Servo_Keyframe_Release(ptr: RawServoKeyframeBorrowed);
541 }
542 extern "C" {
Servo_KeyframesRule_AddRef(ptr: RawServoKeyframesRuleBorrowed)543     pub fn Servo_KeyframesRule_AddRef(ptr: RawServoKeyframesRuleBorrowed);
544 }
545 extern "C" {
Servo_KeyframesRule_Release(ptr: RawServoKeyframesRuleBorrowed)546     pub fn Servo_KeyframesRule_Release(ptr: RawServoKeyframesRuleBorrowed);
547 }
548 extern "C" {
Servo_MediaList_AddRef(ptr: RawServoMediaListBorrowed)549     pub fn Servo_MediaList_AddRef(ptr: RawServoMediaListBorrowed);
550 }
551 extern "C" {
Servo_MediaList_Release(ptr: RawServoMediaListBorrowed)552     pub fn Servo_MediaList_Release(ptr: RawServoMediaListBorrowed);
553 }
554 extern "C" {
Servo_MediaRule_AddRef(ptr: RawServoMediaRuleBorrowed)555     pub fn Servo_MediaRule_AddRef(ptr: RawServoMediaRuleBorrowed);
556 }
557 extern "C" {
Servo_MediaRule_Release(ptr: RawServoMediaRuleBorrowed)558     pub fn Servo_MediaRule_Release(ptr: RawServoMediaRuleBorrowed);
559 }
560 extern "C" {
Servo_NamespaceRule_AddRef(ptr: RawServoNamespaceRuleBorrowed)561     pub fn Servo_NamespaceRule_AddRef(ptr: RawServoNamespaceRuleBorrowed);
562 }
563 extern "C" {
Servo_NamespaceRule_Release(ptr: RawServoNamespaceRuleBorrowed)564     pub fn Servo_NamespaceRule_Release(ptr: RawServoNamespaceRuleBorrowed);
565 }
566 extern "C" {
Servo_PageRule_AddRef(ptr: RawServoPageRuleBorrowed)567     pub fn Servo_PageRule_AddRef(ptr: RawServoPageRuleBorrowed);
568 }
569 extern "C" {
Servo_PageRule_Release(ptr: RawServoPageRuleBorrowed)570     pub fn Servo_PageRule_Release(ptr: RawServoPageRuleBorrowed);
571 }
572 extern "C" {
Servo_SupportsRule_AddRef(ptr: RawServoSupportsRuleBorrowed)573     pub fn Servo_SupportsRule_AddRef(ptr: RawServoSupportsRuleBorrowed);
574 }
575 extern "C" {
Servo_SupportsRule_Release(ptr: RawServoSupportsRuleBorrowed)576     pub fn Servo_SupportsRule_Release(ptr: RawServoSupportsRuleBorrowed);
577 }
578 extern "C" {
Servo_DocumentRule_AddRef(ptr: RawServoDocumentRuleBorrowed)579     pub fn Servo_DocumentRule_AddRef(ptr: RawServoDocumentRuleBorrowed);
580 }
581 extern "C" {
Servo_DocumentRule_Release(ptr: RawServoDocumentRuleBorrowed)582     pub fn Servo_DocumentRule_Release(ptr: RawServoDocumentRuleBorrowed);
583 }
584 extern "C" {
Servo_FontFeatureValuesRule_AddRef(ptr: RawServoFontFeatureValuesRuleBorrowed)585     pub fn Servo_FontFeatureValuesRule_AddRef(ptr: RawServoFontFeatureValuesRuleBorrowed);
586 }
587 extern "C" {
Servo_FontFeatureValuesRule_Release(ptr: RawServoFontFeatureValuesRuleBorrowed)588     pub fn Servo_FontFeatureValuesRule_Release(ptr: RawServoFontFeatureValuesRuleBorrowed);
589 }
590 extern "C" {
Servo_RuleNode_AddRef(ptr: RawServoRuleNodeBorrowed)591     pub fn Servo_RuleNode_AddRef(ptr: RawServoRuleNodeBorrowed);
592 }
593 extern "C" {
Servo_RuleNode_Release(ptr: RawServoRuleNodeBorrowed)594     pub fn Servo_RuleNode_Release(ptr: RawServoRuleNodeBorrowed);
595 }
596 extern "C" {
Servo_StyleSet_Drop(ptr: RawServoStyleSetOwned)597     pub fn Servo_StyleSet_Drop(ptr: RawServoStyleSetOwned);
598 }
599 extern "C" {
Servo_AuthorStyles_Drop(ptr: RawServoAuthorStylesOwned)600     pub fn Servo_AuthorStyles_Drop(ptr: RawServoAuthorStylesOwned);
601 }
602 extern "C" {
Servo_SelectorList_Drop(ptr: RawServoSelectorListOwned)603     pub fn Servo_SelectorList_Drop(ptr: RawServoSelectorListOwned);
604 }
605 extern "C" {
Servo_SourceSizeList_Drop(ptr: RawServoSourceSizeListOwned)606     pub fn Servo_SourceSizeList_Drop(ptr: RawServoSourceSizeListOwned);
607 }
608 extern "C" {
Gecko_IsSignificantChild( node: RawGeckoNodeBorrowed, whitespace_is_significant: bool, ) -> bool609     pub fn Gecko_IsSignificantChild(
610         node: RawGeckoNodeBorrowed,
611         whitespace_is_significant: bool,
612     ) -> bool;
613 }
614 extern "C" {
Gecko_GetLastChild(node: RawGeckoNodeBorrowed) -> RawGeckoNodeBorrowedOrNull615     pub fn Gecko_GetLastChild(node: RawGeckoNodeBorrowed) -> RawGeckoNodeBorrowedOrNull;
616 }
617 extern "C" {
Gecko_GetFlattenedTreeParentNode( node: RawGeckoNodeBorrowed, ) -> RawGeckoNodeBorrowedOrNull618     pub fn Gecko_GetFlattenedTreeParentNode(
619         node: RawGeckoNodeBorrowed,
620     ) -> RawGeckoNodeBorrowedOrNull;
621 }
622 extern "C" {
Gecko_GetBeforeOrAfterPseudo( element: RawGeckoElementBorrowed, is_before: bool, ) -> RawGeckoElementBorrowedOrNull623     pub fn Gecko_GetBeforeOrAfterPseudo(
624         element: RawGeckoElementBorrowed,
625         is_before: bool,
626     ) -> RawGeckoElementBorrowedOrNull;
627 }
628 extern "C" {
Gecko_GetAnonymousContentForElement( element: RawGeckoElementBorrowed, ) -> *mut nsTArray<*mut nsIContent>629     pub fn Gecko_GetAnonymousContentForElement(
630         element: RawGeckoElementBorrowed,
631     ) -> *mut nsTArray<*mut nsIContent>;
632 }
633 extern "C" {
Gecko_DestroyAnonymousContentList(anon_content: *mut nsTArray<*mut nsIContent>)634     pub fn Gecko_DestroyAnonymousContentList(anon_content: *mut nsTArray<*mut nsIContent>);
635 }
636 extern "C" {
Gecko_ServoStyleContext_Init( context: *mut ServoStyleContext, parent_context: ServoStyleContextBorrowedOrNull, pres_context: RawGeckoPresContextBorrowed, values: ServoComputedDataBorrowed, pseudo_type: CSSPseudoElementType, pseudo_tag: *mut nsAtom, )637     pub fn Gecko_ServoStyleContext_Init(
638         context: *mut ServoStyleContext,
639         parent_context: ServoStyleContextBorrowedOrNull,
640         pres_context: RawGeckoPresContextBorrowed,
641         values: ServoComputedDataBorrowed,
642         pseudo_type: CSSPseudoElementType,
643         pseudo_tag: *mut nsAtom,
644     );
645 }
646 extern "C" {
Gecko_ServoStyleContext_Destroy(context: *mut ServoStyleContext)647     pub fn Gecko_ServoStyleContext_Destroy(context: *mut ServoStyleContext);
648 }
649 extern "C" {
Gecko_ConstructStyleChildrenIterator( aElement: RawGeckoElementBorrowed, aIterator: RawGeckoStyleChildrenIteratorBorrowedMut, )650     pub fn Gecko_ConstructStyleChildrenIterator(
651         aElement: RawGeckoElementBorrowed,
652         aIterator: RawGeckoStyleChildrenIteratorBorrowedMut,
653     );
654 }
655 extern "C" {
Gecko_DestroyStyleChildrenIterator(aIterator: RawGeckoStyleChildrenIteratorBorrowedMut)656     pub fn Gecko_DestroyStyleChildrenIterator(aIterator: RawGeckoStyleChildrenIteratorBorrowedMut);
657 }
658 extern "C" {
Gecko_GetNextStyleChild( it: RawGeckoStyleChildrenIteratorBorrowedMut, ) -> RawGeckoNodeBorrowedOrNull659     pub fn Gecko_GetNextStyleChild(
660         it: RawGeckoStyleChildrenIteratorBorrowedMut,
661     ) -> RawGeckoNodeBorrowedOrNull;
662 }
663 extern "C" {
Gecko_LoadStyleSheet( loader: *mut Loader, parent: *mut ServoStyleSheet, parent_load_data: *mut SheetLoadData, reusable_sheets: *mut LoaderReusableStyleSheets, base_url_data: *mut RawGeckoURLExtraData, url_bytes: *const u8, url_length: u32, media_list: RawServoMediaListStrong, ) -> *mut ServoStyleSheet664     pub fn Gecko_LoadStyleSheet(
665         loader: *mut Loader,
666         parent: *mut ServoStyleSheet,
667         parent_load_data: *mut SheetLoadData,
668         reusable_sheets: *mut LoaderReusableStyleSheets,
669         base_url_data: *mut RawGeckoURLExtraData,
670         url_bytes: *const u8,
671         url_length: u32,
672         media_list: RawServoMediaListStrong,
673     ) -> *mut ServoStyleSheet;
674 }
675 extern "C" {
Gecko_ElementState(element: RawGeckoElementBorrowed) -> u64676     pub fn Gecko_ElementState(element: RawGeckoElementBorrowed) -> u64;
677 }
678 extern "C" {
Gecko_IsRootElement(element: RawGeckoElementBorrowed) -> bool679     pub fn Gecko_IsRootElement(element: RawGeckoElementBorrowed) -> bool;
680 }
681 extern "C" {
Gecko_MatchesElement( type_: CSSPseudoClassType, element: RawGeckoElementBorrowed, ) -> bool682     pub fn Gecko_MatchesElement(
683         type_: CSSPseudoClassType,
684         element: RawGeckoElementBorrowed,
685     ) -> bool;
686 }
687 extern "C" {
Gecko_MatchLang( element: RawGeckoElementBorrowed, override_lang: *mut nsAtom, has_override_lang: bool, value: *const u16, ) -> bool688     pub fn Gecko_MatchLang(
689         element: RawGeckoElementBorrowed,
690         override_lang: *mut nsAtom,
691         has_override_lang: bool,
692         value: *const u16,
693     ) -> bool;
694 }
695 extern "C" {
Gecko_GetXMLLangValue(element: RawGeckoElementBorrowed) -> *mut nsAtom696     pub fn Gecko_GetXMLLangValue(element: RawGeckoElementBorrowed) -> *mut nsAtom;
697 }
698 extern "C" {
Gecko_GetDocumentLWTheme(aDocument: *const nsIDocument) -> nsIDocument_DocumentTheme699     pub fn Gecko_GetDocumentLWTheme(aDocument: *const nsIDocument) -> nsIDocument_DocumentTheme;
700 }
701 extern "C" {
Gecko_AtomAttrValue( element: RawGeckoElementBorrowed, attribute: *mut nsAtom, ) -> *mut nsAtom702     pub fn Gecko_AtomAttrValue(
703         element: RawGeckoElementBorrowed,
704         attribute: *mut nsAtom,
705     ) -> *mut nsAtom;
706 }
707 extern "C" {
Gecko_LangValue(element: RawGeckoElementBorrowed) -> *mut nsAtom708     pub fn Gecko_LangValue(element: RawGeckoElementBorrowed) -> *mut nsAtom;
709 }
710 extern "C" {
Gecko_HasAttr( element: RawGeckoElementBorrowed, ns: *mut nsAtom, name: *mut nsAtom, ) -> bool711     pub fn Gecko_HasAttr(
712         element: RawGeckoElementBorrowed,
713         ns: *mut nsAtom,
714         name: *mut nsAtom,
715     ) -> bool;
716 }
717 extern "C" {
Gecko_AttrEquals( element: RawGeckoElementBorrowed, ns: *mut nsAtom, name: *mut nsAtom, str: *mut nsAtom, ignoreCase: bool, ) -> bool718     pub fn Gecko_AttrEquals(
719         element: RawGeckoElementBorrowed,
720         ns: *mut nsAtom,
721         name: *mut nsAtom,
722         str: *mut nsAtom,
723         ignoreCase: bool,
724     ) -> bool;
725 }
726 extern "C" {
Gecko_AttrDashEquals( element: RawGeckoElementBorrowed, ns: *mut nsAtom, name: *mut nsAtom, str: *mut nsAtom, ignore_case: bool, ) -> bool727     pub fn Gecko_AttrDashEquals(
728         element: RawGeckoElementBorrowed,
729         ns: *mut nsAtom,
730         name: *mut nsAtom,
731         str: *mut nsAtom,
732         ignore_case: bool,
733     ) -> bool;
734 }
735 extern "C" {
Gecko_AttrIncludes( element: RawGeckoElementBorrowed, ns: *mut nsAtom, name: *mut nsAtom, str: *mut nsAtom, ignore_case: bool, ) -> bool736     pub fn Gecko_AttrIncludes(
737         element: RawGeckoElementBorrowed,
738         ns: *mut nsAtom,
739         name: *mut nsAtom,
740         str: *mut nsAtom,
741         ignore_case: bool,
742     ) -> bool;
743 }
744 extern "C" {
Gecko_AttrHasSubstring( element: RawGeckoElementBorrowed, ns: *mut nsAtom, name: *mut nsAtom, str: *mut nsAtom, ignore_case: bool, ) -> bool745     pub fn Gecko_AttrHasSubstring(
746         element: RawGeckoElementBorrowed,
747         ns: *mut nsAtom,
748         name: *mut nsAtom,
749         str: *mut nsAtom,
750         ignore_case: bool,
751     ) -> bool;
752 }
753 extern "C" {
Gecko_AttrHasPrefix( element: RawGeckoElementBorrowed, ns: *mut nsAtom, name: *mut nsAtom, str: *mut nsAtom, ignore_case: bool, ) -> bool754     pub fn Gecko_AttrHasPrefix(
755         element: RawGeckoElementBorrowed,
756         ns: *mut nsAtom,
757         name: *mut nsAtom,
758         str: *mut nsAtom,
759         ignore_case: bool,
760     ) -> bool;
761 }
762 extern "C" {
Gecko_AttrHasSuffix( element: RawGeckoElementBorrowed, ns: *mut nsAtom, name: *mut nsAtom, str: *mut nsAtom, ignore_case: bool, ) -> bool763     pub fn Gecko_AttrHasSuffix(
764         element: RawGeckoElementBorrowed,
765         ns: *mut nsAtom,
766         name: *mut nsAtom,
767         str: *mut nsAtom,
768         ignore_case: bool,
769     ) -> bool;
770 }
771 extern "C" {
Gecko_ClassOrClassList( element: RawGeckoElementBorrowed, class_: *mut *mut nsAtom, classList: *mut *mut *mut nsAtom, ) -> u32772     pub fn Gecko_ClassOrClassList(
773         element: RawGeckoElementBorrowed,
774         class_: *mut *mut nsAtom,
775         classList: *mut *mut *mut nsAtom,
776     ) -> u32;
777 }
778 extern "C" {
Gecko_HasClass( element: RawGeckoElementBorrowed, class_: *mut nsAtom, ignore_case: bool, ) -> bool779     pub fn Gecko_HasClass(
780         element: RawGeckoElementBorrowed,
781         class_: *mut nsAtom,
782         ignore_case: bool,
783     ) -> bool;
784 }
785 extern "C" {
Gecko_SnapshotAtomAttrValue( element: *const ServoElementSnapshot, attribute: *mut nsAtom, ) -> *mut nsAtom786     pub fn Gecko_SnapshotAtomAttrValue(
787         element: *const ServoElementSnapshot,
788         attribute: *mut nsAtom,
789     ) -> *mut nsAtom;
790 }
791 extern "C" {
Gecko_SnapshotLangValue(element: *const ServoElementSnapshot) -> *mut nsAtom792     pub fn Gecko_SnapshotLangValue(element: *const ServoElementSnapshot) -> *mut nsAtom;
793 }
794 extern "C" {
Gecko_SnapshotHasAttr( element: *const ServoElementSnapshot, ns: *mut nsAtom, name: *mut nsAtom, ) -> bool795     pub fn Gecko_SnapshotHasAttr(
796         element: *const ServoElementSnapshot,
797         ns: *mut nsAtom,
798         name: *mut nsAtom,
799     ) -> bool;
800 }
801 extern "C" {
Gecko_SnapshotAttrEquals( element: *const ServoElementSnapshot, ns: *mut nsAtom, name: *mut nsAtom, str: *mut nsAtom, ignoreCase: bool, ) -> bool802     pub fn Gecko_SnapshotAttrEquals(
803         element: *const ServoElementSnapshot,
804         ns: *mut nsAtom,
805         name: *mut nsAtom,
806         str: *mut nsAtom,
807         ignoreCase: bool,
808     ) -> bool;
809 }
810 extern "C" {
Gecko_SnapshotAttrDashEquals( element: *const ServoElementSnapshot, ns: *mut nsAtom, name: *mut nsAtom, str: *mut nsAtom, ignore_case: bool, ) -> bool811     pub fn Gecko_SnapshotAttrDashEquals(
812         element: *const ServoElementSnapshot,
813         ns: *mut nsAtom,
814         name: *mut nsAtom,
815         str: *mut nsAtom,
816         ignore_case: bool,
817     ) -> bool;
818 }
819 extern "C" {
Gecko_SnapshotAttrIncludes( element: *const ServoElementSnapshot, ns: *mut nsAtom, name: *mut nsAtom, str: *mut nsAtom, ignore_case: bool, ) -> bool820     pub fn Gecko_SnapshotAttrIncludes(
821         element: *const ServoElementSnapshot,
822         ns: *mut nsAtom,
823         name: *mut nsAtom,
824         str: *mut nsAtom,
825         ignore_case: bool,
826     ) -> bool;
827 }
828 extern "C" {
Gecko_SnapshotAttrHasSubstring( element: *const ServoElementSnapshot, ns: *mut nsAtom, name: *mut nsAtom, str: *mut nsAtom, ignore_case: bool, ) -> bool829     pub fn Gecko_SnapshotAttrHasSubstring(
830         element: *const ServoElementSnapshot,
831         ns: *mut nsAtom,
832         name: *mut nsAtom,
833         str: *mut nsAtom,
834         ignore_case: bool,
835     ) -> bool;
836 }
837 extern "C" {
Gecko_SnapshotAttrHasPrefix( element: *const ServoElementSnapshot, ns: *mut nsAtom, name: *mut nsAtom, str: *mut nsAtom, ignore_case: bool, ) -> bool838     pub fn Gecko_SnapshotAttrHasPrefix(
839         element: *const ServoElementSnapshot,
840         ns: *mut nsAtom,
841         name: *mut nsAtom,
842         str: *mut nsAtom,
843         ignore_case: bool,
844     ) -> bool;
845 }
846 extern "C" {
Gecko_SnapshotAttrHasSuffix( element: *const ServoElementSnapshot, ns: *mut nsAtom, name: *mut nsAtom, str: *mut nsAtom, ignore_case: bool, ) -> bool847     pub fn Gecko_SnapshotAttrHasSuffix(
848         element: *const ServoElementSnapshot,
849         ns: *mut nsAtom,
850         name: *mut nsAtom,
851         str: *mut nsAtom,
852         ignore_case: bool,
853     ) -> bool;
854 }
855 extern "C" {
Gecko_SnapshotClassOrClassList( element: *const ServoElementSnapshot, class_: *mut *mut nsAtom, classList: *mut *mut *mut nsAtom, ) -> u32856     pub fn Gecko_SnapshotClassOrClassList(
857         element: *const ServoElementSnapshot,
858         class_: *mut *mut nsAtom,
859         classList: *mut *mut *mut nsAtom,
860     ) -> u32;
861 }
862 extern "C" {
Gecko_SnapshotHasClass( element: *const ServoElementSnapshot, class_: *mut nsAtom, ignore_case: bool, ) -> bool863     pub fn Gecko_SnapshotHasClass(
864         element: *const ServoElementSnapshot,
865         class_: *mut nsAtom,
866         ignore_case: bool,
867     ) -> bool;
868 }
869 extern "C" {
Gecko_GetStyleAttrDeclarationBlock( element: RawGeckoElementBorrowed, ) -> RawServoDeclarationBlockStrongBorrowedOrNull870     pub fn Gecko_GetStyleAttrDeclarationBlock(
871         element: RawGeckoElementBorrowed,
872     ) -> RawServoDeclarationBlockStrongBorrowedOrNull;
873 }
874 extern "C" {
Gecko_UnsetDirtyStyleAttr(element: RawGeckoElementBorrowed)875     pub fn Gecko_UnsetDirtyStyleAttr(element: RawGeckoElementBorrowed);
876 }
877 extern "C" {
Gecko_GetHTMLPresentationAttrDeclarationBlock( element: RawGeckoElementBorrowed, ) -> RawServoDeclarationBlockStrongBorrowedOrNull878     pub fn Gecko_GetHTMLPresentationAttrDeclarationBlock(
879         element: RawGeckoElementBorrowed,
880     ) -> RawServoDeclarationBlockStrongBorrowedOrNull;
881 }
882 extern "C" {
Gecko_GetExtraContentStyleDeclarations( element: RawGeckoElementBorrowed, ) -> RawServoDeclarationBlockStrongBorrowedOrNull883     pub fn Gecko_GetExtraContentStyleDeclarations(
884         element: RawGeckoElementBorrowed,
885     ) -> RawServoDeclarationBlockStrongBorrowedOrNull;
886 }
887 extern "C" {
Gecko_GetUnvisitedLinkAttrDeclarationBlock( element: RawGeckoElementBorrowed, ) -> RawServoDeclarationBlockStrongBorrowedOrNull888     pub fn Gecko_GetUnvisitedLinkAttrDeclarationBlock(
889         element: RawGeckoElementBorrowed,
890     ) -> RawServoDeclarationBlockStrongBorrowedOrNull;
891 }
892 extern "C" {
Gecko_GetVisitedLinkAttrDeclarationBlock( element: RawGeckoElementBorrowed, ) -> RawServoDeclarationBlockStrongBorrowedOrNull893     pub fn Gecko_GetVisitedLinkAttrDeclarationBlock(
894         element: RawGeckoElementBorrowed,
895     ) -> RawServoDeclarationBlockStrongBorrowedOrNull;
896 }
897 extern "C" {
Gecko_GetActiveLinkAttrDeclarationBlock( element: RawGeckoElementBorrowed, ) -> RawServoDeclarationBlockStrongBorrowedOrNull898     pub fn Gecko_GetActiveLinkAttrDeclarationBlock(
899         element: RawGeckoElementBorrowed,
900     ) -> RawServoDeclarationBlockStrongBorrowedOrNull;
901 }
902 extern "C" {
Gecko_IsPrivateBrowsingEnabled(aDoc: *const nsIDocument) -> bool903     pub fn Gecko_IsPrivateBrowsingEnabled(aDoc: *const nsIDocument) -> bool;
904 }
905 extern "C" {
Gecko_GetAnimationRule( aElementOrPseudo: RawGeckoElementBorrowed, aCascadeLevel: EffectCompositor_CascadeLevel, aAnimationValues: RawServoAnimationValueMapBorrowedMut, ) -> bool906     pub fn Gecko_GetAnimationRule(
907         aElementOrPseudo: RawGeckoElementBorrowed,
908         aCascadeLevel: EffectCompositor_CascadeLevel,
909         aAnimationValues: RawServoAnimationValueMapBorrowedMut,
910     ) -> bool;
911 }
912 extern "C" {
Gecko_StyleAnimationsEquals( arg1: RawGeckoStyleAnimationListBorrowed, arg2: RawGeckoStyleAnimationListBorrowed, ) -> bool913     pub fn Gecko_StyleAnimationsEquals(
914         arg1: RawGeckoStyleAnimationListBorrowed,
915         arg2: RawGeckoStyleAnimationListBorrowed,
916     ) -> bool;
917 }
918 extern "C" {
Gecko_CopyAnimationNames( aDest: RawGeckoStyleAnimationListBorrowedMut, aSrc: RawGeckoStyleAnimationListBorrowed, )919     pub fn Gecko_CopyAnimationNames(
920         aDest: RawGeckoStyleAnimationListBorrowedMut,
921         aSrc: RawGeckoStyleAnimationListBorrowed,
922     );
923 }
924 extern "C" {
Gecko_SetAnimationName(aStyleAnimation: *mut StyleAnimation, aAtom: *mut nsAtom)925     pub fn Gecko_SetAnimationName(aStyleAnimation: *mut StyleAnimation, aAtom: *mut nsAtom);
926 }
927 extern "C" {
Gecko_UpdateAnimations( aElementOrPseudo: RawGeckoElementBorrowed, aOldComputedValues: ServoStyleContextBorrowedOrNull, aComputedValues: ServoStyleContextBorrowedOrNull, aTasks: UpdateAnimationsTasks, )928     pub fn Gecko_UpdateAnimations(
929         aElementOrPseudo: RawGeckoElementBorrowed,
930         aOldComputedValues: ServoStyleContextBorrowedOrNull,
931         aComputedValues: ServoStyleContextBorrowedOrNull,
932         aTasks: UpdateAnimationsTasks,
933     );
934 }
935 extern "C" {
Gecko_ElementHasAnimations(aElementOrPseudo: RawGeckoElementBorrowed) -> bool936     pub fn Gecko_ElementHasAnimations(aElementOrPseudo: RawGeckoElementBorrowed) -> bool;
937 }
938 extern "C" {
Gecko_ElementHasCSSAnimations(aElementOrPseudo: RawGeckoElementBorrowed) -> bool939     pub fn Gecko_ElementHasCSSAnimations(aElementOrPseudo: RawGeckoElementBorrowed) -> bool;
940 }
941 extern "C" {
Gecko_ElementHasCSSTransitions(aElementOrPseudo: RawGeckoElementBorrowed) -> bool942     pub fn Gecko_ElementHasCSSTransitions(aElementOrPseudo: RawGeckoElementBorrowed) -> bool;
943 }
944 extern "C" {
Gecko_ElementTransitions_Length(aElementOrPseudo: RawGeckoElementBorrowed) -> usize945     pub fn Gecko_ElementTransitions_Length(aElementOrPseudo: RawGeckoElementBorrowed) -> usize;
946 }
947 extern "C" {
Gecko_ElementTransitions_PropertyAt( aElementOrPseudo: RawGeckoElementBorrowed, aIndex: usize, ) -> nsCSSPropertyID948     pub fn Gecko_ElementTransitions_PropertyAt(
949         aElementOrPseudo: RawGeckoElementBorrowed,
950         aIndex: usize,
951     ) -> nsCSSPropertyID;
952 }
953 extern "C" {
Gecko_ElementTransitions_EndValueAt( aElementOrPseudo: RawGeckoElementBorrowed, aIndex: usize, ) -> RawServoAnimationValueBorrowedOrNull954     pub fn Gecko_ElementTransitions_EndValueAt(
955         aElementOrPseudo: RawGeckoElementBorrowed,
956         aIndex: usize,
957     ) -> RawServoAnimationValueBorrowedOrNull;
958 }
959 extern "C" {
Gecko_GetProgressFromComputedTiming( aComputedTiming: RawGeckoComputedTimingBorrowed, ) -> f64960     pub fn Gecko_GetProgressFromComputedTiming(
961         aComputedTiming: RawGeckoComputedTimingBorrowed,
962     ) -> f64;
963 }
964 extern "C" {
Gecko_GetPositionInSegment( aSegment: RawGeckoAnimationPropertySegmentBorrowed, aProgress: f64, aBeforeFlag: ComputedTimingFunction_BeforeFlag, ) -> f64965     pub fn Gecko_GetPositionInSegment(
966         aSegment: RawGeckoAnimationPropertySegmentBorrowed,
967         aProgress: f64,
968         aBeforeFlag: ComputedTimingFunction_BeforeFlag,
969     ) -> f64;
970 }
971 extern "C" {
Gecko_AnimationGetBaseStyle( aBaseStyles: RawServoAnimationValueTableBorrowed, aProperty: nsCSSPropertyID, ) -> RawServoAnimationValueBorrowedOrNull972     pub fn Gecko_AnimationGetBaseStyle(
973         aBaseStyles: RawServoAnimationValueTableBorrowed,
974         aProperty: nsCSSPropertyID,
975     ) -> RawServoAnimationValueBorrowedOrNull;
976 }
977 extern "C" {
Gecko_StyleTransition_SetUnsupportedProperty( aTransition: *mut StyleTransition, aAtom: *mut nsAtom, )978     pub fn Gecko_StyleTransition_SetUnsupportedProperty(
979         aTransition: *mut StyleTransition,
980         aAtom: *mut nsAtom,
981     );
982 }
983 extern "C" {
Gecko_Atomize(aString: *const ::std::os::raw::c_char, aLength: u32) -> *mut nsAtom984     pub fn Gecko_Atomize(aString: *const ::std::os::raw::c_char, aLength: u32) -> *mut nsAtom;
985 }
986 extern "C" {
Gecko_Atomize16(aString: *const nsAString) -> *mut nsAtom987     pub fn Gecko_Atomize16(aString: *const nsAString) -> *mut nsAtom;
988 }
989 extern "C" {
Gecko_AddRefAtom(aAtom: *mut nsAtom)990     pub fn Gecko_AddRefAtom(aAtom: *mut nsAtom);
991 }
992 extern "C" {
Gecko_ReleaseAtom(aAtom: *mut nsAtom)993     pub fn Gecko_ReleaseAtom(aAtom: *mut nsAtom);
994 }
995 extern "C" {
Gecko_GetAtomAsUTF16(aAtom: *mut nsAtom, aLength: *mut u32) -> *const u16996     pub fn Gecko_GetAtomAsUTF16(aAtom: *mut nsAtom, aLength: *mut u32) -> *const u16;
997 }
998 extern "C" {
Gecko_AtomEqualsUTF8( aAtom: *mut nsAtom, aString: *const ::std::os::raw::c_char, aLength: u32, ) -> bool999     pub fn Gecko_AtomEqualsUTF8(
1000         aAtom: *mut nsAtom,
1001         aString: *const ::std::os::raw::c_char,
1002         aLength: u32,
1003     ) -> bool;
1004 }
1005 extern "C" {
Gecko_AtomEqualsUTF8IgnoreCase( aAtom: *mut nsAtom, aString: *const ::std::os::raw::c_char, aLength: u32, ) -> bool1006     pub fn Gecko_AtomEqualsUTF8IgnoreCase(
1007         aAtom: *mut nsAtom,
1008         aString: *const ::std::os::raw::c_char,
1009         aLength: u32,
1010     ) -> bool;
1011 }
1012 extern "C" {
Gecko_CopyFontFamilyFrom(dst: *mut nsFont, src: *const nsFont)1013     pub fn Gecko_CopyFontFamilyFrom(dst: *mut nsFont, src: *const nsFont);
1014 }
1015 extern "C" {
Gecko_nsTArray_FontFamilyName_AppendNamed( aNames: *mut nsTArray<FontFamilyName>, aName: *mut nsAtom, aQuoted: bool, )1016     pub fn Gecko_nsTArray_FontFamilyName_AppendNamed(
1017         aNames: *mut nsTArray<FontFamilyName>,
1018         aName: *mut nsAtom,
1019         aQuoted: bool,
1020     );
1021 }
1022 extern "C" {
Gecko_nsTArray_FontFamilyName_AppendGeneric( aNames: *mut nsTArray<FontFamilyName>, aType: FontFamilyType, )1023     pub fn Gecko_nsTArray_FontFamilyName_AppendGeneric(
1024         aNames: *mut nsTArray<FontFamilyName>,
1025         aType: FontFamilyType,
1026     );
1027 }
1028 extern "C" {
Gecko_SharedFontList_Create() -> *mut SharedFontList1029     pub fn Gecko_SharedFontList_Create() -> *mut SharedFontList;
1030 }
1031 extern "C" {
Gecko_SharedFontList_SizeOfIncludingThis(fontlist: *mut SharedFontList) -> usize1032     pub fn Gecko_SharedFontList_SizeOfIncludingThis(fontlist: *mut SharedFontList) -> usize;
1033 }
1034 extern "C" {
Gecko_SharedFontList_SizeOfIncludingThisIfUnshared( fontlist: *mut SharedFontList, ) -> usize1035     pub fn Gecko_SharedFontList_SizeOfIncludingThisIfUnshared(
1036         fontlist: *mut SharedFontList,
1037     ) -> usize;
1038 }
1039 extern "C" {
Gecko_AddRefSharedFontListArbitraryThread(aPtr: *mut SharedFontList)1040     pub fn Gecko_AddRefSharedFontListArbitraryThread(aPtr: *mut SharedFontList);
1041 }
1042 extern "C" {
Gecko_ReleaseSharedFontListArbitraryThread(aPtr: *mut SharedFontList)1043     pub fn Gecko_ReleaseSharedFontListArbitraryThread(aPtr: *mut SharedFontList);
1044 }
1045 extern "C" {
Gecko_nsFont_InitSystem( dst: *mut nsFont, font_id: i32, font: *const nsStyleFont, pres_context: RawGeckoPresContextBorrowed, )1046     pub fn Gecko_nsFont_InitSystem(
1047         dst: *mut nsFont,
1048         font_id: i32,
1049         font: *const nsStyleFont,
1050         pres_context: RawGeckoPresContextBorrowed,
1051     );
1052 }
1053 extern "C" {
Gecko_nsFont_Destroy(dst: *mut nsFont)1054     pub fn Gecko_nsFont_Destroy(dst: *mut nsFont);
1055 }
1056 extern "C" {
Gecko_ConstructFontFeatureValueSet() -> *mut gfxFontFeatureValueSet1057     pub fn Gecko_ConstructFontFeatureValueSet() -> *mut gfxFontFeatureValueSet;
1058 }
1059 extern "C" {
Gecko_AppendFeatureValueHashEntry( value_set: *mut gfxFontFeatureValueSet, family: *mut nsAtom, alternate: u32, name: *mut nsAtom, ) -> *mut nsTArray<::std::os::raw::c_uint>1060     pub fn Gecko_AppendFeatureValueHashEntry(
1061         value_set: *mut gfxFontFeatureValueSet,
1062         family: *mut nsAtom,
1063         alternate: u32,
1064         name: *mut nsAtom,
1065     ) -> *mut nsTArray<::std::os::raw::c_uint>;
1066 }
1067 extern "C" {
Gecko_nsFont_SetFontFeatureValuesLookup( font: *mut nsFont, pres_context: *const RawGeckoPresContext, )1068     pub fn Gecko_nsFont_SetFontFeatureValuesLookup(
1069         font: *mut nsFont,
1070         pres_context: *const RawGeckoPresContext,
1071     );
1072 }
1073 extern "C" {
Gecko_nsFont_ResetFontFeatureValuesLookup(font: *mut nsFont)1074     pub fn Gecko_nsFont_ResetFontFeatureValuesLookup(font: *mut nsFont);
1075 }
1076 extern "C" {
Gecko_ClearAlternateValues(font: *mut nsFont, length: usize)1077     pub fn Gecko_ClearAlternateValues(font: *mut nsFont, length: usize);
1078 }
1079 extern "C" {
Gecko_AppendAlternateValues(font: *mut nsFont, alternate_name: u32, atom: *mut nsAtom)1080     pub fn Gecko_AppendAlternateValues(font: *mut nsFont, alternate_name: u32, atom: *mut nsAtom);
1081 }
1082 extern "C" {
Gecko_CopyAlternateValuesFrom(dest: *mut nsFont, src: *const nsFont)1083     pub fn Gecko_CopyAlternateValuesFrom(dest: *mut nsFont, src: *const nsFont);
1084 }
1085 extern "C" {
Gecko_SetImageOrientation( aVisibility: *mut nsStyleVisibility, aOrientation: u8, aFlip: bool, )1086     pub fn Gecko_SetImageOrientation(
1087         aVisibility: *mut nsStyleVisibility,
1088         aOrientation: u8,
1089         aFlip: bool,
1090     );
1091 }
1092 extern "C" {
Gecko_SetImageOrientationAsFromImage(aVisibility: *mut nsStyleVisibility)1093     pub fn Gecko_SetImageOrientationAsFromImage(aVisibility: *mut nsStyleVisibility);
1094 }
1095 extern "C" {
Gecko_CopyImageOrientationFrom( aDst: *mut nsStyleVisibility, aSrc: *const nsStyleVisibility, )1096     pub fn Gecko_CopyImageOrientationFrom(
1097         aDst: *mut nsStyleVisibility,
1098         aSrc: *const nsStyleVisibility,
1099     );
1100 }
1101 extern "C" {
Gecko_SetCounterStyleToName( ptr: *mut CounterStylePtr, name: *mut nsAtom, pres_context: RawGeckoPresContextBorrowed, )1102     pub fn Gecko_SetCounterStyleToName(
1103         ptr: *mut CounterStylePtr,
1104         name: *mut nsAtom,
1105         pres_context: RawGeckoPresContextBorrowed,
1106     );
1107 }
1108 extern "C" {
Gecko_SetCounterStyleToSymbols( ptr: *mut CounterStylePtr, symbols_type: u8, symbols: *const *const nsACString, symbols_count: u32, )1109     pub fn Gecko_SetCounterStyleToSymbols(
1110         ptr: *mut CounterStylePtr,
1111         symbols_type: u8,
1112         symbols: *const *const nsACString,
1113         symbols_count: u32,
1114     );
1115 }
1116 extern "C" {
Gecko_SetCounterStyleToString(ptr: *mut CounterStylePtr, symbol: *const nsACString)1117     pub fn Gecko_SetCounterStyleToString(ptr: *mut CounterStylePtr, symbol: *const nsACString);
1118 }
1119 extern "C" {
Gecko_CopyCounterStyle(dst: *mut CounterStylePtr, src: *const CounterStylePtr)1120     pub fn Gecko_CopyCounterStyle(dst: *mut CounterStylePtr, src: *const CounterStylePtr);
1121 }
1122 extern "C" {
Gecko_CounterStyle_GetName(ptr: *const CounterStylePtr) -> *mut nsAtom1123     pub fn Gecko_CounterStyle_GetName(ptr: *const CounterStylePtr) -> *mut nsAtom;
1124 }
1125 extern "C" {
Gecko_CounterStyle_GetAnonymous( ptr: *const CounterStylePtr, ) -> *const AnonymousCounterStyle1126     pub fn Gecko_CounterStyle_GetAnonymous(
1127         ptr: *const CounterStylePtr,
1128     ) -> *const AnonymousCounterStyle;
1129 }
1130 extern "C" {
Gecko_SetNullImageValue(image: *mut nsStyleImage)1131     pub fn Gecko_SetNullImageValue(image: *mut nsStyleImage);
1132 }
1133 extern "C" {
Gecko_SetGradientImageValue(image: *mut nsStyleImage, gradient: *mut nsStyleGradient)1134     pub fn Gecko_SetGradientImageValue(image: *mut nsStyleImage, gradient: *mut nsStyleGradient);
1135 }
1136 extern "C" {
Gecko_AddRefImageValueArbitraryThread(aPtr: *mut ImageValue)1137     pub fn Gecko_AddRefImageValueArbitraryThread(aPtr: *mut ImageValue);
1138 }
1139 extern "C" {
Gecko_ReleaseImageValueArbitraryThread(aPtr: *mut ImageValue)1140     pub fn Gecko_ReleaseImageValueArbitraryThread(aPtr: *mut ImageValue);
1141 }
1142 extern "C" {
Gecko_ImageValue_Create(aURI: ServoBundledURI) -> *mut ImageValue1143     pub fn Gecko_ImageValue_Create(aURI: ServoBundledURI) -> *mut ImageValue;
1144 }
1145 extern "C" {
Gecko_ImageValue_SizeOfIncludingThis(aImageValue: *mut ImageValue) -> usize1146     pub fn Gecko_ImageValue_SizeOfIncludingThis(aImageValue: *mut ImageValue) -> usize;
1147 }
1148 extern "C" {
Gecko_SetLayerImageImageValue(image: *mut nsStyleImage, aImageValue: *mut ImageValue)1149     pub fn Gecko_SetLayerImageImageValue(image: *mut nsStyleImage, aImageValue: *mut ImageValue);
1150 }
1151 extern "C" {
Gecko_SetImageElement(image: *mut nsStyleImage, atom: *mut nsAtom)1152     pub fn Gecko_SetImageElement(image: *mut nsStyleImage, atom: *mut nsAtom);
1153 }
1154 extern "C" {
Gecko_CopyImageValueFrom(image: *mut nsStyleImage, other: *const nsStyleImage)1155     pub fn Gecko_CopyImageValueFrom(image: *mut nsStyleImage, other: *const nsStyleImage);
1156 }
1157 extern "C" {
Gecko_InitializeImageCropRect(image: *mut nsStyleImage)1158     pub fn Gecko_InitializeImageCropRect(image: *mut nsStyleImage);
1159 }
1160 extern "C" {
Gecko_CreateGradient( shape: u8, size: u8, repeating: bool, legacy_syntax: bool, moz_legacy_syntax: bool, stops: u32, ) -> *mut nsStyleGradient1161     pub fn Gecko_CreateGradient(
1162         shape: u8,
1163         size: u8,
1164         repeating: bool,
1165         legacy_syntax: bool,
1166         moz_legacy_syntax: bool,
1167         stops: u32,
1168     ) -> *mut nsStyleGradient;
1169 }
1170 extern "C" {
Gecko_GetURLValue(image: *const nsStyleImage) -> *const URLValueData1171     pub fn Gecko_GetURLValue(image: *const nsStyleImage) -> *const URLValueData;
1172 }
1173 extern "C" {
Gecko_GetImageElement(image: *const nsStyleImage) -> *mut nsAtom1174     pub fn Gecko_GetImageElement(image: *const nsStyleImage) -> *mut nsAtom;
1175 }
1176 extern "C" {
Gecko_GetGradientImageValue(image: *const nsStyleImage) -> *const nsStyleGradient1177     pub fn Gecko_GetGradientImageValue(image: *const nsStyleImage) -> *const nsStyleGradient;
1178 }
1179 extern "C" {
Gecko_SetListStyleImageNone(style_struct: *mut nsStyleList)1180     pub fn Gecko_SetListStyleImageNone(style_struct: *mut nsStyleList);
1181 }
1182 extern "C" {
Gecko_SetListStyleImageImageValue( style_struct: *mut nsStyleList, aImageValue: *mut ImageValue, )1183     pub fn Gecko_SetListStyleImageImageValue(
1184         style_struct: *mut nsStyleList,
1185         aImageValue: *mut ImageValue,
1186     );
1187 }
1188 extern "C" {
Gecko_CopyListStyleImageFrom(dest: *mut nsStyleList, src: *const nsStyleList)1189     pub fn Gecko_CopyListStyleImageFrom(dest: *mut nsStyleList, src: *const nsStyleList);
1190 }
1191 extern "C" {
Gecko_SetCursorArrayLength(ui: *mut nsStyleUserInterface, len: usize)1192     pub fn Gecko_SetCursorArrayLength(ui: *mut nsStyleUserInterface, len: usize);
1193 }
1194 extern "C" {
Gecko_SetCursorImageValue(aCursor: *mut nsCursorImage, aImageValue: *mut ImageValue)1195     pub fn Gecko_SetCursorImageValue(aCursor: *mut nsCursorImage, aImageValue: *mut ImageValue);
1196 }
1197 extern "C" {
Gecko_CopyCursorArrayFrom( dest: *mut nsStyleUserInterface, src: *const nsStyleUserInterface, )1198     pub fn Gecko_CopyCursorArrayFrom(
1199         dest: *mut nsStyleUserInterface,
1200         src: *const nsStyleUserInterface,
1201     );
1202 }
1203 extern "C" {
Gecko_SetContentDataImageValue( aList: *mut nsStyleContentData, aImageValue: *mut ImageValue, )1204     pub fn Gecko_SetContentDataImageValue(
1205         aList: *mut nsStyleContentData,
1206         aImageValue: *mut ImageValue,
1207     );
1208 }
1209 extern "C" {
Gecko_SetCounterFunction( content_data: *mut nsStyleContentData, type_: nsStyleContentType, ) -> *mut nsStyleContentData_CounterFunction1210     pub fn Gecko_SetCounterFunction(
1211         content_data: *mut nsStyleContentData,
1212         type_: nsStyleContentType,
1213     ) -> *mut nsStyleContentData_CounterFunction;
1214 }
1215 extern "C" {
Gecko_SetNodeFlags(node: RawGeckoNodeBorrowed, flags: u32)1216     pub fn Gecko_SetNodeFlags(node: RawGeckoNodeBorrowed, flags: u32);
1217 }
1218 extern "C" {
Gecko_UnsetNodeFlags(node: RawGeckoNodeBorrowed, flags: u32)1219     pub fn Gecko_UnsetNodeFlags(node: RawGeckoNodeBorrowed, flags: u32);
1220 }
1221 extern "C" {
Gecko_NoteDirtyElement(element: RawGeckoElementBorrowed)1222     pub fn Gecko_NoteDirtyElement(element: RawGeckoElementBorrowed);
1223 }
1224 extern "C" {
Gecko_NoteDirtySubtreeForInvalidation(element: RawGeckoElementBorrowed)1225     pub fn Gecko_NoteDirtySubtreeForInvalidation(element: RawGeckoElementBorrowed);
1226 }
1227 extern "C" {
Gecko_NoteAnimationOnlyDirtyElement(element: RawGeckoElementBorrowed)1228     pub fn Gecko_NoteAnimationOnlyDirtyElement(element: RawGeckoElementBorrowed);
1229 }
1230 extern "C" {
Gecko_AnimationNameMayBeReferencedFromStyle( pres_context: RawGeckoPresContextBorrowed, name: *mut nsAtom, ) -> bool1231     pub fn Gecko_AnimationNameMayBeReferencedFromStyle(
1232         pres_context: RawGeckoPresContextBorrowed,
1233         name: *mut nsAtom,
1234     ) -> bool;
1235 }
1236 extern "C" {
Gecko_GetImplementedPseudo(element: RawGeckoElementBorrowed) -> CSSPseudoElementType1237     pub fn Gecko_GetImplementedPseudo(element: RawGeckoElementBorrowed) -> CSSPseudoElementType;
1238 }
1239 extern "C" {
Gecko_CalcStyleDifference( old_style: ServoStyleContextBorrowed, new_style: ServoStyleContextBorrowed, any_style_changed: *mut bool, reset_only_changed: *mut bool, ) -> u321240     pub fn Gecko_CalcStyleDifference(
1241         old_style: ServoStyleContextBorrowed,
1242         new_style: ServoStyleContextBorrowed,
1243         any_style_changed: *mut bool,
1244         reset_only_changed: *mut bool,
1245     ) -> u32;
1246 }
1247 extern "C" {
Gecko_GetElementSnapshot( table: *const ServoElementSnapshotTable, element: RawGeckoElementBorrowed, ) -> *const ServoElementSnapshot1248     pub fn Gecko_GetElementSnapshot(
1249         table: *const ServoElementSnapshotTable,
1250         element: RawGeckoElementBorrowed,
1251     ) -> *const ServoElementSnapshot;
1252 }
1253 extern "C" {
Gecko_HaveSeenPtr(table: *mut SeenPtrs, ptr: *const ::std::os::raw::c_void) -> bool1254     pub fn Gecko_HaveSeenPtr(table: *mut SeenPtrs, ptr: *const ::std::os::raw::c_void) -> bool;
1255 }
1256 extern "C" {
Gecko_ResizeTArrayForStrings(array: *mut nsTArray<nsStringRepr>, length: u32)1257     pub fn Gecko_ResizeTArrayForStrings(array: *mut nsTArray<nsStringRepr>, length: u32);
1258 }
1259 extern "C" {
Gecko_SetStyleGridTemplate( grid_template: *mut UniquePtr<nsStyleGridTemplate>, value: *mut nsStyleGridTemplate, )1260     pub fn Gecko_SetStyleGridTemplate(
1261         grid_template: *mut UniquePtr<nsStyleGridTemplate>,
1262         value: *mut nsStyleGridTemplate,
1263     );
1264 }
1265 extern "C" {
Gecko_CreateStyleGridTemplate( track_sizes: u32, name_size: u32, ) -> *mut nsStyleGridTemplate1266     pub fn Gecko_CreateStyleGridTemplate(
1267         track_sizes: u32,
1268         name_size: u32,
1269     ) -> *mut nsStyleGridTemplate;
1270 }
1271 extern "C" {
Gecko_CopyStyleGridTemplateValues( grid_template: *mut UniquePtr<nsStyleGridTemplate>, other: *const nsStyleGridTemplate, )1272     pub fn Gecko_CopyStyleGridTemplateValues(
1273         grid_template: *mut UniquePtr<nsStyleGridTemplate>,
1274         other: *const nsStyleGridTemplate,
1275     );
1276 }
1277 extern "C" {
Gecko_NewGridTemplateAreasValue( areas: u32, templates: u32, columns: u32, ) -> *mut GridTemplateAreasValue1278     pub fn Gecko_NewGridTemplateAreasValue(
1279         areas: u32,
1280         templates: u32,
1281         columns: u32,
1282     ) -> *mut GridTemplateAreasValue;
1283 }
1284 extern "C" {
Gecko_AddRefGridTemplateAreasValueArbitraryThread(aPtr: *mut GridTemplateAreasValue)1285     pub fn Gecko_AddRefGridTemplateAreasValueArbitraryThread(aPtr: *mut GridTemplateAreasValue);
1286 }
1287 extern "C" {
Gecko_ReleaseGridTemplateAreasValueArbitraryThread(aPtr: *mut GridTemplateAreasValue)1288     pub fn Gecko_ReleaseGridTemplateAreasValueArbitraryThread(aPtr: *mut GridTemplateAreasValue);
1289 }
1290 extern "C" {
Gecko_ClearAndResizeStyleContents(content: *mut nsStyleContent, how_many: u32)1291     pub fn Gecko_ClearAndResizeStyleContents(content: *mut nsStyleContent, how_many: u32);
1292 }
1293 extern "C" {
Gecko_ClearAndResizeCounterIncrements(content: *mut nsStyleContent, how_many: u32)1294     pub fn Gecko_ClearAndResizeCounterIncrements(content: *mut nsStyleContent, how_many: u32);
1295 }
1296 extern "C" {
Gecko_ClearAndResizeCounterResets(content: *mut nsStyleContent, how_many: u32)1297     pub fn Gecko_ClearAndResizeCounterResets(content: *mut nsStyleContent, how_many: u32);
1298 }
1299 extern "C" {
Gecko_CopyStyleContentsFrom(content: *mut nsStyleContent, other: *const nsStyleContent)1300     pub fn Gecko_CopyStyleContentsFrom(content: *mut nsStyleContent, other: *const nsStyleContent);
1301 }
1302 extern "C" {
Gecko_CopyCounterResetsFrom(content: *mut nsStyleContent, other: *const nsStyleContent)1303     pub fn Gecko_CopyCounterResetsFrom(content: *mut nsStyleContent, other: *const nsStyleContent);
1304 }
1305 extern "C" {
Gecko_CopyCounterIncrementsFrom( content: *mut nsStyleContent, other: *const nsStyleContent, )1306     pub fn Gecko_CopyCounterIncrementsFrom(
1307         content: *mut nsStyleContent,
1308         other: *const nsStyleContent,
1309     );
1310 }
1311 extern "C" {
Gecko_EnsureImageLayersLength( layers: *mut nsStyleImageLayers, len: usize, layer_type: nsStyleImageLayers_LayerType, )1312     pub fn Gecko_EnsureImageLayersLength(
1313         layers: *mut nsStyleImageLayers,
1314         len: usize,
1315         layer_type: nsStyleImageLayers_LayerType,
1316     );
1317 }
1318 extern "C" {
Gecko_EnsureStyleAnimationArrayLength(array: *mut ::std::os::raw::c_void, len: usize)1319     pub fn Gecko_EnsureStyleAnimationArrayLength(array: *mut ::std::os::raw::c_void, len: usize);
1320 }
1321 extern "C" {
Gecko_EnsureStyleTransitionArrayLength(array: *mut ::std::os::raw::c_void, len: usize)1322     pub fn Gecko_EnsureStyleTransitionArrayLength(array: *mut ::std::os::raw::c_void, len: usize);
1323 }
1324 extern "C" {
Gecko_ClearWillChange(display: *mut nsStyleDisplay, length: usize)1325     pub fn Gecko_ClearWillChange(display: *mut nsStyleDisplay, length: usize);
1326 }
1327 extern "C" {
Gecko_AppendWillChange(display: *mut nsStyleDisplay, atom: *mut nsAtom)1328     pub fn Gecko_AppendWillChange(display: *mut nsStyleDisplay, atom: *mut nsAtom);
1329 }
1330 extern "C" {
Gecko_CopyWillChangeFrom(dest: *mut nsStyleDisplay, src: *mut nsStyleDisplay)1331     pub fn Gecko_CopyWillChangeFrom(dest: *mut nsStyleDisplay, src: *mut nsStyleDisplay);
1332 }
1333 extern "C" {
Gecko_GetOrCreateKeyframeAtStart( keyframes: RawGeckoKeyframeListBorrowedMut, offset: f32, timingFunction: *const nsTimingFunction, ) -> *mut Keyframe1334     pub fn Gecko_GetOrCreateKeyframeAtStart(
1335         keyframes: RawGeckoKeyframeListBorrowedMut,
1336         offset: f32,
1337         timingFunction: *const nsTimingFunction,
1338     ) -> *mut Keyframe;
1339 }
1340 extern "C" {
Gecko_GetOrCreateInitialKeyframe( keyframes: RawGeckoKeyframeListBorrowedMut, timingFunction: *const nsTimingFunction, ) -> *mut Keyframe1341     pub fn Gecko_GetOrCreateInitialKeyframe(
1342         keyframes: RawGeckoKeyframeListBorrowedMut,
1343         timingFunction: *const nsTimingFunction,
1344     ) -> *mut Keyframe;
1345 }
1346 extern "C" {
Gecko_GetOrCreateFinalKeyframe( keyframes: RawGeckoKeyframeListBorrowedMut, timingFunction: *const nsTimingFunction, ) -> *mut Keyframe1347     pub fn Gecko_GetOrCreateFinalKeyframe(
1348         keyframes: RawGeckoKeyframeListBorrowedMut,
1349         timingFunction: *const nsTimingFunction,
1350     ) -> *mut Keyframe;
1351 }
1352 extern "C" {
Gecko_AppendPropertyValuePair( aProperties: RawGeckoPropertyValuePairListBorrowedMut, aProperty: nsCSSPropertyID, ) -> *mut PropertyValuePair1353     pub fn Gecko_AppendPropertyValuePair(
1354         aProperties: RawGeckoPropertyValuePairListBorrowedMut,
1355         aProperty: nsCSSPropertyID,
1356     ) -> *mut PropertyValuePair;
1357 }
1358 extern "C" {
Gecko_ResetStyleCoord(unit: *mut nsStyleUnit, value: *mut nsStyleUnion)1359     pub fn Gecko_ResetStyleCoord(unit: *mut nsStyleUnit, value: *mut nsStyleUnion);
1360 }
1361 extern "C" {
Gecko_SetStyleCoordCalcValue( unit: *mut nsStyleUnit, value: *mut nsStyleUnion, calc: nsStyleCoord_CalcValue, )1362     pub fn Gecko_SetStyleCoordCalcValue(
1363         unit: *mut nsStyleUnit,
1364         value: *mut nsStyleUnion,
1365         calc: nsStyleCoord_CalcValue,
1366     );
1367 }
1368 extern "C" {
Gecko_CopyShapeSourceFrom(dst: *mut StyleShapeSource, src: *const StyleShapeSource)1369     pub fn Gecko_CopyShapeSourceFrom(dst: *mut StyleShapeSource, src: *const StyleShapeSource);
1370 }
1371 extern "C" {
Gecko_DestroyShapeSource(shape: *mut StyleShapeSource)1372     pub fn Gecko_DestroyShapeSource(shape: *mut StyleShapeSource);
1373 }
1374 extern "C" {
Gecko_NewBasicShape(shape: *mut StyleShapeSource, type_: StyleBasicShapeType)1375     pub fn Gecko_NewBasicShape(shape: *mut StyleShapeSource, type_: StyleBasicShapeType);
1376 }
1377 extern "C" {
Gecko_NewShapeImage(shape: *mut StyleShapeSource)1378     pub fn Gecko_NewShapeImage(shape: *mut StyleShapeSource);
1379 }
1380 extern "C" {
Gecko_StyleShapeSource_SetURLValue(shape: *mut StyleShapeSource, uri: *mut URLValue)1381     pub fn Gecko_StyleShapeSource_SetURLValue(shape: *mut StyleShapeSource, uri: *mut URLValue);
1382 }
1383 extern "C" {
Gecko_ResetFilters(effects: *mut nsStyleEffects, new_len: usize)1384     pub fn Gecko_ResetFilters(effects: *mut nsStyleEffects, new_len: usize);
1385 }
1386 extern "C" {
Gecko_CopyFiltersFrom(aSrc: *mut nsStyleEffects, aDest: *mut nsStyleEffects)1387     pub fn Gecko_CopyFiltersFrom(aSrc: *mut nsStyleEffects, aDest: *mut nsStyleEffects);
1388 }
1389 extern "C" {
Gecko_nsStyleFilter_SetURLValue(effects: *mut nsStyleFilter, uri: *mut URLValue)1390     pub fn Gecko_nsStyleFilter_SetURLValue(effects: *mut nsStyleFilter, uri: *mut URLValue);
1391 }
1392 extern "C" {
Gecko_nsStyleSVGPaint_CopyFrom(dest: *mut nsStyleSVGPaint, src: *const nsStyleSVGPaint)1393     pub fn Gecko_nsStyleSVGPaint_CopyFrom(dest: *mut nsStyleSVGPaint, src: *const nsStyleSVGPaint);
1394 }
1395 extern "C" {
Gecko_nsStyleSVGPaint_SetURLValue(paint: *mut nsStyleSVGPaint, uri: *mut URLValue)1396     pub fn Gecko_nsStyleSVGPaint_SetURLValue(paint: *mut nsStyleSVGPaint, uri: *mut URLValue);
1397 }
1398 extern "C" {
Gecko_nsStyleSVGPaint_Reset(paint: *mut nsStyleSVGPaint)1399     pub fn Gecko_nsStyleSVGPaint_Reset(paint: *mut nsStyleSVGPaint);
1400 }
1401 extern "C" {
Gecko_nsStyleSVG_SetDashArrayLength(svg: *mut nsStyleSVG, len: u32)1402     pub fn Gecko_nsStyleSVG_SetDashArrayLength(svg: *mut nsStyleSVG, len: u32);
1403 }
1404 extern "C" {
Gecko_nsStyleSVG_CopyDashArray(dst: *mut nsStyleSVG, src: *const nsStyleSVG)1405     pub fn Gecko_nsStyleSVG_CopyDashArray(dst: *mut nsStyleSVG, src: *const nsStyleSVG);
1406 }
1407 extern "C" {
Gecko_nsStyleSVG_SetContextPropertiesLength(svg: *mut nsStyleSVG, len: u32)1408     pub fn Gecko_nsStyleSVG_SetContextPropertiesLength(svg: *mut nsStyleSVG, len: u32);
1409 }
1410 extern "C" {
Gecko_nsStyleSVG_CopyContextProperties(dst: *mut nsStyleSVG, src: *const nsStyleSVG)1411     pub fn Gecko_nsStyleSVG_CopyContextProperties(dst: *mut nsStyleSVG, src: *const nsStyleSVG);
1412 }
1413 extern "C" {
Gecko_NewURLValue(uri: ServoBundledURI) -> *mut URLValue1414     pub fn Gecko_NewURLValue(uri: ServoBundledURI) -> *mut URLValue;
1415 }
1416 extern "C" {
Gecko_URLValue_SizeOfIncludingThis(url: *mut URLValue) -> usize1417     pub fn Gecko_URLValue_SizeOfIncludingThis(url: *mut URLValue) -> usize;
1418 }
1419 extern "C" {
Gecko_AddRefCSSURLValueArbitraryThread(aPtr: *mut URLValue)1420     pub fn Gecko_AddRefCSSURLValueArbitraryThread(aPtr: *mut URLValue);
1421 }
1422 extern "C" {
Gecko_ReleaseCSSURLValueArbitraryThread(aPtr: *mut URLValue)1423     pub fn Gecko_ReleaseCSSURLValueArbitraryThread(aPtr: *mut URLValue);
1424 }
1425 extern "C" {
Gecko_AddRefURLExtraDataArbitraryThread(aPtr: *mut RawGeckoURLExtraData)1426     pub fn Gecko_AddRefURLExtraDataArbitraryThread(aPtr: *mut RawGeckoURLExtraData);
1427 }
1428 extern "C" {
Gecko_ReleaseURLExtraDataArbitraryThread(aPtr: *mut RawGeckoURLExtraData)1429     pub fn Gecko_ReleaseURLExtraDataArbitraryThread(aPtr: *mut RawGeckoURLExtraData);
1430 }
1431 extern "C" {
Gecko_FillAllImageLayers(layers: *mut nsStyleImageLayers, max_len: u32)1432     pub fn Gecko_FillAllImageLayers(layers: *mut nsStyleImageLayers, max_len: u32);
1433 }
1434 extern "C" {
Gecko_AddRefCalcArbitraryThread(aPtr: *mut nsStyleCoord_Calc)1435     pub fn Gecko_AddRefCalcArbitraryThread(aPtr: *mut nsStyleCoord_Calc);
1436 }
1437 extern "C" {
Gecko_ReleaseCalcArbitraryThread(aPtr: *mut nsStyleCoord_Calc)1438     pub fn Gecko_ReleaseCalcArbitraryThread(aPtr: *mut nsStyleCoord_Calc);
1439 }
1440 extern "C" {
Gecko_NewCSSShadowArray(len: u32) -> *mut nsCSSShadowArray1441     pub fn Gecko_NewCSSShadowArray(len: u32) -> *mut nsCSSShadowArray;
1442 }
1443 extern "C" {
Gecko_AddRefCSSShadowArrayArbitraryThread(aPtr: *mut nsCSSShadowArray)1444     pub fn Gecko_AddRefCSSShadowArrayArbitraryThread(aPtr: *mut nsCSSShadowArray);
1445 }
1446 extern "C" {
Gecko_ReleaseCSSShadowArrayArbitraryThread(aPtr: *mut nsCSSShadowArray)1447     pub fn Gecko_ReleaseCSSShadowArrayArbitraryThread(aPtr: *mut nsCSSShadowArray);
1448 }
1449 extern "C" {
Gecko_NewStyleQuoteValues(len: u32) -> *mut nsStyleQuoteValues1450     pub fn Gecko_NewStyleQuoteValues(len: u32) -> *mut nsStyleQuoteValues;
1451 }
1452 extern "C" {
Gecko_AddRefQuoteValuesArbitraryThread(aPtr: *mut nsStyleQuoteValues)1453     pub fn Gecko_AddRefQuoteValuesArbitraryThread(aPtr: *mut nsStyleQuoteValues);
1454 }
1455 extern "C" {
Gecko_ReleaseQuoteValuesArbitraryThread(aPtr: *mut nsStyleQuoteValues)1456     pub fn Gecko_ReleaseQuoteValuesArbitraryThread(aPtr: *mut nsStyleQuoteValues);
1457 }
1458 extern "C" {
Gecko_NewCSSValueSharedList(len: u32) -> *mut nsCSSValueSharedList1459     pub fn Gecko_NewCSSValueSharedList(len: u32) -> *mut nsCSSValueSharedList;
1460 }
1461 extern "C" {
Gecko_NewNoneTransform() -> *mut nsCSSValueSharedList1462     pub fn Gecko_NewNoneTransform() -> *mut nsCSSValueSharedList;
1463 }
1464 extern "C" {
Gecko_CSSValue_GetArrayItem( css_value: nsCSSValueBorrowedMut, index: i32, ) -> nsCSSValueBorrowedMut1465     pub fn Gecko_CSSValue_GetArrayItem(
1466         css_value: nsCSSValueBorrowedMut,
1467         index: i32,
1468     ) -> nsCSSValueBorrowedMut;
1469 }
1470 extern "C" {
Gecko_CSSValue_GetArrayItemConst( css_value: nsCSSValueBorrowed, index: i32, ) -> nsCSSValueBorrowed1471     pub fn Gecko_CSSValue_GetArrayItemConst(
1472         css_value: nsCSSValueBorrowed,
1473         index: i32,
1474     ) -> nsCSSValueBorrowed;
1475 }
1476 extern "C" {
Gecko_CSSValue_GetKeyword(aCSSValue: nsCSSValueBorrowed) -> nsCSSKeyword1477     pub fn Gecko_CSSValue_GetKeyword(aCSSValue: nsCSSValueBorrowed) -> nsCSSKeyword;
1478 }
1479 extern "C" {
Gecko_CSSValue_GetNumber(css_value: nsCSSValueBorrowed) -> f321480     pub fn Gecko_CSSValue_GetNumber(css_value: nsCSSValueBorrowed) -> f32;
1481 }
1482 extern "C" {
Gecko_CSSValue_GetPercentage(css_value: nsCSSValueBorrowed) -> f321483     pub fn Gecko_CSSValue_GetPercentage(css_value: nsCSSValueBorrowed) -> f32;
1484 }
1485 extern "C" {
Gecko_CSSValue_GetCalc(aCSSValue: nsCSSValueBorrowed) -> nsStyleCoord_CalcValue1486     pub fn Gecko_CSSValue_GetCalc(aCSSValue: nsCSSValueBorrowed) -> nsStyleCoord_CalcValue;
1487 }
1488 extern "C" {
Gecko_CSSValue_SetNumber(css_value: nsCSSValueBorrowedMut, number: f32)1489     pub fn Gecko_CSSValue_SetNumber(css_value: nsCSSValueBorrowedMut, number: f32);
1490 }
1491 extern "C" {
Gecko_CSSValue_SetKeyword(css_value: nsCSSValueBorrowedMut, keyword: nsCSSKeyword)1492     pub fn Gecko_CSSValue_SetKeyword(css_value: nsCSSValueBorrowedMut, keyword: nsCSSKeyword);
1493 }
1494 extern "C" {
Gecko_CSSValue_SetPercentage(css_value: nsCSSValueBorrowedMut, percent: f32)1495     pub fn Gecko_CSSValue_SetPercentage(css_value: nsCSSValueBorrowedMut, percent: f32);
1496 }
1497 extern "C" {
Gecko_CSSValue_SetPixelLength(aCSSValue: nsCSSValueBorrowedMut, aLen: f32)1498     pub fn Gecko_CSSValue_SetPixelLength(aCSSValue: nsCSSValueBorrowedMut, aLen: f32);
1499 }
1500 extern "C" {
Gecko_CSSValue_SetCalc(css_value: nsCSSValueBorrowedMut, calc: nsStyleCoord_CalcValue)1501     pub fn Gecko_CSSValue_SetCalc(css_value: nsCSSValueBorrowedMut, calc: nsStyleCoord_CalcValue);
1502 }
1503 extern "C" {
Gecko_CSSValue_SetFunction(css_value: nsCSSValueBorrowedMut, len: i32)1504     pub fn Gecko_CSSValue_SetFunction(css_value: nsCSSValueBorrowedMut, len: i32);
1505 }
1506 extern "C" {
Gecko_CSSValue_SetString( css_value: nsCSSValueBorrowedMut, string: *const u8, len: u32, unit: nsCSSUnit, )1507     pub fn Gecko_CSSValue_SetString(
1508         css_value: nsCSSValueBorrowedMut,
1509         string: *const u8,
1510         len: u32,
1511         unit: nsCSSUnit,
1512     );
1513 }
1514 extern "C" {
Gecko_CSSValue_SetStringFromAtom( css_value: nsCSSValueBorrowedMut, atom: *mut nsAtom, unit: nsCSSUnit, )1515     pub fn Gecko_CSSValue_SetStringFromAtom(
1516         css_value: nsCSSValueBorrowedMut,
1517         atom: *mut nsAtom,
1518         unit: nsCSSUnit,
1519     );
1520 }
1521 extern "C" {
Gecko_CSSValue_SetAtomIdent(css_value: nsCSSValueBorrowedMut, atom: *mut nsAtom)1522     pub fn Gecko_CSSValue_SetAtomIdent(css_value: nsCSSValueBorrowedMut, atom: *mut nsAtom);
1523 }
1524 extern "C" {
Gecko_CSSValue_SetArray(css_value: nsCSSValueBorrowedMut, len: i32)1525     pub fn Gecko_CSSValue_SetArray(css_value: nsCSSValueBorrowedMut, len: i32);
1526 }
1527 extern "C" {
Gecko_CSSValue_SetURL(css_value: nsCSSValueBorrowedMut, uri: *mut URLValue)1528     pub fn Gecko_CSSValue_SetURL(css_value: nsCSSValueBorrowedMut, uri: *mut URLValue);
1529 }
1530 extern "C" {
Gecko_CSSValue_SetInt(css_value: nsCSSValueBorrowedMut, integer: i32, unit: nsCSSUnit)1531     pub fn Gecko_CSSValue_SetInt(css_value: nsCSSValueBorrowedMut, integer: i32, unit: nsCSSUnit);
1532 }
1533 extern "C" {
Gecko_CSSValue_SetFloat(css_value: nsCSSValueBorrowedMut, value: f32, unit: nsCSSUnit)1534     pub fn Gecko_CSSValue_SetFloat(css_value: nsCSSValueBorrowedMut, value: f32, unit: nsCSSUnit);
1535 }
1536 extern "C" {
Gecko_CSSValue_SetPair( css_value: nsCSSValueBorrowedMut, xvalue: nsCSSValueBorrowed, yvalue: nsCSSValueBorrowed, )1537     pub fn Gecko_CSSValue_SetPair(
1538         css_value: nsCSSValueBorrowedMut,
1539         xvalue: nsCSSValueBorrowed,
1540         yvalue: nsCSSValueBorrowed,
1541     );
1542 }
1543 extern "C" {
Gecko_CSSValue_SetList(css_value: nsCSSValueBorrowedMut, len: u32)1544     pub fn Gecko_CSSValue_SetList(css_value: nsCSSValueBorrowedMut, len: u32);
1545 }
1546 extern "C" {
Gecko_CSSValue_SetPairList(css_value: nsCSSValueBorrowedMut, len: u32)1547     pub fn Gecko_CSSValue_SetPairList(css_value: nsCSSValueBorrowedMut, len: u32);
1548 }
1549 extern "C" {
Gecko_CSSValue_InitSharedList(css_value: nsCSSValueBorrowedMut, len: u32)1550     pub fn Gecko_CSSValue_InitSharedList(css_value: nsCSSValueBorrowedMut, len: u32);
1551 }
1552 extern "C" {
Gecko_CSSValue_Drop(css_value: nsCSSValueBorrowedMut)1553     pub fn Gecko_CSSValue_Drop(css_value: nsCSSValueBorrowedMut);
1554 }
1555 extern "C" {
Gecko_AddRefCSSValueSharedListArbitraryThread(aPtr: *mut nsCSSValueSharedList)1556     pub fn Gecko_AddRefCSSValueSharedListArbitraryThread(aPtr: *mut nsCSSValueSharedList);
1557 }
1558 extern "C" {
Gecko_ReleaseCSSValueSharedListArbitraryThread(aPtr: *mut nsCSSValueSharedList)1559     pub fn Gecko_ReleaseCSSValueSharedListArbitraryThread(aPtr: *mut nsCSSValueSharedList);
1560 }
1561 extern "C" {
Gecko_nsStyleFont_SetLang(font: *mut nsStyleFont, atom: *mut nsAtom)1562     pub fn Gecko_nsStyleFont_SetLang(font: *mut nsStyleFont, atom: *mut nsAtom);
1563 }
1564 extern "C" {
Gecko_nsStyleFont_CopyLangFrom(aFont: *mut nsStyleFont, aSource: *const nsStyleFont)1565     pub fn Gecko_nsStyleFont_CopyLangFrom(aFont: *mut nsStyleFont, aSource: *const nsStyleFont);
1566 }
1567 extern "C" {
Gecko_nsStyleFont_FixupNoneGeneric( font: *mut nsStyleFont, pres_context: RawGeckoPresContextBorrowed, )1568     pub fn Gecko_nsStyleFont_FixupNoneGeneric(
1569         font: *mut nsStyleFont,
1570         pres_context: RawGeckoPresContextBorrowed,
1571     );
1572 }
1573 extern "C" {
Gecko_nsStyleFont_PrefillDefaultForGeneric( font: *mut nsStyleFont, pres_context: RawGeckoPresContextBorrowed, generic_id: u8, )1574     pub fn Gecko_nsStyleFont_PrefillDefaultForGeneric(
1575         font: *mut nsStyleFont,
1576         pres_context: RawGeckoPresContextBorrowed,
1577         generic_id: u8,
1578     );
1579 }
1580 extern "C" {
Gecko_nsStyleFont_FixupMinFontSize( font: *mut nsStyleFont, pres_context: RawGeckoPresContextBorrowed, )1581     pub fn Gecko_nsStyleFont_FixupMinFontSize(
1582         font: *mut nsStyleFont,
1583         pres_context: RawGeckoPresContextBorrowed,
1584     );
1585 }
1586 extern "C" {
Gecko_GetBaseSize(lang: *mut nsAtom) -> FontSizePrefs1587     pub fn Gecko_GetBaseSize(lang: *mut nsAtom) -> FontSizePrefs;
1588 }
1589 extern "C" {
Gecko_GetBindingParent( aElement: RawGeckoElementBorrowed, ) -> RawGeckoElementBorrowedOrNull1590     pub fn Gecko_GetBindingParent(
1591         aElement: RawGeckoElementBorrowed,
1592     ) -> RawGeckoElementBorrowedOrNull;
1593 }
1594 extern "C" {
Gecko_GetXBLBinding( aElement: RawGeckoElementBorrowed, ) -> RawGeckoXBLBindingBorrowedOrNull1595     pub fn Gecko_GetXBLBinding(
1596         aElement: RawGeckoElementBorrowed,
1597     ) -> RawGeckoXBLBindingBorrowedOrNull;
1598 }
1599 extern "C" {
Gecko_XBLBinding_GetRawServoStyles( aXBLBinding: RawGeckoXBLBindingBorrowed, ) -> RawServoAuthorStylesBorrowedOrNull1600     pub fn Gecko_XBLBinding_GetRawServoStyles(
1601         aXBLBinding: RawGeckoXBLBindingBorrowed,
1602     ) -> RawServoAuthorStylesBorrowedOrNull;
1603 }
1604 extern "C" {
Gecko_XBLBinding_InheritsStyle(aXBLBinding: RawGeckoXBLBindingBorrowed) -> bool1605     pub fn Gecko_XBLBinding_InheritsStyle(aXBLBinding: RawGeckoXBLBindingBorrowed) -> bool;
1606 }
1607 extern "C" {
Gecko_GetFontMetrics( pres_context: RawGeckoPresContextBorrowed, is_vertical: bool, font: *const nsStyleFont, font_size: nscoord, use_user_font_set: bool, ) -> GeckoFontMetrics1608     pub fn Gecko_GetFontMetrics(
1609         pres_context: RawGeckoPresContextBorrowed,
1610         is_vertical: bool,
1611         font: *const nsStyleFont,
1612         font_size: nscoord,
1613         use_user_font_set: bool,
1614     ) -> GeckoFontMetrics;
1615 }
1616 extern "C" {
Gecko_GetAppUnitsPerPhysicalInch(pres_context: RawGeckoPresContextBorrowed) -> i321617     pub fn Gecko_GetAppUnitsPerPhysicalInch(pres_context: RawGeckoPresContextBorrowed) -> i32;
1618 }
1619 extern "C" {
Gecko_StyleSheet_Clone( aSheet: *const ServoStyleSheet, aNewParentSheet: *const ServoStyleSheet, ) -> *mut ServoStyleSheet1620     pub fn Gecko_StyleSheet_Clone(
1621         aSheet: *const ServoStyleSheet,
1622         aNewParentSheet: *const ServoStyleSheet,
1623     ) -> *mut ServoStyleSheet;
1624 }
1625 extern "C" {
Gecko_StyleSheet_AddRef(aSheet: *const ServoStyleSheet)1626     pub fn Gecko_StyleSheet_AddRef(aSheet: *const ServoStyleSheet);
1627 }
1628 extern "C" {
Gecko_StyleSheet_Release(aSheet: *const ServoStyleSheet)1629     pub fn Gecko_StyleSheet_Release(aSheet: *const ServoStyleSheet);
1630 }
1631 extern "C" {
Gecko_LookupCSSKeyword(string: *const u8, len: u32) -> nsCSSKeyword1632     pub fn Gecko_LookupCSSKeyword(string: *const u8, len: u32) -> nsCSSKeyword;
1633 }
1634 extern "C" {
Gecko_CSSKeywordString( keyword: nsCSSKeyword, len: *mut u32, ) -> *const ::std::os::raw::c_char1635     pub fn Gecko_CSSKeywordString(
1636         keyword: nsCSSKeyword,
1637         len: *mut u32,
1638     ) -> *const ::std::os::raw::c_char;
1639 }
1640 extern "C" {
Gecko_CSSFontFaceRule_Create(line: u32, column: u32) -> *mut nsCSSFontFaceRule1641     pub fn Gecko_CSSFontFaceRule_Create(line: u32, column: u32) -> *mut nsCSSFontFaceRule;
1642 }
1643 extern "C" {
Gecko_CSSFontFaceRule_Clone(rule: *const nsCSSFontFaceRule) -> *mut nsCSSFontFaceRule1644     pub fn Gecko_CSSFontFaceRule_Clone(rule: *const nsCSSFontFaceRule) -> *mut nsCSSFontFaceRule;
1645 }
1646 extern "C" {
Gecko_CSSFontFaceRule_GetCssText(rule: *const nsCSSFontFaceRule, result: *mut nsAString)1647     pub fn Gecko_CSSFontFaceRule_GetCssText(rule: *const nsCSSFontFaceRule, result: *mut nsAString);
1648 }
1649 extern "C" {
Gecko_CSSFontFaceRule_AddRef(aPtr: *mut nsCSSFontFaceRule)1650     pub fn Gecko_CSSFontFaceRule_AddRef(aPtr: *mut nsCSSFontFaceRule);
1651 }
1652 extern "C" {
Gecko_CSSFontFaceRule_Release(aPtr: *mut nsCSSFontFaceRule)1653     pub fn Gecko_CSSFontFaceRule_Release(aPtr: *mut nsCSSFontFaceRule);
1654 }
1655 extern "C" {
Gecko_CSSCounterStyle_Create(name: *mut nsAtom) -> *mut nsCSSCounterStyleRule1656     pub fn Gecko_CSSCounterStyle_Create(name: *mut nsAtom) -> *mut nsCSSCounterStyleRule;
1657 }
1658 extern "C" {
Gecko_CSSCounterStyle_Clone( rule: *const nsCSSCounterStyleRule, ) -> *mut nsCSSCounterStyleRule1659     pub fn Gecko_CSSCounterStyle_Clone(
1660         rule: *const nsCSSCounterStyleRule,
1661     ) -> *mut nsCSSCounterStyleRule;
1662 }
1663 extern "C" {
Gecko_CSSCounterStyle_GetCssText( rule: *const nsCSSCounterStyleRule, result: *mut nsAString, )1664     pub fn Gecko_CSSCounterStyle_GetCssText(
1665         rule: *const nsCSSCounterStyleRule,
1666         result: *mut nsAString,
1667     );
1668 }
1669 extern "C" {
Gecko_CSSCounterStyleRule_AddRef(aPtr: *mut nsCSSCounterStyleRule)1670     pub fn Gecko_CSSCounterStyleRule_AddRef(aPtr: *mut nsCSSCounterStyleRule);
1671 }
1672 extern "C" {
Gecko_CSSCounterStyleRule_Release(aPtr: *mut nsCSSCounterStyleRule)1673     pub fn Gecko_CSSCounterStyleRule_Release(aPtr: *mut nsCSSCounterStyleRule);
1674 }
1675 extern "C" {
Gecko_IsDocumentBody(element: RawGeckoElementBorrowed) -> bool1676     pub fn Gecko_IsDocumentBody(element: RawGeckoElementBorrowed) -> bool;
1677 }
1678 extern "C" {
Gecko_GetLookAndFeelSystemColor( color_id: i32, pres_context: RawGeckoPresContextBorrowed, ) -> nscolor1679     pub fn Gecko_GetLookAndFeelSystemColor(
1680         color_id: i32,
1681         pres_context: RawGeckoPresContextBorrowed,
1682     ) -> nscolor;
1683 }
1684 extern "C" {
Gecko_AddPropertyToSet(arg1: nsCSSPropertyIDSetBorrowedMut, arg2: nsCSSPropertyID)1685     pub fn Gecko_AddPropertyToSet(arg1: nsCSSPropertyIDSetBorrowedMut, arg2: nsCSSPropertyID);
1686 }
1687 extern "C" {
Gecko_RegisterNamespace(ns: *mut nsAtom) -> i321688     pub fn Gecko_RegisterNamespace(ns: *mut nsAtom) -> i32;
1689 }
1690 extern "C" {
Gecko_Construct_Default_nsStyleFont( ptr: *mut nsStyleFont, pres_context: RawGeckoPresContextBorrowed, )1691     pub fn Gecko_Construct_Default_nsStyleFont(
1692         ptr: *mut nsStyleFont,
1693         pres_context: RawGeckoPresContextBorrowed,
1694     );
1695 }
1696 extern "C" {
Gecko_CopyConstruct_nsStyleFont(ptr: *mut nsStyleFont, other: *const nsStyleFont)1697     pub fn Gecko_CopyConstruct_nsStyleFont(ptr: *mut nsStyleFont, other: *const nsStyleFont);
1698 }
1699 extern "C" {
Gecko_Destroy_nsStyleFont(ptr: *mut nsStyleFont)1700     pub fn Gecko_Destroy_nsStyleFont(ptr: *mut nsStyleFont);
1701 }
1702 extern "C" {
Gecko_Construct_Default_nsStyleColor( ptr: *mut nsStyleColor, pres_context: RawGeckoPresContextBorrowed, )1703     pub fn Gecko_Construct_Default_nsStyleColor(
1704         ptr: *mut nsStyleColor,
1705         pres_context: RawGeckoPresContextBorrowed,
1706     );
1707 }
1708 extern "C" {
Gecko_CopyConstruct_nsStyleColor(ptr: *mut nsStyleColor, other: *const nsStyleColor)1709     pub fn Gecko_CopyConstruct_nsStyleColor(ptr: *mut nsStyleColor, other: *const nsStyleColor);
1710 }
1711 extern "C" {
Gecko_Destroy_nsStyleColor(ptr: *mut nsStyleColor)1712     pub fn Gecko_Destroy_nsStyleColor(ptr: *mut nsStyleColor);
1713 }
1714 extern "C" {
Gecko_Construct_Default_nsStyleList( ptr: *mut nsStyleList, pres_context: RawGeckoPresContextBorrowed, )1715     pub fn Gecko_Construct_Default_nsStyleList(
1716         ptr: *mut nsStyleList,
1717         pres_context: RawGeckoPresContextBorrowed,
1718     );
1719 }
1720 extern "C" {
Gecko_CopyConstruct_nsStyleList(ptr: *mut nsStyleList, other: *const nsStyleList)1721     pub fn Gecko_CopyConstruct_nsStyleList(ptr: *mut nsStyleList, other: *const nsStyleList);
1722 }
1723 extern "C" {
Gecko_Destroy_nsStyleList(ptr: *mut nsStyleList)1724     pub fn Gecko_Destroy_nsStyleList(ptr: *mut nsStyleList);
1725 }
1726 extern "C" {
Gecko_Construct_Default_nsStyleText( ptr: *mut nsStyleText, pres_context: RawGeckoPresContextBorrowed, )1727     pub fn Gecko_Construct_Default_nsStyleText(
1728         ptr: *mut nsStyleText,
1729         pres_context: RawGeckoPresContextBorrowed,
1730     );
1731 }
1732 extern "C" {
Gecko_CopyConstruct_nsStyleText(ptr: *mut nsStyleText, other: *const nsStyleText)1733     pub fn Gecko_CopyConstruct_nsStyleText(ptr: *mut nsStyleText, other: *const nsStyleText);
1734 }
1735 extern "C" {
Gecko_Destroy_nsStyleText(ptr: *mut nsStyleText)1736     pub fn Gecko_Destroy_nsStyleText(ptr: *mut nsStyleText);
1737 }
1738 extern "C" {
Gecko_Construct_Default_nsStyleVisibility( ptr: *mut nsStyleVisibility, pres_context: RawGeckoPresContextBorrowed, )1739     pub fn Gecko_Construct_Default_nsStyleVisibility(
1740         ptr: *mut nsStyleVisibility,
1741         pres_context: RawGeckoPresContextBorrowed,
1742     );
1743 }
1744 extern "C" {
Gecko_CopyConstruct_nsStyleVisibility( ptr: *mut nsStyleVisibility, other: *const nsStyleVisibility, )1745     pub fn Gecko_CopyConstruct_nsStyleVisibility(
1746         ptr: *mut nsStyleVisibility,
1747         other: *const nsStyleVisibility,
1748     );
1749 }
1750 extern "C" {
Gecko_Destroy_nsStyleVisibility(ptr: *mut nsStyleVisibility)1751     pub fn Gecko_Destroy_nsStyleVisibility(ptr: *mut nsStyleVisibility);
1752 }
1753 extern "C" {
Gecko_Construct_Default_nsStyleUserInterface( ptr: *mut nsStyleUserInterface, pres_context: RawGeckoPresContextBorrowed, )1754     pub fn Gecko_Construct_Default_nsStyleUserInterface(
1755         ptr: *mut nsStyleUserInterface,
1756         pres_context: RawGeckoPresContextBorrowed,
1757     );
1758 }
1759 extern "C" {
Gecko_CopyConstruct_nsStyleUserInterface( ptr: *mut nsStyleUserInterface, other: *const nsStyleUserInterface, )1760     pub fn Gecko_CopyConstruct_nsStyleUserInterface(
1761         ptr: *mut nsStyleUserInterface,
1762         other: *const nsStyleUserInterface,
1763     );
1764 }
1765 extern "C" {
Gecko_Destroy_nsStyleUserInterface(ptr: *mut nsStyleUserInterface)1766     pub fn Gecko_Destroy_nsStyleUserInterface(ptr: *mut nsStyleUserInterface);
1767 }
1768 extern "C" {
Gecko_Construct_Default_nsStyleTableBorder( ptr: *mut nsStyleTableBorder, pres_context: RawGeckoPresContextBorrowed, )1769     pub fn Gecko_Construct_Default_nsStyleTableBorder(
1770         ptr: *mut nsStyleTableBorder,
1771         pres_context: RawGeckoPresContextBorrowed,
1772     );
1773 }
1774 extern "C" {
Gecko_CopyConstruct_nsStyleTableBorder( ptr: *mut nsStyleTableBorder, other: *const nsStyleTableBorder, )1775     pub fn Gecko_CopyConstruct_nsStyleTableBorder(
1776         ptr: *mut nsStyleTableBorder,
1777         other: *const nsStyleTableBorder,
1778     );
1779 }
1780 extern "C" {
Gecko_Destroy_nsStyleTableBorder(ptr: *mut nsStyleTableBorder)1781     pub fn Gecko_Destroy_nsStyleTableBorder(ptr: *mut nsStyleTableBorder);
1782 }
1783 extern "C" {
Gecko_Construct_Default_nsStyleSVG( ptr: *mut nsStyleSVG, pres_context: RawGeckoPresContextBorrowed, )1784     pub fn Gecko_Construct_Default_nsStyleSVG(
1785         ptr: *mut nsStyleSVG,
1786         pres_context: RawGeckoPresContextBorrowed,
1787     );
1788 }
1789 extern "C" {
Gecko_CopyConstruct_nsStyleSVG(ptr: *mut nsStyleSVG, other: *const nsStyleSVG)1790     pub fn Gecko_CopyConstruct_nsStyleSVG(ptr: *mut nsStyleSVG, other: *const nsStyleSVG);
1791 }
1792 extern "C" {
Gecko_Destroy_nsStyleSVG(ptr: *mut nsStyleSVG)1793     pub fn Gecko_Destroy_nsStyleSVG(ptr: *mut nsStyleSVG);
1794 }
1795 extern "C" {
Gecko_Construct_Default_nsStyleVariables( ptr: *mut nsStyleVariables, pres_context: RawGeckoPresContextBorrowed, )1796     pub fn Gecko_Construct_Default_nsStyleVariables(
1797         ptr: *mut nsStyleVariables,
1798         pres_context: RawGeckoPresContextBorrowed,
1799     );
1800 }
1801 extern "C" {
Gecko_CopyConstruct_nsStyleVariables( ptr: *mut nsStyleVariables, other: *const nsStyleVariables, )1802     pub fn Gecko_CopyConstruct_nsStyleVariables(
1803         ptr: *mut nsStyleVariables,
1804         other: *const nsStyleVariables,
1805     );
1806 }
1807 extern "C" {
Gecko_Destroy_nsStyleVariables(ptr: *mut nsStyleVariables)1808     pub fn Gecko_Destroy_nsStyleVariables(ptr: *mut nsStyleVariables);
1809 }
1810 extern "C" {
Gecko_Construct_Default_nsStyleBackground( ptr: *mut nsStyleBackground, pres_context: RawGeckoPresContextBorrowed, )1811     pub fn Gecko_Construct_Default_nsStyleBackground(
1812         ptr: *mut nsStyleBackground,
1813         pres_context: RawGeckoPresContextBorrowed,
1814     );
1815 }
1816 extern "C" {
Gecko_CopyConstruct_nsStyleBackground( ptr: *mut nsStyleBackground, other: *const nsStyleBackground, )1817     pub fn Gecko_CopyConstruct_nsStyleBackground(
1818         ptr: *mut nsStyleBackground,
1819         other: *const nsStyleBackground,
1820     );
1821 }
1822 extern "C" {
Gecko_Destroy_nsStyleBackground(ptr: *mut nsStyleBackground)1823     pub fn Gecko_Destroy_nsStyleBackground(ptr: *mut nsStyleBackground);
1824 }
1825 extern "C" {
Gecko_Construct_Default_nsStylePosition( ptr: *mut nsStylePosition, pres_context: RawGeckoPresContextBorrowed, )1826     pub fn Gecko_Construct_Default_nsStylePosition(
1827         ptr: *mut nsStylePosition,
1828         pres_context: RawGeckoPresContextBorrowed,
1829     );
1830 }
1831 extern "C" {
Gecko_CopyConstruct_nsStylePosition( ptr: *mut nsStylePosition, other: *const nsStylePosition, )1832     pub fn Gecko_CopyConstruct_nsStylePosition(
1833         ptr: *mut nsStylePosition,
1834         other: *const nsStylePosition,
1835     );
1836 }
1837 extern "C" {
Gecko_Destroy_nsStylePosition(ptr: *mut nsStylePosition)1838     pub fn Gecko_Destroy_nsStylePosition(ptr: *mut nsStylePosition);
1839 }
1840 extern "C" {
Gecko_Construct_Default_nsStyleTextReset( ptr: *mut nsStyleTextReset, pres_context: RawGeckoPresContextBorrowed, )1841     pub fn Gecko_Construct_Default_nsStyleTextReset(
1842         ptr: *mut nsStyleTextReset,
1843         pres_context: RawGeckoPresContextBorrowed,
1844     );
1845 }
1846 extern "C" {
Gecko_CopyConstruct_nsStyleTextReset( ptr: *mut nsStyleTextReset, other: *const nsStyleTextReset, )1847     pub fn Gecko_CopyConstruct_nsStyleTextReset(
1848         ptr: *mut nsStyleTextReset,
1849         other: *const nsStyleTextReset,
1850     );
1851 }
1852 extern "C" {
Gecko_Destroy_nsStyleTextReset(ptr: *mut nsStyleTextReset)1853     pub fn Gecko_Destroy_nsStyleTextReset(ptr: *mut nsStyleTextReset);
1854 }
1855 extern "C" {
Gecko_Construct_Default_nsStyleDisplay( ptr: *mut nsStyleDisplay, pres_context: RawGeckoPresContextBorrowed, )1856     pub fn Gecko_Construct_Default_nsStyleDisplay(
1857         ptr: *mut nsStyleDisplay,
1858         pres_context: RawGeckoPresContextBorrowed,
1859     );
1860 }
1861 extern "C" {
Gecko_CopyConstruct_nsStyleDisplay( ptr: *mut nsStyleDisplay, other: *const nsStyleDisplay, )1862     pub fn Gecko_CopyConstruct_nsStyleDisplay(
1863         ptr: *mut nsStyleDisplay,
1864         other: *const nsStyleDisplay,
1865     );
1866 }
1867 extern "C" {
Gecko_Destroy_nsStyleDisplay(ptr: *mut nsStyleDisplay)1868     pub fn Gecko_Destroy_nsStyleDisplay(ptr: *mut nsStyleDisplay);
1869 }
1870 extern "C" {
Gecko_Construct_Default_nsStyleContent( ptr: *mut nsStyleContent, pres_context: RawGeckoPresContextBorrowed, )1871     pub fn Gecko_Construct_Default_nsStyleContent(
1872         ptr: *mut nsStyleContent,
1873         pres_context: RawGeckoPresContextBorrowed,
1874     );
1875 }
1876 extern "C" {
Gecko_CopyConstruct_nsStyleContent( ptr: *mut nsStyleContent, other: *const nsStyleContent, )1877     pub fn Gecko_CopyConstruct_nsStyleContent(
1878         ptr: *mut nsStyleContent,
1879         other: *const nsStyleContent,
1880     );
1881 }
1882 extern "C" {
Gecko_Destroy_nsStyleContent(ptr: *mut nsStyleContent)1883     pub fn Gecko_Destroy_nsStyleContent(ptr: *mut nsStyleContent);
1884 }
1885 extern "C" {
Gecko_Construct_Default_nsStyleUIReset( ptr: *mut nsStyleUIReset, pres_context: RawGeckoPresContextBorrowed, )1886     pub fn Gecko_Construct_Default_nsStyleUIReset(
1887         ptr: *mut nsStyleUIReset,
1888         pres_context: RawGeckoPresContextBorrowed,
1889     );
1890 }
1891 extern "C" {
Gecko_CopyConstruct_nsStyleUIReset( ptr: *mut nsStyleUIReset, other: *const nsStyleUIReset, )1892     pub fn Gecko_CopyConstruct_nsStyleUIReset(
1893         ptr: *mut nsStyleUIReset,
1894         other: *const nsStyleUIReset,
1895     );
1896 }
1897 extern "C" {
Gecko_Destroy_nsStyleUIReset(ptr: *mut nsStyleUIReset)1898     pub fn Gecko_Destroy_nsStyleUIReset(ptr: *mut nsStyleUIReset);
1899 }
1900 extern "C" {
Gecko_Construct_Default_nsStyleTable( ptr: *mut nsStyleTable, pres_context: RawGeckoPresContextBorrowed, )1901     pub fn Gecko_Construct_Default_nsStyleTable(
1902         ptr: *mut nsStyleTable,
1903         pres_context: RawGeckoPresContextBorrowed,
1904     );
1905 }
1906 extern "C" {
Gecko_CopyConstruct_nsStyleTable(ptr: *mut nsStyleTable, other: *const nsStyleTable)1907     pub fn Gecko_CopyConstruct_nsStyleTable(ptr: *mut nsStyleTable, other: *const nsStyleTable);
1908 }
1909 extern "C" {
Gecko_Destroy_nsStyleTable(ptr: *mut nsStyleTable)1910     pub fn Gecko_Destroy_nsStyleTable(ptr: *mut nsStyleTable);
1911 }
1912 extern "C" {
Gecko_Construct_Default_nsStyleMargin( ptr: *mut nsStyleMargin, pres_context: RawGeckoPresContextBorrowed, )1913     pub fn Gecko_Construct_Default_nsStyleMargin(
1914         ptr: *mut nsStyleMargin,
1915         pres_context: RawGeckoPresContextBorrowed,
1916     );
1917 }
1918 extern "C" {
Gecko_CopyConstruct_nsStyleMargin(ptr: *mut nsStyleMargin, other: *const nsStyleMargin)1919     pub fn Gecko_CopyConstruct_nsStyleMargin(ptr: *mut nsStyleMargin, other: *const nsStyleMargin);
1920 }
1921 extern "C" {
Gecko_Destroy_nsStyleMargin(ptr: *mut nsStyleMargin)1922     pub fn Gecko_Destroy_nsStyleMargin(ptr: *mut nsStyleMargin);
1923 }
1924 extern "C" {
Gecko_Construct_Default_nsStylePadding( ptr: *mut nsStylePadding, pres_context: RawGeckoPresContextBorrowed, )1925     pub fn Gecko_Construct_Default_nsStylePadding(
1926         ptr: *mut nsStylePadding,
1927         pres_context: RawGeckoPresContextBorrowed,
1928     );
1929 }
1930 extern "C" {
Gecko_CopyConstruct_nsStylePadding( ptr: *mut nsStylePadding, other: *const nsStylePadding, )1931     pub fn Gecko_CopyConstruct_nsStylePadding(
1932         ptr: *mut nsStylePadding,
1933         other: *const nsStylePadding,
1934     );
1935 }
1936 extern "C" {
Gecko_Destroy_nsStylePadding(ptr: *mut nsStylePadding)1937     pub fn Gecko_Destroy_nsStylePadding(ptr: *mut nsStylePadding);
1938 }
1939 extern "C" {
Gecko_Construct_Default_nsStyleBorder( ptr: *mut nsStyleBorder, pres_context: RawGeckoPresContextBorrowed, )1940     pub fn Gecko_Construct_Default_nsStyleBorder(
1941         ptr: *mut nsStyleBorder,
1942         pres_context: RawGeckoPresContextBorrowed,
1943     );
1944 }
1945 extern "C" {
Gecko_CopyConstruct_nsStyleBorder(ptr: *mut nsStyleBorder, other: *const nsStyleBorder)1946     pub fn Gecko_CopyConstruct_nsStyleBorder(ptr: *mut nsStyleBorder, other: *const nsStyleBorder);
1947 }
1948 extern "C" {
Gecko_Destroy_nsStyleBorder(ptr: *mut nsStyleBorder)1949     pub fn Gecko_Destroy_nsStyleBorder(ptr: *mut nsStyleBorder);
1950 }
1951 extern "C" {
Gecko_Construct_Default_nsStyleOutline( ptr: *mut nsStyleOutline, pres_context: RawGeckoPresContextBorrowed, )1952     pub fn Gecko_Construct_Default_nsStyleOutline(
1953         ptr: *mut nsStyleOutline,
1954         pres_context: RawGeckoPresContextBorrowed,
1955     );
1956 }
1957 extern "C" {
Gecko_CopyConstruct_nsStyleOutline( ptr: *mut nsStyleOutline, other: *const nsStyleOutline, )1958     pub fn Gecko_CopyConstruct_nsStyleOutline(
1959         ptr: *mut nsStyleOutline,
1960         other: *const nsStyleOutline,
1961     );
1962 }
1963 extern "C" {
Gecko_Destroy_nsStyleOutline(ptr: *mut nsStyleOutline)1964     pub fn Gecko_Destroy_nsStyleOutline(ptr: *mut nsStyleOutline);
1965 }
1966 extern "C" {
Gecko_Construct_Default_nsStyleXUL( ptr: *mut nsStyleXUL, pres_context: RawGeckoPresContextBorrowed, )1967     pub fn Gecko_Construct_Default_nsStyleXUL(
1968         ptr: *mut nsStyleXUL,
1969         pres_context: RawGeckoPresContextBorrowed,
1970     );
1971 }
1972 extern "C" {
Gecko_CopyConstruct_nsStyleXUL(ptr: *mut nsStyleXUL, other: *const nsStyleXUL)1973     pub fn Gecko_CopyConstruct_nsStyleXUL(ptr: *mut nsStyleXUL, other: *const nsStyleXUL);
1974 }
1975 extern "C" {
Gecko_Destroy_nsStyleXUL(ptr: *mut nsStyleXUL)1976     pub fn Gecko_Destroy_nsStyleXUL(ptr: *mut nsStyleXUL);
1977 }
1978 extern "C" {
Gecko_Construct_Default_nsStyleSVGReset( ptr: *mut nsStyleSVGReset, pres_context: RawGeckoPresContextBorrowed, )1979     pub fn Gecko_Construct_Default_nsStyleSVGReset(
1980         ptr: *mut nsStyleSVGReset,
1981         pres_context: RawGeckoPresContextBorrowed,
1982     );
1983 }
1984 extern "C" {
Gecko_CopyConstruct_nsStyleSVGReset( ptr: *mut nsStyleSVGReset, other: *const nsStyleSVGReset, )1985     pub fn Gecko_CopyConstruct_nsStyleSVGReset(
1986         ptr: *mut nsStyleSVGReset,
1987         other: *const nsStyleSVGReset,
1988     );
1989 }
1990 extern "C" {
Gecko_Destroy_nsStyleSVGReset(ptr: *mut nsStyleSVGReset)1991     pub fn Gecko_Destroy_nsStyleSVGReset(ptr: *mut nsStyleSVGReset);
1992 }
1993 extern "C" {
Gecko_Construct_Default_nsStyleColumn( ptr: *mut nsStyleColumn, pres_context: RawGeckoPresContextBorrowed, )1994     pub fn Gecko_Construct_Default_nsStyleColumn(
1995         ptr: *mut nsStyleColumn,
1996         pres_context: RawGeckoPresContextBorrowed,
1997     );
1998 }
1999 extern "C" {
Gecko_CopyConstruct_nsStyleColumn(ptr: *mut nsStyleColumn, other: *const nsStyleColumn)2000     pub fn Gecko_CopyConstruct_nsStyleColumn(ptr: *mut nsStyleColumn, other: *const nsStyleColumn);
2001 }
2002 extern "C" {
Gecko_Destroy_nsStyleColumn(ptr: *mut nsStyleColumn)2003     pub fn Gecko_Destroy_nsStyleColumn(ptr: *mut nsStyleColumn);
2004 }
2005 extern "C" {
Gecko_Construct_Default_nsStyleEffects( ptr: *mut nsStyleEffects, pres_context: RawGeckoPresContextBorrowed, )2006     pub fn Gecko_Construct_Default_nsStyleEffects(
2007         ptr: *mut nsStyleEffects,
2008         pres_context: RawGeckoPresContextBorrowed,
2009     );
2010 }
2011 extern "C" {
Gecko_CopyConstruct_nsStyleEffects( ptr: *mut nsStyleEffects, other: *const nsStyleEffects, )2012     pub fn Gecko_CopyConstruct_nsStyleEffects(
2013         ptr: *mut nsStyleEffects,
2014         other: *const nsStyleEffects,
2015     );
2016 }
2017 extern "C" {
Gecko_Destroy_nsStyleEffects(ptr: *mut nsStyleEffects)2018     pub fn Gecko_Destroy_nsStyleEffects(ptr: *mut nsStyleEffects);
2019 }
2020 extern "C" {
Gecko_RegisterProfilerThread(name: *const ::std::os::raw::c_char)2021     pub fn Gecko_RegisterProfilerThread(name: *const ::std::os::raw::c_char);
2022 }
2023 extern "C" {
Gecko_UnregisterProfilerThread()2024     pub fn Gecko_UnregisterProfilerThread();
2025 }
2026 extern "C" {
Gecko_DocumentRule_UseForPresentation( arg1: RawGeckoPresContextBorrowed, aPattern: *const nsACString, aURLMatchingFunction: URLMatchingFunction, ) -> bool2027     pub fn Gecko_DocumentRule_UseForPresentation(
2028         arg1: RawGeckoPresContextBorrowed,
2029         aPattern: *const nsACString,
2030         aURLMatchingFunction: URLMatchingFunction,
2031     ) -> bool;
2032 }
2033 extern "C" {
Gecko_SetJemallocThreadLocalArena(enabled: bool)2034     pub fn Gecko_SetJemallocThreadLocalArena(enabled: bool);
2035 }
2036 extern "C" {
Gecko_AddBufferToCrashReport(addr: *const ::std::os::raw::c_void, len: usize)2037     pub fn Gecko_AddBufferToCrashReport(addr: *const ::std::os::raw::c_void, len: usize);
2038 }
2039 extern "C" {
Gecko_AnnotateCrashReport( key_str: *const ::std::os::raw::c_char, value_str: *const ::std::os::raw::c_char, )2040     pub fn Gecko_AnnotateCrashReport(
2041         key_str: *const ::std::os::raw::c_char,
2042         value_str: *const ::std::os::raw::c_char,
2043     );
2044 }
2045 extern "C" {
Servo_Element_ClearData(node: RawGeckoElementBorrowed)2046     pub fn Servo_Element_ClearData(node: RawGeckoElementBorrowed);
2047 }
2048 extern "C" {
Servo_Element_SizeOfExcludingThisAndCVs( malloc_size_of: MallocSizeOf, malloc_enclosing_size_of: MallocSizeOf, seen_ptrs: *mut SeenPtrs, node: RawGeckoElementBorrowed, ) -> usize2049     pub fn Servo_Element_SizeOfExcludingThisAndCVs(
2050         malloc_size_of: MallocSizeOf,
2051         malloc_enclosing_size_of: MallocSizeOf,
2052         seen_ptrs: *mut SeenPtrs,
2053         node: RawGeckoElementBorrowed,
2054     ) -> usize;
2055 }
2056 extern "C" {
Servo_Element_HasPrimaryComputedValues(node: RawGeckoElementBorrowed) -> bool2057     pub fn Servo_Element_HasPrimaryComputedValues(node: RawGeckoElementBorrowed) -> bool;
2058 }
2059 extern "C" {
Servo_Element_GetPrimaryComputedValues( node: RawGeckoElementBorrowed, ) -> ServoStyleContextStrong2060     pub fn Servo_Element_GetPrimaryComputedValues(
2061         node: RawGeckoElementBorrowed,
2062     ) -> ServoStyleContextStrong;
2063 }
2064 extern "C" {
Servo_Element_HasPseudoComputedValues( node: RawGeckoElementBorrowed, index: usize, ) -> bool2065     pub fn Servo_Element_HasPseudoComputedValues(
2066         node: RawGeckoElementBorrowed,
2067         index: usize,
2068     ) -> bool;
2069 }
2070 extern "C" {
Servo_Element_GetPseudoComputedValues( node: RawGeckoElementBorrowed, index: usize, ) -> ServoStyleContextStrong2071     pub fn Servo_Element_GetPseudoComputedValues(
2072         node: RawGeckoElementBorrowed,
2073         index: usize,
2074     ) -> ServoStyleContextStrong;
2075 }
2076 extern "C" {
Servo_Element_IsDisplayNone(element: RawGeckoElementBorrowed) -> bool2077     pub fn Servo_Element_IsDisplayNone(element: RawGeckoElementBorrowed) -> bool;
2078 }
2079 extern "C" {
Servo_Element_IsPrimaryStyleReusedViaRuleNode(element: RawGeckoElementBorrowed) -> bool2080     pub fn Servo_Element_IsPrimaryStyleReusedViaRuleNode(element: RawGeckoElementBorrowed) -> bool;
2081 }
2082 extern "C" {
Servo_InvalidateStyleForDocStateChanges( root: RawGeckoElementBorrowed, doc_styles: RawServoStyleSetBorrowed, non_document_styles: *const nsTArray<RawServoAuthorStylesBorrowed>, aStatesChanged: u64, )2083     pub fn Servo_InvalidateStyleForDocStateChanges(
2084         root: RawGeckoElementBorrowed,
2085         doc_styles: RawServoStyleSetBorrowed,
2086         non_document_styles: *const nsTArray<RawServoAuthorStylesBorrowed>,
2087         aStatesChanged: u64,
2088     );
2089 }
2090 extern "C" {
Servo_StyleSheet_FromUTF8Bytes( loader: *mut Loader, gecko_stylesheet: *mut ServoStyleSheet, load_data: *mut SheetLoadData, data: *const u8, data_len: usize, parsing_mode: SheetParsingMode, extra_data: *mut RawGeckoURLExtraData, line_number_offset: u32, quirks_mode: nsCompatibility, reusable_sheets: *mut LoaderReusableStyleSheets, ) -> RawServoStyleSheetContentsStrong2091     pub fn Servo_StyleSheet_FromUTF8Bytes(
2092         loader: *mut Loader,
2093         gecko_stylesheet: *mut ServoStyleSheet,
2094         load_data: *mut SheetLoadData,
2095         data: *const u8,
2096         data_len: usize,
2097         parsing_mode: SheetParsingMode,
2098         extra_data: *mut RawGeckoURLExtraData,
2099         line_number_offset: u32,
2100         quirks_mode: nsCompatibility,
2101         reusable_sheets: *mut LoaderReusableStyleSheets,
2102     ) -> RawServoStyleSheetContentsStrong;
2103 }
2104 extern "C" {
Servo_StyleSheet_Empty( parsing_mode: SheetParsingMode, ) -> RawServoStyleSheetContentsStrong2105     pub fn Servo_StyleSheet_Empty(
2106         parsing_mode: SheetParsingMode,
2107     ) -> RawServoStyleSheetContentsStrong;
2108 }
2109 extern "C" {
Servo_StyleSheet_HasRules(sheet: RawServoStyleSheetContentsBorrowed) -> bool2110     pub fn Servo_StyleSheet_HasRules(sheet: RawServoStyleSheetContentsBorrowed) -> bool;
2111 }
2112 extern "C" {
Servo_StyleSheet_GetRules( sheet: RawServoStyleSheetContentsBorrowed, ) -> ServoCssRulesStrong2113     pub fn Servo_StyleSheet_GetRules(
2114         sheet: RawServoStyleSheetContentsBorrowed,
2115     ) -> ServoCssRulesStrong;
2116 }
2117 extern "C" {
Servo_StyleSheet_Clone( sheet: RawServoStyleSheetContentsBorrowed, reference_sheet: *const ServoStyleSheet, ) -> RawServoStyleSheetContentsStrong2118     pub fn Servo_StyleSheet_Clone(
2119         sheet: RawServoStyleSheetContentsBorrowed,
2120         reference_sheet: *const ServoStyleSheet,
2121     ) -> RawServoStyleSheetContentsStrong;
2122 }
2123 extern "C" {
Servo_StyleSheet_SizeOfIncludingThis( malloc_size_of: MallocSizeOf, malloc_enclosing_size_of: MallocSizeOf, sheet: RawServoStyleSheetContentsBorrowed, ) -> usize2124     pub fn Servo_StyleSheet_SizeOfIncludingThis(
2125         malloc_size_of: MallocSizeOf,
2126         malloc_enclosing_size_of: MallocSizeOf,
2127         sheet: RawServoStyleSheetContentsBorrowed,
2128     ) -> usize;
2129 }
2130 extern "C" {
Servo_StyleSheet_GetSourceMapURL( sheet: RawServoStyleSheetContentsBorrowed, result: *mut nsAString, )2131     pub fn Servo_StyleSheet_GetSourceMapURL(
2132         sheet: RawServoStyleSheetContentsBorrowed,
2133         result: *mut nsAString,
2134     );
2135 }
2136 extern "C" {
Servo_StyleSheet_GetSourceURL( sheet: RawServoStyleSheetContentsBorrowed, result: *mut nsAString, )2137     pub fn Servo_StyleSheet_GetSourceURL(
2138         sheet: RawServoStyleSheetContentsBorrowed,
2139         result: *mut nsAString,
2140     );
2141 }
2142 extern "C" {
Servo_StyleSheet_GetOrigin(sheet: RawServoStyleSheetContentsBorrowed) -> u82143     pub fn Servo_StyleSheet_GetOrigin(sheet: RawServoStyleSheetContentsBorrowed) -> u8;
2144 }
2145 extern "C" {
Servo_StyleSet_Init(pres_context: RawGeckoPresContextOwned) -> *mut RawServoStyleSet2146     pub fn Servo_StyleSet_Init(pres_context: RawGeckoPresContextOwned) -> *mut RawServoStyleSet;
2147 }
2148 extern "C" {
Servo_StyleSet_RebuildCachedData(set: RawServoStyleSetBorrowed)2149     pub fn Servo_StyleSet_RebuildCachedData(set: RawServoStyleSetBorrowed);
2150 }
2151 extern "C" {
Servo_StyleSet_MediumFeaturesChanged( document_set: RawServoStyleSetBorrowed, non_document_sets: *mut nsTArray<RawServoAuthorStylesBorrowedMut>, may_affect_default_style: bool, ) -> MediumFeaturesChangedResult2152     pub fn Servo_StyleSet_MediumFeaturesChanged(
2153         document_set: RawServoStyleSetBorrowed,
2154         non_document_sets: *mut nsTArray<RawServoAuthorStylesBorrowedMut>,
2155         may_affect_default_style: bool,
2156     ) -> MediumFeaturesChangedResult;
2157 }
2158 extern "C" {
Servo_StyleSet_CompatModeChanged(raw_data: RawServoStyleSetBorrowed)2159     pub fn Servo_StyleSet_CompatModeChanged(raw_data: RawServoStyleSetBorrowed);
2160 }
2161 extern "C" {
Servo_StyleSet_AppendStyleSheet( set: RawServoStyleSetBorrowed, gecko_sheet: *const ServoStyleSheet, )2162     pub fn Servo_StyleSet_AppendStyleSheet(
2163         set: RawServoStyleSetBorrowed,
2164         gecko_sheet: *const ServoStyleSheet,
2165     );
2166 }
2167 extern "C" {
Servo_StyleSet_PrependStyleSheet( set: RawServoStyleSetBorrowed, gecko_sheet: *const ServoStyleSheet, )2168     pub fn Servo_StyleSet_PrependStyleSheet(
2169         set: RawServoStyleSetBorrowed,
2170         gecko_sheet: *const ServoStyleSheet,
2171     );
2172 }
2173 extern "C" {
Servo_StyleSet_RemoveStyleSheet( set: RawServoStyleSetBorrowed, gecko_sheet: *const ServoStyleSheet, )2174     pub fn Servo_StyleSet_RemoveStyleSheet(
2175         set: RawServoStyleSetBorrowed,
2176         gecko_sheet: *const ServoStyleSheet,
2177     );
2178 }
2179 extern "C" {
Servo_StyleSet_InsertStyleSheetBefore( set: RawServoStyleSetBorrowed, gecko_sheet: *const ServoStyleSheet, before: *const ServoStyleSheet, )2180     pub fn Servo_StyleSet_InsertStyleSheetBefore(
2181         set: RawServoStyleSetBorrowed,
2182         gecko_sheet: *const ServoStyleSheet,
2183         before: *const ServoStyleSheet,
2184     );
2185 }
2186 extern "C" {
Servo_StyleSet_FlushStyleSheets( set: RawServoStyleSetBorrowed, doc_elem: RawGeckoElementBorrowedOrNull, snapshots: *const ServoElementSnapshotTable, )2187     pub fn Servo_StyleSet_FlushStyleSheets(
2188         set: RawServoStyleSetBorrowed,
2189         doc_elem: RawGeckoElementBorrowedOrNull,
2190         snapshots: *const ServoElementSnapshotTable,
2191     );
2192 }
2193 extern "C" {
Servo_StyleSet_SetAuthorStyleDisabled( set: RawServoStyleSetBorrowed, author_style_disabled: bool, )2194     pub fn Servo_StyleSet_SetAuthorStyleDisabled(
2195         set: RawServoStyleSetBorrowed,
2196         author_style_disabled: bool,
2197     );
2198 }
2199 extern "C" {
Servo_StyleSet_NoteStyleSheetsChanged( set: RawServoStyleSetBorrowed, changed_origins: OriginFlags, )2200     pub fn Servo_StyleSet_NoteStyleSheetsChanged(
2201         set: RawServoStyleSetBorrowed,
2202         changed_origins: OriginFlags,
2203     );
2204 }
2205 extern "C" {
Servo_StyleSet_GetKeyframesForName( set: RawServoStyleSetBorrowed, name: *mut nsAtom, timing_function: nsTimingFunctionBorrowed, keyframe_list: RawGeckoKeyframeListBorrowedMut, ) -> bool2206     pub fn Servo_StyleSet_GetKeyframesForName(
2207         set: RawServoStyleSetBorrowed,
2208         name: *mut nsAtom,
2209         timing_function: nsTimingFunctionBorrowed,
2210         keyframe_list: RawGeckoKeyframeListBorrowedMut,
2211     ) -> bool;
2212 }
2213 extern "C" {
Servo_StyleSet_GetFontFaceRules( set: RawServoStyleSetBorrowed, list: RawGeckoFontFaceRuleListBorrowedMut, )2214     pub fn Servo_StyleSet_GetFontFaceRules(
2215         set: RawServoStyleSetBorrowed,
2216         list: RawGeckoFontFaceRuleListBorrowedMut,
2217     );
2218 }
2219 extern "C" {
Servo_StyleSet_GetCounterStyleRule( set: RawServoStyleSetBorrowed, name: *mut nsAtom, ) -> *mut nsCSSCounterStyleRule2220     pub fn Servo_StyleSet_GetCounterStyleRule(
2221         set: RawServoStyleSetBorrowed,
2222         name: *mut nsAtom,
2223     ) -> *mut nsCSSCounterStyleRule;
2224 }
2225 extern "C" {
Servo_StyleSet_BuildFontFeatureValueSet( set: RawServoStyleSetBorrowed, ) -> *mut gfxFontFeatureValueSet2226     pub fn Servo_StyleSet_BuildFontFeatureValueSet(
2227         set: RawServoStyleSetBorrowed,
2228     ) -> *mut gfxFontFeatureValueSet;
2229 }
2230 extern "C" {
Servo_StyleSet_ResolveForDeclarations( set: RawServoStyleSetBorrowed, parent_style: ServoStyleContextBorrowedOrNull, declarations: RawServoDeclarationBlockBorrowed, ) -> ServoStyleContextStrong2231     pub fn Servo_StyleSet_ResolveForDeclarations(
2232         set: RawServoStyleSetBorrowed,
2233         parent_style: ServoStyleContextBorrowedOrNull,
2234         declarations: RawServoDeclarationBlockBorrowed,
2235     ) -> ServoStyleContextStrong;
2236 }
2237 extern "C" {
Servo_SelectorList_Parse(selector_list: *const nsACString) -> *mut RawServoSelectorList2238     pub fn Servo_SelectorList_Parse(selector_list: *const nsACString) -> *mut RawServoSelectorList;
2239 }
2240 extern "C" {
Servo_SourceSizeList_Parse(value: *const nsACString) -> *mut RawServoSourceSizeList2241     pub fn Servo_SourceSizeList_Parse(value: *const nsACString) -> *mut RawServoSourceSizeList;
2242 }
2243 extern "C" {
Servo_SourceSizeList_Evaluate( set: RawServoStyleSetBorrowed, arg1: RawServoSourceSizeListBorrowedOrNull, ) -> i322244     pub fn Servo_SourceSizeList_Evaluate(
2245         set: RawServoStyleSetBorrowed,
2246         arg1: RawServoSourceSizeListBorrowedOrNull,
2247     ) -> i32;
2248 }
2249 extern "C" {
Servo_SelectorList_Matches( arg1: RawGeckoElementBorrowed, arg2: RawServoSelectorListBorrowed, ) -> bool2250     pub fn Servo_SelectorList_Matches(
2251         arg1: RawGeckoElementBorrowed,
2252         arg2: RawServoSelectorListBorrowed,
2253     ) -> bool;
2254 }
2255 extern "C" {
Servo_SelectorList_Closest( arg1: RawGeckoElementBorrowed, arg2: RawServoSelectorListBorrowed, ) -> *const RawGeckoElement2256     pub fn Servo_SelectorList_Closest(
2257         arg1: RawGeckoElementBorrowed,
2258         arg2: RawServoSelectorListBorrowed,
2259     ) -> *const RawGeckoElement;
2260 }
2261 extern "C" {
Servo_SelectorList_QueryFirst( arg1: RawGeckoNodeBorrowed, arg2: RawServoSelectorListBorrowed, may_use_invalidation: bool, ) -> *const RawGeckoElement2262     pub fn Servo_SelectorList_QueryFirst(
2263         arg1: RawGeckoNodeBorrowed,
2264         arg2: RawServoSelectorListBorrowed,
2265         may_use_invalidation: bool,
2266     ) -> *const RawGeckoElement;
2267 }
2268 extern "C" {
Servo_SelectorList_QueryAll( arg1: RawGeckoNodeBorrowed, arg2: RawServoSelectorListBorrowed, content_list: *mut nsSimpleContentList, may_use_invalidation: bool, )2269     pub fn Servo_SelectorList_QueryAll(
2270         arg1: RawGeckoNodeBorrowed,
2271         arg2: RawServoSelectorListBorrowed,
2272         content_list: *mut nsSimpleContentList,
2273         may_use_invalidation: bool,
2274     );
2275 }
2276 extern "C" {
Servo_StyleSet_AddSizeOfExcludingThis( malloc_size_of: MallocSizeOf, malloc_enclosing_size_of: MallocSizeOf, sizes: *mut ServoStyleSetSizes, set: RawServoStyleSetBorrowed, )2277     pub fn Servo_StyleSet_AddSizeOfExcludingThis(
2278         malloc_size_of: MallocSizeOf,
2279         malloc_enclosing_size_of: MallocSizeOf,
2280         sizes: *mut ServoStyleSetSizes,
2281         set: RawServoStyleSetBorrowed,
2282     );
2283 }
2284 extern "C" {
Servo_UACache_AddSizeOf( malloc_size_of: MallocSizeOf, malloc_enclosing_size_of: MallocSizeOf, sizes: *mut ServoStyleSetSizes, )2285     pub fn Servo_UACache_AddSizeOf(
2286         malloc_size_of: MallocSizeOf,
2287         malloc_enclosing_size_of: MallocSizeOf,
2288         sizes: *mut ServoStyleSetSizes,
2289     );
2290 }
2291 extern "C" {
Servo_AuthorStyles_Create() -> *mut RawServoAuthorStyles2292     pub fn Servo_AuthorStyles_Create() -> *mut RawServoAuthorStyles;
2293 }
2294 extern "C" {
Servo_AuthorStyles_AppendStyleSheet( self_: RawServoAuthorStylesBorrowedMut, gecko_sheet: *const ServoStyleSheet, )2295     pub fn Servo_AuthorStyles_AppendStyleSheet(
2296         self_: RawServoAuthorStylesBorrowedMut,
2297         gecko_sheet: *const ServoStyleSheet,
2298     );
2299 }
2300 extern "C" {
Servo_AuthorStyles_RemoveStyleSheet( self_: RawServoAuthorStylesBorrowedMut, gecko_sheet: *const ServoStyleSheet, )2301     pub fn Servo_AuthorStyles_RemoveStyleSheet(
2302         self_: RawServoAuthorStylesBorrowedMut,
2303         gecko_sheet: *const ServoStyleSheet,
2304     );
2305 }
2306 extern "C" {
Servo_AuthorStyles_InsertStyleSheetBefore( self_: RawServoAuthorStylesBorrowedMut, gecko_sheet: *const ServoStyleSheet, before: *const ServoStyleSheet, )2307     pub fn Servo_AuthorStyles_InsertStyleSheetBefore(
2308         self_: RawServoAuthorStylesBorrowedMut,
2309         gecko_sheet: *const ServoStyleSheet,
2310         before: *const ServoStyleSheet,
2311     );
2312 }
2313 extern "C" {
Servo_AuthorStyles_ForceDirty(self_: RawServoAuthorStylesBorrowedMut)2314     pub fn Servo_AuthorStyles_ForceDirty(self_: RawServoAuthorStylesBorrowedMut);
2315 }
2316 extern "C" {
Servo_AuthorStyles_Flush( self_: RawServoAuthorStylesBorrowedMut, document_styles: RawServoStyleSetBorrowed, )2317     pub fn Servo_AuthorStyles_Flush(
2318         self_: RawServoAuthorStylesBorrowedMut,
2319         document_styles: RawServoStyleSetBorrowed,
2320     );
2321 }
2322 extern "C" {
Servo_AuthorStyles_SizeOfIncludingThis( malloc_size_of: MallocSizeOf, malloc_enclosing_size_of: MallocSizeOf, self_: RawServoAuthorStylesBorrowed, ) -> usize2323     pub fn Servo_AuthorStyles_SizeOfIncludingThis(
2324         malloc_size_of: MallocSizeOf,
2325         malloc_enclosing_size_of: MallocSizeOf,
2326         self_: RawServoAuthorStylesBorrowed,
2327     ) -> usize;
2328 }
2329 extern "C" {
Servo_StyleContext_AddRef(ctx: ServoStyleContextBorrowed)2330     pub fn Servo_StyleContext_AddRef(ctx: ServoStyleContextBorrowed);
2331 }
2332 extern "C" {
Servo_StyleContext_Release(ctx: ServoStyleContextBorrowed)2333     pub fn Servo_StyleContext_Release(ctx: ServoStyleContextBorrowed);
2334 }
2335 extern "C" {
Servo_StyleSet_MightHaveAttributeDependency( set: RawServoStyleSetBorrowed, element: RawGeckoElementBorrowed, local_name: *mut nsAtom, ) -> bool2336     pub fn Servo_StyleSet_MightHaveAttributeDependency(
2337         set: RawServoStyleSetBorrowed,
2338         element: RawGeckoElementBorrowed,
2339         local_name: *mut nsAtom,
2340     ) -> bool;
2341 }
2342 extern "C" {
Servo_StyleSet_HasStateDependency( set: RawServoStyleSetBorrowed, element: RawGeckoElementBorrowed, state: u64, ) -> bool2343     pub fn Servo_StyleSet_HasStateDependency(
2344         set: RawServoStyleSetBorrowed,
2345         element: RawGeckoElementBorrowed,
2346         state: u64,
2347     ) -> bool;
2348 }
2349 extern "C" {
Servo_StyleSet_HasDocumentStateDependency( set: RawServoStyleSetBorrowed, state: u64, ) -> bool2350     pub fn Servo_StyleSet_HasDocumentStateDependency(
2351         set: RawServoStyleSetBorrowed,
2352         state: u64,
2353     ) -> bool;
2354 }
2355 extern "C" {
Servo_CssRules_ListTypes( rules: ServoCssRulesBorrowed, result: nsTArrayBorrowed_uintptr_t, )2356     pub fn Servo_CssRules_ListTypes(
2357         rules: ServoCssRulesBorrowed,
2358         result: nsTArrayBorrowed_uintptr_t,
2359     );
2360 }
2361 extern "C" {
Servo_CssRules_InsertRule( rules: ServoCssRulesBorrowed, sheet: RawServoStyleSheetContentsBorrowed, rule: *const nsACString, index: u32, nested: bool, loader: *mut Loader, gecko_stylesheet: *mut ServoStyleSheet, rule_type: *mut u16, ) -> nsresult2362     pub fn Servo_CssRules_InsertRule(
2363         rules: ServoCssRulesBorrowed,
2364         sheet: RawServoStyleSheetContentsBorrowed,
2365         rule: *const nsACString,
2366         index: u32,
2367         nested: bool,
2368         loader: *mut Loader,
2369         gecko_stylesheet: *mut ServoStyleSheet,
2370         rule_type: *mut u16,
2371     ) -> nsresult;
2372 }
2373 extern "C" {
Servo_CssRules_DeleteRule(rules: ServoCssRulesBorrowed, index: u32) -> nsresult2374     pub fn Servo_CssRules_DeleteRule(rules: ServoCssRulesBorrowed, index: u32) -> nsresult;
2375 }
2376 extern "C" {
Servo_CssRules_GetStyleRuleAt( rules: ServoCssRulesBorrowed, index: u32, line: *mut u32, column: *mut u32, ) -> RawServoStyleRuleStrong2377     pub fn Servo_CssRules_GetStyleRuleAt(
2378         rules: ServoCssRulesBorrowed,
2379         index: u32,
2380         line: *mut u32,
2381         column: *mut u32,
2382     ) -> RawServoStyleRuleStrong;
2383 }
2384 extern "C" {
Servo_StyleRule_Debug(rule: RawServoStyleRuleBorrowed, result: *mut nsACString)2385     pub fn Servo_StyleRule_Debug(rule: RawServoStyleRuleBorrowed, result: *mut nsACString);
2386 }
2387 extern "C" {
Servo_StyleRule_GetCssText(rule: RawServoStyleRuleBorrowed, result: *mut nsAString)2388     pub fn Servo_StyleRule_GetCssText(rule: RawServoStyleRuleBorrowed, result: *mut nsAString);
2389 }
2390 extern "C" {
Servo_CssRules_GetImportRuleAt( rules: ServoCssRulesBorrowed, index: u32, line: *mut u32, column: *mut u32, ) -> RawServoImportRuleStrong2391     pub fn Servo_CssRules_GetImportRuleAt(
2392         rules: ServoCssRulesBorrowed,
2393         index: u32,
2394         line: *mut u32,
2395         column: *mut u32,
2396     ) -> RawServoImportRuleStrong;
2397 }
2398 extern "C" {
Servo_ImportRule_Debug(rule: RawServoImportRuleBorrowed, result: *mut nsACString)2399     pub fn Servo_ImportRule_Debug(rule: RawServoImportRuleBorrowed, result: *mut nsACString);
2400 }
2401 extern "C" {
Servo_ImportRule_GetCssText(rule: RawServoImportRuleBorrowed, result: *mut nsAString)2402     pub fn Servo_ImportRule_GetCssText(rule: RawServoImportRuleBorrowed, result: *mut nsAString);
2403 }
2404 extern "C" {
Servo_Keyframe_Debug(rule: RawServoKeyframeBorrowed, result: *mut nsACString)2405     pub fn Servo_Keyframe_Debug(rule: RawServoKeyframeBorrowed, result: *mut nsACString);
2406 }
2407 extern "C" {
Servo_Keyframe_GetCssText(rule: RawServoKeyframeBorrowed, result: *mut nsAString)2408     pub fn Servo_Keyframe_GetCssText(rule: RawServoKeyframeBorrowed, result: *mut nsAString);
2409 }
2410 extern "C" {
Servo_CssRules_GetKeyframesRuleAt( rules: ServoCssRulesBorrowed, index: u32, line: *mut u32, column: *mut u32, ) -> RawServoKeyframesRuleStrong2411     pub fn Servo_CssRules_GetKeyframesRuleAt(
2412         rules: ServoCssRulesBorrowed,
2413         index: u32,
2414         line: *mut u32,
2415         column: *mut u32,
2416     ) -> RawServoKeyframesRuleStrong;
2417 }
2418 extern "C" {
Servo_KeyframesRule_Debug(rule: RawServoKeyframesRuleBorrowed, result: *mut nsACString)2419     pub fn Servo_KeyframesRule_Debug(rule: RawServoKeyframesRuleBorrowed, result: *mut nsACString);
2420 }
2421 extern "C" {
Servo_KeyframesRule_GetCssText( rule: RawServoKeyframesRuleBorrowed, result: *mut nsAString, )2422     pub fn Servo_KeyframesRule_GetCssText(
2423         rule: RawServoKeyframesRuleBorrowed,
2424         result: *mut nsAString,
2425     );
2426 }
2427 extern "C" {
Servo_CssRules_GetMediaRuleAt( rules: ServoCssRulesBorrowed, index: u32, line: *mut u32, column: *mut u32, ) -> RawServoMediaRuleStrong2428     pub fn Servo_CssRules_GetMediaRuleAt(
2429         rules: ServoCssRulesBorrowed,
2430         index: u32,
2431         line: *mut u32,
2432         column: *mut u32,
2433     ) -> RawServoMediaRuleStrong;
2434 }
2435 extern "C" {
Servo_MediaRule_Debug(rule: RawServoMediaRuleBorrowed, result: *mut nsACString)2436     pub fn Servo_MediaRule_Debug(rule: RawServoMediaRuleBorrowed, result: *mut nsACString);
2437 }
2438 extern "C" {
Servo_MediaRule_GetCssText(rule: RawServoMediaRuleBorrowed, result: *mut nsAString)2439     pub fn Servo_MediaRule_GetCssText(rule: RawServoMediaRuleBorrowed, result: *mut nsAString);
2440 }
2441 extern "C" {
Servo_MediaRule_GetRules(rule: RawServoMediaRuleBorrowed) -> ServoCssRulesStrong2442     pub fn Servo_MediaRule_GetRules(rule: RawServoMediaRuleBorrowed) -> ServoCssRulesStrong;
2443 }
2444 extern "C" {
Servo_CssRules_GetNamespaceRuleAt( rules: ServoCssRulesBorrowed, index: u32, line: *mut u32, column: *mut u32, ) -> RawServoNamespaceRuleStrong2445     pub fn Servo_CssRules_GetNamespaceRuleAt(
2446         rules: ServoCssRulesBorrowed,
2447         index: u32,
2448         line: *mut u32,
2449         column: *mut u32,
2450     ) -> RawServoNamespaceRuleStrong;
2451 }
2452 extern "C" {
Servo_NamespaceRule_Debug(rule: RawServoNamespaceRuleBorrowed, result: *mut nsACString)2453     pub fn Servo_NamespaceRule_Debug(rule: RawServoNamespaceRuleBorrowed, result: *mut nsACString);
2454 }
2455 extern "C" {
Servo_NamespaceRule_GetCssText( rule: RawServoNamespaceRuleBorrowed, result: *mut nsAString, )2456     pub fn Servo_NamespaceRule_GetCssText(
2457         rule: RawServoNamespaceRuleBorrowed,
2458         result: *mut nsAString,
2459     );
2460 }
2461 extern "C" {
Servo_CssRules_GetPageRuleAt( rules: ServoCssRulesBorrowed, index: u32, line: *mut u32, column: *mut u32, ) -> RawServoPageRuleStrong2462     pub fn Servo_CssRules_GetPageRuleAt(
2463         rules: ServoCssRulesBorrowed,
2464         index: u32,
2465         line: *mut u32,
2466         column: *mut u32,
2467     ) -> RawServoPageRuleStrong;
2468 }
2469 extern "C" {
Servo_PageRule_Debug(rule: RawServoPageRuleBorrowed, result: *mut nsACString)2470     pub fn Servo_PageRule_Debug(rule: RawServoPageRuleBorrowed, result: *mut nsACString);
2471 }
2472 extern "C" {
Servo_PageRule_GetCssText(rule: RawServoPageRuleBorrowed, result: *mut nsAString)2473     pub fn Servo_PageRule_GetCssText(rule: RawServoPageRuleBorrowed, result: *mut nsAString);
2474 }
2475 extern "C" {
Servo_CssRules_GetSupportsRuleAt( rules: ServoCssRulesBorrowed, index: u32, line: *mut u32, column: *mut u32, ) -> RawServoSupportsRuleStrong2476     pub fn Servo_CssRules_GetSupportsRuleAt(
2477         rules: ServoCssRulesBorrowed,
2478         index: u32,
2479         line: *mut u32,
2480         column: *mut u32,
2481     ) -> RawServoSupportsRuleStrong;
2482 }
2483 extern "C" {
Servo_SupportsRule_Debug(rule: RawServoSupportsRuleBorrowed, result: *mut nsACString)2484     pub fn Servo_SupportsRule_Debug(rule: RawServoSupportsRuleBorrowed, result: *mut nsACString);
2485 }
2486 extern "C" {
Servo_SupportsRule_GetCssText( rule: RawServoSupportsRuleBorrowed, result: *mut nsAString, )2487     pub fn Servo_SupportsRule_GetCssText(
2488         rule: RawServoSupportsRuleBorrowed,
2489         result: *mut nsAString,
2490     );
2491 }
2492 extern "C" {
Servo_SupportsRule_GetRules(rule: RawServoSupportsRuleBorrowed) -> ServoCssRulesStrong2493     pub fn Servo_SupportsRule_GetRules(rule: RawServoSupportsRuleBorrowed) -> ServoCssRulesStrong;
2494 }
2495 extern "C" {
Servo_CssRules_GetDocumentRuleAt( rules: ServoCssRulesBorrowed, index: u32, line: *mut u32, column: *mut u32, ) -> RawServoDocumentRuleStrong2496     pub fn Servo_CssRules_GetDocumentRuleAt(
2497         rules: ServoCssRulesBorrowed,
2498         index: u32,
2499         line: *mut u32,
2500         column: *mut u32,
2501     ) -> RawServoDocumentRuleStrong;
2502 }
2503 extern "C" {
Servo_DocumentRule_Debug(rule: RawServoDocumentRuleBorrowed, result: *mut nsACString)2504     pub fn Servo_DocumentRule_Debug(rule: RawServoDocumentRuleBorrowed, result: *mut nsACString);
2505 }
2506 extern "C" {
Servo_DocumentRule_GetCssText( rule: RawServoDocumentRuleBorrowed, result: *mut nsAString, )2507     pub fn Servo_DocumentRule_GetCssText(
2508         rule: RawServoDocumentRuleBorrowed,
2509         result: *mut nsAString,
2510     );
2511 }
2512 extern "C" {
Servo_DocumentRule_GetRules(rule: RawServoDocumentRuleBorrowed) -> ServoCssRulesStrong2513     pub fn Servo_DocumentRule_GetRules(rule: RawServoDocumentRuleBorrowed) -> ServoCssRulesStrong;
2514 }
2515 extern "C" {
Servo_CssRules_GetFontFeatureValuesRuleAt( rules: ServoCssRulesBorrowed, index: u32, line: *mut u32, column: *mut u32, ) -> RawServoFontFeatureValuesRuleStrong2516     pub fn Servo_CssRules_GetFontFeatureValuesRuleAt(
2517         rules: ServoCssRulesBorrowed,
2518         index: u32,
2519         line: *mut u32,
2520         column: *mut u32,
2521     ) -> RawServoFontFeatureValuesRuleStrong;
2522 }
2523 extern "C" {
Servo_FontFeatureValuesRule_Debug( rule: RawServoFontFeatureValuesRuleBorrowed, result: *mut nsACString, )2524     pub fn Servo_FontFeatureValuesRule_Debug(
2525         rule: RawServoFontFeatureValuesRuleBorrowed,
2526         result: *mut nsACString,
2527     );
2528 }
2529 extern "C" {
Servo_FontFeatureValuesRule_GetCssText( rule: RawServoFontFeatureValuesRuleBorrowed, result: *mut nsAString, )2530     pub fn Servo_FontFeatureValuesRule_GetCssText(
2531         rule: RawServoFontFeatureValuesRuleBorrowed,
2532         result: *mut nsAString,
2533     );
2534 }
2535 extern "C" {
Servo_CssRules_GetFontFaceRuleAt( rules: ServoCssRulesBorrowed, index: u32, ) -> *mut nsCSSFontFaceRule2536     pub fn Servo_CssRules_GetFontFaceRuleAt(
2537         rules: ServoCssRulesBorrowed,
2538         index: u32,
2539     ) -> *mut nsCSSFontFaceRule;
2540 }
2541 extern "C" {
Servo_CssRules_GetCounterStyleRuleAt( rules: ServoCssRulesBorrowed, index: u32, ) -> *mut nsCSSCounterStyleRule2542     pub fn Servo_CssRules_GetCounterStyleRuleAt(
2543         rules: ServoCssRulesBorrowed,
2544         index: u32,
2545     ) -> *mut nsCSSCounterStyleRule;
2546 }
2547 extern "C" {
Servo_StyleRule_GetStyle( rule: RawServoStyleRuleBorrowed, ) -> RawServoDeclarationBlockStrong2548     pub fn Servo_StyleRule_GetStyle(
2549         rule: RawServoStyleRuleBorrowed,
2550     ) -> RawServoDeclarationBlockStrong;
2551 }
2552 extern "C" {
Servo_StyleRule_SetStyle( rule: RawServoStyleRuleBorrowed, declarations: RawServoDeclarationBlockBorrowed, )2553     pub fn Servo_StyleRule_SetStyle(
2554         rule: RawServoStyleRuleBorrowed,
2555         declarations: RawServoDeclarationBlockBorrowed,
2556     );
2557 }
2558 extern "C" {
Servo_StyleRule_GetSelectorText(rule: RawServoStyleRuleBorrowed, result: *mut nsAString)2559     pub fn Servo_StyleRule_GetSelectorText(rule: RawServoStyleRuleBorrowed, result: *mut nsAString);
2560 }
2561 extern "C" {
Servo_StyleRule_GetSelectorTextAtIndex( rule: RawServoStyleRuleBorrowed, index: u32, result: *mut nsAString, )2562     pub fn Servo_StyleRule_GetSelectorTextAtIndex(
2563         rule: RawServoStyleRuleBorrowed,
2564         index: u32,
2565         result: *mut nsAString,
2566     );
2567 }
2568 extern "C" {
Servo_StyleRule_GetSpecificityAtIndex( rule: RawServoStyleRuleBorrowed, index: u32, specificity: *mut u64, )2569     pub fn Servo_StyleRule_GetSpecificityAtIndex(
2570         rule: RawServoStyleRuleBorrowed,
2571         index: u32,
2572         specificity: *mut u64,
2573     );
2574 }
2575 extern "C" {
Servo_StyleRule_GetSelectorCount(rule: RawServoStyleRuleBorrowed, count: *mut u32)2576     pub fn Servo_StyleRule_GetSelectorCount(rule: RawServoStyleRuleBorrowed, count: *mut u32);
2577 }
2578 extern "C" {
Servo_StyleRule_SelectorMatchesElement( arg1: RawServoStyleRuleBorrowed, arg2: RawGeckoElementBorrowed, index: u32, pseudo_type: CSSPseudoElementType, ) -> bool2579     pub fn Servo_StyleRule_SelectorMatchesElement(
2580         arg1: RawServoStyleRuleBorrowed,
2581         arg2: RawGeckoElementBorrowed,
2582         index: u32,
2583         pseudo_type: CSSPseudoElementType,
2584     ) -> bool;
2585 }
2586 extern "C" {
Servo_ImportRule_GetHref(rule: RawServoImportRuleBorrowed, result: *mut nsAString)2587     pub fn Servo_ImportRule_GetHref(rule: RawServoImportRuleBorrowed, result: *mut nsAString);
2588 }
2589 extern "C" {
Servo_ImportRule_GetSheet(rule: RawServoImportRuleBorrowed) -> *const ServoStyleSheet2590     pub fn Servo_ImportRule_GetSheet(rule: RawServoImportRuleBorrowed) -> *const ServoStyleSheet;
2591 }
2592 extern "C" {
Servo_Keyframe_GetKeyText(keyframe: RawServoKeyframeBorrowed, result: *mut nsAString)2593     pub fn Servo_Keyframe_GetKeyText(keyframe: RawServoKeyframeBorrowed, result: *mut nsAString);
2594 }
2595 extern "C" {
Servo_Keyframe_SetKeyText( keyframe: RawServoKeyframeBorrowed, text: *const nsACString, ) -> bool2596     pub fn Servo_Keyframe_SetKeyText(
2597         keyframe: RawServoKeyframeBorrowed,
2598         text: *const nsACString,
2599     ) -> bool;
2600 }
2601 extern "C" {
Servo_Keyframe_GetStyle( keyframe: RawServoKeyframeBorrowed, ) -> RawServoDeclarationBlockStrong2602     pub fn Servo_Keyframe_GetStyle(
2603         keyframe: RawServoKeyframeBorrowed,
2604     ) -> RawServoDeclarationBlockStrong;
2605 }
2606 extern "C" {
Servo_Keyframe_SetStyle( keyframe: RawServoKeyframeBorrowed, declarations: RawServoDeclarationBlockBorrowed, )2607     pub fn Servo_Keyframe_SetStyle(
2608         keyframe: RawServoKeyframeBorrowed,
2609         declarations: RawServoDeclarationBlockBorrowed,
2610     );
2611 }
2612 extern "C" {
Servo_KeyframesRule_GetName(rule: RawServoKeyframesRuleBorrowed) -> *mut nsAtom2613     pub fn Servo_KeyframesRule_GetName(rule: RawServoKeyframesRuleBorrowed) -> *mut nsAtom;
2614 }
2615 extern "C" {
Servo_KeyframesRule_SetName(rule: RawServoKeyframesRuleBorrowed, name: *mut nsAtom)2616     pub fn Servo_KeyframesRule_SetName(rule: RawServoKeyframesRuleBorrowed, name: *mut nsAtom);
2617 }
2618 extern "C" {
Servo_KeyframesRule_GetCount(rule: RawServoKeyframesRuleBorrowed) -> u322619     pub fn Servo_KeyframesRule_GetCount(rule: RawServoKeyframesRuleBorrowed) -> u32;
2620 }
2621 extern "C" {
Servo_KeyframesRule_GetKeyframeAt( rule: RawServoKeyframesRuleBorrowed, index: u32, line: *mut u32, column: *mut u32, ) -> RawServoKeyframeStrong2622     pub fn Servo_KeyframesRule_GetKeyframeAt(
2623         rule: RawServoKeyframesRuleBorrowed,
2624         index: u32,
2625         line: *mut u32,
2626         column: *mut u32,
2627     ) -> RawServoKeyframeStrong;
2628 }
2629 extern "C" {
Servo_KeyframesRule_FindRule( rule: RawServoKeyframesRuleBorrowed, key: *const nsACString, ) -> u322630     pub fn Servo_KeyframesRule_FindRule(
2631         rule: RawServoKeyframesRuleBorrowed,
2632         key: *const nsACString,
2633     ) -> u32;
2634 }
2635 extern "C" {
Servo_KeyframesRule_AppendRule( rule: RawServoKeyframesRuleBorrowed, sheet: RawServoStyleSheetContentsBorrowed, css: *const nsACString, ) -> bool2636     pub fn Servo_KeyframesRule_AppendRule(
2637         rule: RawServoKeyframesRuleBorrowed,
2638         sheet: RawServoStyleSheetContentsBorrowed,
2639         css: *const nsACString,
2640     ) -> bool;
2641 }
2642 extern "C" {
Servo_KeyframesRule_DeleteRule(rule: RawServoKeyframesRuleBorrowed, index: u32)2643     pub fn Servo_KeyframesRule_DeleteRule(rule: RawServoKeyframesRuleBorrowed, index: u32);
2644 }
2645 extern "C" {
Servo_MediaRule_GetMedia(rule: RawServoMediaRuleBorrowed) -> RawServoMediaListStrong2646     pub fn Servo_MediaRule_GetMedia(rule: RawServoMediaRuleBorrowed) -> RawServoMediaListStrong;
2647 }
2648 extern "C" {
Servo_NamespaceRule_GetPrefix(rule: RawServoNamespaceRuleBorrowed) -> *mut nsAtom2649     pub fn Servo_NamespaceRule_GetPrefix(rule: RawServoNamespaceRuleBorrowed) -> *mut nsAtom;
2650 }
2651 extern "C" {
Servo_NamespaceRule_GetURI(rule: RawServoNamespaceRuleBorrowed) -> *mut nsAtom2652     pub fn Servo_NamespaceRule_GetURI(rule: RawServoNamespaceRuleBorrowed) -> *mut nsAtom;
2653 }
2654 extern "C" {
Servo_PageRule_GetStyle( rule: RawServoPageRuleBorrowed, ) -> RawServoDeclarationBlockStrong2655     pub fn Servo_PageRule_GetStyle(
2656         rule: RawServoPageRuleBorrowed,
2657     ) -> RawServoDeclarationBlockStrong;
2658 }
2659 extern "C" {
Servo_PageRule_SetStyle( rule: RawServoPageRuleBorrowed, declarations: RawServoDeclarationBlockBorrowed, )2660     pub fn Servo_PageRule_SetStyle(
2661         rule: RawServoPageRuleBorrowed,
2662         declarations: RawServoDeclarationBlockBorrowed,
2663     );
2664 }
2665 extern "C" {
Servo_SupportsRule_GetConditionText( rule: RawServoSupportsRuleBorrowed, result: *mut nsAString, )2666     pub fn Servo_SupportsRule_GetConditionText(
2667         rule: RawServoSupportsRuleBorrowed,
2668         result: *mut nsAString,
2669     );
2670 }
2671 extern "C" {
Servo_DocumentRule_GetConditionText( rule: RawServoDocumentRuleBorrowed, result: *mut nsAString, )2672     pub fn Servo_DocumentRule_GetConditionText(
2673         rule: RawServoDocumentRuleBorrowed,
2674         result: *mut nsAString,
2675     );
2676 }
2677 extern "C" {
Servo_FontFeatureValuesRule_GetFontFamily( rule: RawServoFontFeatureValuesRuleBorrowed, result: *mut nsAString, )2678     pub fn Servo_FontFeatureValuesRule_GetFontFamily(
2679         rule: RawServoFontFeatureValuesRuleBorrowed,
2680         result: *mut nsAString,
2681     );
2682 }
2683 extern "C" {
Servo_FontFeatureValuesRule_GetValueText( rule: RawServoFontFeatureValuesRuleBorrowed, result: *mut nsAString, )2684     pub fn Servo_FontFeatureValuesRule_GetValueText(
2685         rule: RawServoFontFeatureValuesRuleBorrowed,
2686         result: *mut nsAString,
2687     );
2688 }
2689 extern "C" {
Servo_ParseProperty( property: nsCSSPropertyID, value: *const nsACString, data: *mut RawGeckoURLExtraData, parsing_mode: ParsingMode, quirks_mode: nsCompatibility, loader: *mut Loader, ) -> RawServoDeclarationBlockStrong2690     pub fn Servo_ParseProperty(
2691         property: nsCSSPropertyID,
2692         value: *const nsACString,
2693         data: *mut RawGeckoURLExtraData,
2694         parsing_mode: ParsingMode,
2695         quirks_mode: nsCompatibility,
2696         loader: *mut Loader,
2697     ) -> RawServoDeclarationBlockStrong;
2698 }
2699 extern "C" {
Servo_ParseEasing( easing: *const nsAString, data: *mut RawGeckoURLExtraData, output: nsTimingFunctionBorrowedMut, ) -> bool2700     pub fn Servo_ParseEasing(
2701         easing: *const nsAString,
2702         data: *mut RawGeckoURLExtraData,
2703         output: nsTimingFunctionBorrowedMut,
2704     ) -> bool;
2705 }
2706 extern "C" {
Servo_GetComputedKeyframeValues( keyframes: RawGeckoKeyframeListBorrowed, element: RawGeckoElementBorrowed, style: ServoStyleContextBorrowed, set: RawServoStyleSetBorrowed, result: RawGeckoComputedKeyframeValuesListBorrowedMut, )2707     pub fn Servo_GetComputedKeyframeValues(
2708         keyframes: RawGeckoKeyframeListBorrowed,
2709         element: RawGeckoElementBorrowed,
2710         style: ServoStyleContextBorrowed,
2711         set: RawServoStyleSetBorrowed,
2712         result: RawGeckoComputedKeyframeValuesListBorrowedMut,
2713     );
2714 }
2715 extern "C" {
Servo_ComputedValues_ExtractAnimationValue( computed_values: ServoStyleContextBorrowed, property: nsCSSPropertyID, ) -> RawServoAnimationValueStrong2716     pub fn Servo_ComputedValues_ExtractAnimationValue(
2717         computed_values: ServoStyleContextBorrowed,
2718         property: nsCSSPropertyID,
2719     ) -> RawServoAnimationValueStrong;
2720 }
2721 extern "C" {
Servo_ComputedValues_SpecifiesAnimationsOrTransitions( computed_values: ServoStyleContextBorrowed, ) -> bool2722     pub fn Servo_ComputedValues_SpecifiesAnimationsOrTransitions(
2723         computed_values: ServoStyleContextBorrowed,
2724     ) -> bool;
2725 }
2726 extern "C" {
Servo_Property_IsAnimatable(property: nsCSSPropertyID) -> bool2727     pub fn Servo_Property_IsAnimatable(property: nsCSSPropertyID) -> bool;
2728 }
2729 extern "C" {
Servo_Property_IsTransitionable(property: nsCSSPropertyID) -> bool2730     pub fn Servo_Property_IsTransitionable(property: nsCSSPropertyID) -> bool;
2731 }
2732 extern "C" {
Servo_Property_IsDiscreteAnimatable(property: nsCSSPropertyID) -> bool2733     pub fn Servo_Property_IsDiscreteAnimatable(property: nsCSSPropertyID) -> bool;
2734 }
2735 extern "C" {
Servo_GetProperties_Overriding_Animation( arg1: RawGeckoElementBorrowed, arg2: RawGeckoCSSPropertyIDListBorrowed, arg3: nsCSSPropertyIDSetBorrowedMut, )2736     pub fn Servo_GetProperties_Overriding_Animation(
2737         arg1: RawGeckoElementBorrowed,
2738         arg2: RawGeckoCSSPropertyIDListBorrowed,
2739         arg3: nsCSSPropertyIDSetBorrowedMut,
2740     );
2741 }
2742 extern "C" {
Servo_MatrixTransform_Operate( matrix_operator: MatrixTransformOperator, from: *const RawGeckoGfxMatrix4x4, to: *const RawGeckoGfxMatrix4x4, progress: f64, result: *mut RawGeckoGfxMatrix4x4, )2743     pub fn Servo_MatrixTransform_Operate(
2744         matrix_operator: MatrixTransformOperator,
2745         from: *const RawGeckoGfxMatrix4x4,
2746         to: *const RawGeckoGfxMatrix4x4,
2747         progress: f64,
2748         result: *mut RawGeckoGfxMatrix4x4,
2749     );
2750 }
2751 extern "C" {
Servo_GetAnimationValues( declarations: RawServoDeclarationBlockBorrowed, element: RawGeckoElementBorrowed, style: ServoStyleContextBorrowed, style_set: RawServoStyleSetBorrowed, animation_values: RawGeckoServoAnimationValueListBorrowedMut, )2752     pub fn Servo_GetAnimationValues(
2753         declarations: RawServoDeclarationBlockBorrowed,
2754         element: RawGeckoElementBorrowed,
2755         style: ServoStyleContextBorrowed,
2756         style_set: RawServoStyleSetBorrowed,
2757         animation_values: RawGeckoServoAnimationValueListBorrowedMut,
2758     );
2759 }
2760 extern "C" {
Servo_AnimationValues_Interpolate( from: RawServoAnimationValueBorrowed, to: RawServoAnimationValueBorrowed, progress: f64, ) -> RawServoAnimationValueStrong2761     pub fn Servo_AnimationValues_Interpolate(
2762         from: RawServoAnimationValueBorrowed,
2763         to: RawServoAnimationValueBorrowed,
2764         progress: f64,
2765     ) -> RawServoAnimationValueStrong;
2766 }
2767 extern "C" {
Servo_AnimationValues_IsInterpolable( from: RawServoAnimationValueBorrowed, to: RawServoAnimationValueBorrowed, ) -> bool2768     pub fn Servo_AnimationValues_IsInterpolable(
2769         from: RawServoAnimationValueBorrowed,
2770         to: RawServoAnimationValueBorrowed,
2771     ) -> bool;
2772 }
2773 extern "C" {
Servo_AnimationValues_Add( a: RawServoAnimationValueBorrowed, b: RawServoAnimationValueBorrowed, ) -> RawServoAnimationValueStrong2774     pub fn Servo_AnimationValues_Add(
2775         a: RawServoAnimationValueBorrowed,
2776         b: RawServoAnimationValueBorrowed,
2777     ) -> RawServoAnimationValueStrong;
2778 }
2779 extern "C" {
Servo_AnimationValues_Accumulate( a: RawServoAnimationValueBorrowed, b: RawServoAnimationValueBorrowed, count: u64, ) -> RawServoAnimationValueStrong2780     pub fn Servo_AnimationValues_Accumulate(
2781         a: RawServoAnimationValueBorrowed,
2782         b: RawServoAnimationValueBorrowed,
2783         count: u64,
2784     ) -> RawServoAnimationValueStrong;
2785 }
2786 extern "C" {
Servo_AnimationValues_GetZeroValue( value_to_match: RawServoAnimationValueBorrowed, ) -> RawServoAnimationValueStrong2787     pub fn Servo_AnimationValues_GetZeroValue(
2788         value_to_match: RawServoAnimationValueBorrowed,
2789     ) -> RawServoAnimationValueStrong;
2790 }
2791 extern "C" {
Servo_AnimationValues_ComputeDistance( from: RawServoAnimationValueBorrowed, to: RawServoAnimationValueBorrowed, ) -> f642792     pub fn Servo_AnimationValues_ComputeDistance(
2793         from: RawServoAnimationValueBorrowed,
2794         to: RawServoAnimationValueBorrowed,
2795     ) -> f64;
2796 }
2797 extern "C" {
Servo_AnimationValue_Serialize( value: RawServoAnimationValueBorrowed, property: nsCSSPropertyID, buffer: *mut nsAString, )2798     pub fn Servo_AnimationValue_Serialize(
2799         value: RawServoAnimationValueBorrowed,
2800         property: nsCSSPropertyID,
2801         buffer: *mut nsAString,
2802     );
2803 }
2804 extern "C" {
Servo_Shorthand_AnimationValues_Serialize( shorthand_property: nsCSSPropertyID, values: RawGeckoServoAnimationValueListBorrowed, buffer: *mut nsAString, )2805     pub fn Servo_Shorthand_AnimationValues_Serialize(
2806         shorthand_property: nsCSSPropertyID,
2807         values: RawGeckoServoAnimationValueListBorrowed,
2808         buffer: *mut nsAString,
2809     );
2810 }
2811 extern "C" {
Servo_AnimationValue_GetOpacity(value: RawServoAnimationValueBorrowed) -> f322812     pub fn Servo_AnimationValue_GetOpacity(value: RawServoAnimationValueBorrowed) -> f32;
2813 }
2814 extern "C" {
Servo_AnimationValue_Opacity(arg1: f32) -> RawServoAnimationValueStrong2815     pub fn Servo_AnimationValue_Opacity(arg1: f32) -> RawServoAnimationValueStrong;
2816 }
2817 extern "C" {
Servo_AnimationValue_GetTransform( value: RawServoAnimationValueBorrowed, list: *mut RefPtr<nsCSSValueSharedList>, )2818     pub fn Servo_AnimationValue_GetTransform(
2819         value: RawServoAnimationValueBorrowed,
2820         list: *mut RefPtr<nsCSSValueSharedList>,
2821     );
2822 }
2823 extern "C" {
Servo_AnimationValue_Transform( list: *const nsCSSValueSharedList, ) -> RawServoAnimationValueStrong2824     pub fn Servo_AnimationValue_Transform(
2825         list: *const nsCSSValueSharedList,
2826     ) -> RawServoAnimationValueStrong;
2827 }
2828 extern "C" {
Servo_AnimationValue_DeepEqual( arg1: RawServoAnimationValueBorrowed, arg2: RawServoAnimationValueBorrowed, ) -> bool2829     pub fn Servo_AnimationValue_DeepEqual(
2830         arg1: RawServoAnimationValueBorrowed,
2831         arg2: RawServoAnimationValueBorrowed,
2832     ) -> bool;
2833 }
2834 extern "C" {
Servo_AnimationValue_Uncompute( value: RawServoAnimationValueBorrowed, ) -> RawServoDeclarationBlockStrong2835     pub fn Servo_AnimationValue_Uncompute(
2836         value: RawServoAnimationValueBorrowed,
2837     ) -> RawServoDeclarationBlockStrong;
2838 }
2839 extern "C" {
Servo_AnimationValue_Compute( element: RawGeckoElementBorrowed, declarations: RawServoDeclarationBlockBorrowed, style: ServoStyleContextBorrowed, raw_data: RawServoStyleSetBorrowed, ) -> RawServoAnimationValueStrong2840     pub fn Servo_AnimationValue_Compute(
2841         element: RawGeckoElementBorrowed,
2842         declarations: RawServoDeclarationBlockBorrowed,
2843         style: ServoStyleContextBorrowed,
2844         raw_data: RawServoStyleSetBorrowed,
2845     ) -> RawServoAnimationValueStrong;
2846 }
2847 extern "C" {
Servo_ParseStyleAttribute( data: *const nsACString, extra_data: *mut RawGeckoURLExtraData, quirks_mode: nsCompatibility, loader: *mut Loader, ) -> RawServoDeclarationBlockStrong2848     pub fn Servo_ParseStyleAttribute(
2849         data: *const nsACString,
2850         extra_data: *mut RawGeckoURLExtraData,
2851         quirks_mode: nsCompatibility,
2852         loader: *mut Loader,
2853     ) -> RawServoDeclarationBlockStrong;
2854 }
2855 extern "C" {
Servo_DeclarationBlock_CreateEmpty() -> RawServoDeclarationBlockStrong2856     pub fn Servo_DeclarationBlock_CreateEmpty() -> RawServoDeclarationBlockStrong;
2857 }
2858 extern "C" {
Servo_DeclarationBlock_Clone( declarations: RawServoDeclarationBlockBorrowed, ) -> RawServoDeclarationBlockStrong2859     pub fn Servo_DeclarationBlock_Clone(
2860         declarations: RawServoDeclarationBlockBorrowed,
2861     ) -> RawServoDeclarationBlockStrong;
2862 }
2863 extern "C" {
Servo_DeclarationBlock_Equals( a: RawServoDeclarationBlockBorrowed, b: RawServoDeclarationBlockBorrowed, ) -> bool2864     pub fn Servo_DeclarationBlock_Equals(
2865         a: RawServoDeclarationBlockBorrowed,
2866         b: RawServoDeclarationBlockBorrowed,
2867     ) -> bool;
2868 }
2869 extern "C" {
Servo_DeclarationBlock_GetCssText( declarations: RawServoDeclarationBlockBorrowed, result: *mut nsAString, )2870     pub fn Servo_DeclarationBlock_GetCssText(
2871         declarations: RawServoDeclarationBlockBorrowed,
2872         result: *mut nsAString,
2873     );
2874 }
2875 extern "C" {
Servo_DeclarationBlock_SerializeOneValue( declarations: RawServoDeclarationBlockBorrowed, property: nsCSSPropertyID, buffer: *mut nsAString, computed_values: ServoStyleContextBorrowedOrNull, custom_properties: RawServoDeclarationBlockBorrowedOrNull, )2876     pub fn Servo_DeclarationBlock_SerializeOneValue(
2877         declarations: RawServoDeclarationBlockBorrowed,
2878         property: nsCSSPropertyID,
2879         buffer: *mut nsAString,
2880         computed_values: ServoStyleContextBorrowedOrNull,
2881         custom_properties: RawServoDeclarationBlockBorrowedOrNull,
2882     );
2883 }
2884 extern "C" {
Servo_DeclarationBlock_Count(declarations: RawServoDeclarationBlockBorrowed) -> u322885     pub fn Servo_DeclarationBlock_Count(declarations: RawServoDeclarationBlockBorrowed) -> u32;
2886 }
2887 extern "C" {
Servo_DeclarationBlock_GetNthProperty( declarations: RawServoDeclarationBlockBorrowed, index: u32, result: *mut nsAString, ) -> bool2888     pub fn Servo_DeclarationBlock_GetNthProperty(
2889         declarations: RawServoDeclarationBlockBorrowed,
2890         index: u32,
2891         result: *mut nsAString,
2892     ) -> bool;
2893 }
2894 extern "C" {
Servo_DeclarationBlock_GetPropertyValue( declarations: RawServoDeclarationBlockBorrowed, property: *const nsACString, value: *mut nsAString, )2895     pub fn Servo_DeclarationBlock_GetPropertyValue(
2896         declarations: RawServoDeclarationBlockBorrowed,
2897         property: *const nsACString,
2898         value: *mut nsAString,
2899     );
2900 }
2901 extern "C" {
Servo_DeclarationBlock_GetPropertyValueById( declarations: RawServoDeclarationBlockBorrowed, property: nsCSSPropertyID, value: *mut nsAString, )2902     pub fn Servo_DeclarationBlock_GetPropertyValueById(
2903         declarations: RawServoDeclarationBlockBorrowed,
2904         property: nsCSSPropertyID,
2905         value: *mut nsAString,
2906     );
2907 }
2908 extern "C" {
Servo_DeclarationBlock_GetPropertyIsImportant( declarations: RawServoDeclarationBlockBorrowed, property: *const nsACString, ) -> bool2909     pub fn Servo_DeclarationBlock_GetPropertyIsImportant(
2910         declarations: RawServoDeclarationBlockBorrowed,
2911         property: *const nsACString,
2912     ) -> bool;
2913 }
2914 extern "C" {
Servo_DeclarationBlock_SetProperty( declarations: RawServoDeclarationBlockBorrowed, property: *const nsACString, value: *const nsACString, is_important: bool, data: *mut RawGeckoURLExtraData, parsing_mode: ParsingMode, quirks_mode: nsCompatibility, loader: *mut Loader, ) -> bool2915     pub fn Servo_DeclarationBlock_SetProperty(
2916         declarations: RawServoDeclarationBlockBorrowed,
2917         property: *const nsACString,
2918         value: *const nsACString,
2919         is_important: bool,
2920         data: *mut RawGeckoURLExtraData,
2921         parsing_mode: ParsingMode,
2922         quirks_mode: nsCompatibility,
2923         loader: *mut Loader,
2924     ) -> bool;
2925 }
2926 extern "C" {
Servo_DeclarationBlock_SetPropertyById( declarations: RawServoDeclarationBlockBorrowed, property: nsCSSPropertyID, value: *const nsACString, is_important: bool, data: *mut RawGeckoURLExtraData, parsing_mode: ParsingMode, quirks_mode: nsCompatibility, loader: *mut Loader, ) -> bool2927     pub fn Servo_DeclarationBlock_SetPropertyById(
2928         declarations: RawServoDeclarationBlockBorrowed,
2929         property: nsCSSPropertyID,
2930         value: *const nsACString,
2931         is_important: bool,
2932         data: *mut RawGeckoURLExtraData,
2933         parsing_mode: ParsingMode,
2934         quirks_mode: nsCompatibility,
2935         loader: *mut Loader,
2936     ) -> bool;
2937 }
2938 extern "C" {
Servo_DeclarationBlock_RemoveProperty( declarations: RawServoDeclarationBlockBorrowed, property: *const nsACString, ) -> bool2939     pub fn Servo_DeclarationBlock_RemoveProperty(
2940         declarations: RawServoDeclarationBlockBorrowed,
2941         property: *const nsACString,
2942     ) -> bool;
2943 }
2944 extern "C" {
Servo_DeclarationBlock_RemovePropertyById( declarations: RawServoDeclarationBlockBorrowed, property: nsCSSPropertyID, ) -> bool2945     pub fn Servo_DeclarationBlock_RemovePropertyById(
2946         declarations: RawServoDeclarationBlockBorrowed,
2947         property: nsCSSPropertyID,
2948     ) -> bool;
2949 }
2950 extern "C" {
Servo_DeclarationBlock_HasCSSWideKeyword( declarations: RawServoDeclarationBlockBorrowed, property: nsCSSPropertyID, ) -> bool2951     pub fn Servo_DeclarationBlock_HasCSSWideKeyword(
2952         declarations: RawServoDeclarationBlockBorrowed,
2953         property: nsCSSPropertyID,
2954     ) -> bool;
2955 }
2956 extern "C" {
Servo_AnimationCompose( animation_values: RawServoAnimationValueMapBorrowedMut, base_values: RawServoAnimationValueTableBorrowed, property: nsCSSPropertyID, animation_segment: RawGeckoAnimationPropertySegmentBorrowed, last_segment: RawGeckoAnimationPropertySegmentBorrowed, computed_timing: RawGeckoComputedTimingBorrowed, iter_composite: IterationCompositeOperation, )2957     pub fn Servo_AnimationCompose(
2958         animation_values: RawServoAnimationValueMapBorrowedMut,
2959         base_values: RawServoAnimationValueTableBorrowed,
2960         property: nsCSSPropertyID,
2961         animation_segment: RawGeckoAnimationPropertySegmentBorrowed,
2962         last_segment: RawGeckoAnimationPropertySegmentBorrowed,
2963         computed_timing: RawGeckoComputedTimingBorrowed,
2964         iter_composite: IterationCompositeOperation,
2965     );
2966 }
2967 extern "C" {
Servo_ComposeAnimationSegment( animation_segment: RawGeckoAnimationPropertySegmentBorrowed, underlying_value: RawServoAnimationValueBorrowedOrNull, last_value: RawServoAnimationValueBorrowedOrNull, iter_composite: IterationCompositeOperation, progress: f64, current_iteration: u64, ) -> RawServoAnimationValueStrong2968     pub fn Servo_ComposeAnimationSegment(
2969         animation_segment: RawGeckoAnimationPropertySegmentBorrowed,
2970         underlying_value: RawServoAnimationValueBorrowedOrNull,
2971         last_value: RawServoAnimationValueBorrowedOrNull,
2972         iter_composite: IterationCompositeOperation,
2973         progress: f64,
2974         current_iteration: u64,
2975     ) -> RawServoAnimationValueStrong;
2976 }
2977 extern "C" {
Servo_DeclarationBlock_PropertyIsSet( declarations: RawServoDeclarationBlockBorrowed, property: nsCSSPropertyID, ) -> bool2978     pub fn Servo_DeclarationBlock_PropertyIsSet(
2979         declarations: RawServoDeclarationBlockBorrowed,
2980         property: nsCSSPropertyID,
2981     ) -> bool;
2982 }
2983 extern "C" {
Servo_DeclarationBlock_SetIdentStringValue( declarations: RawServoDeclarationBlockBorrowed, property: nsCSSPropertyID, value: *mut nsAtom, )2984     pub fn Servo_DeclarationBlock_SetIdentStringValue(
2985         declarations: RawServoDeclarationBlockBorrowed,
2986         property: nsCSSPropertyID,
2987         value: *mut nsAtom,
2988     );
2989 }
2990 extern "C" {
Servo_DeclarationBlock_SetKeywordValue( declarations: RawServoDeclarationBlockBorrowed, property: nsCSSPropertyID, value: i32, )2991     pub fn Servo_DeclarationBlock_SetKeywordValue(
2992         declarations: RawServoDeclarationBlockBorrowed,
2993         property: nsCSSPropertyID,
2994         value: i32,
2995     );
2996 }
2997 extern "C" {
Servo_DeclarationBlock_SetIntValue( declarations: RawServoDeclarationBlockBorrowed, property: nsCSSPropertyID, value: i32, )2998     pub fn Servo_DeclarationBlock_SetIntValue(
2999         declarations: RawServoDeclarationBlockBorrowed,
3000         property: nsCSSPropertyID,
3001         value: i32,
3002     );
3003 }
3004 extern "C" {
Servo_DeclarationBlock_SetPixelValue( declarations: RawServoDeclarationBlockBorrowed, property: nsCSSPropertyID, value: f32, )3005     pub fn Servo_DeclarationBlock_SetPixelValue(
3006         declarations: RawServoDeclarationBlockBorrowed,
3007         property: nsCSSPropertyID,
3008         value: f32,
3009     );
3010 }
3011 extern "C" {
Servo_DeclarationBlock_SetLengthValue( declarations: RawServoDeclarationBlockBorrowed, property: nsCSSPropertyID, value: f32, unit: nsCSSUnit, )3012     pub fn Servo_DeclarationBlock_SetLengthValue(
3013         declarations: RawServoDeclarationBlockBorrowed,
3014         property: nsCSSPropertyID,
3015         value: f32,
3016         unit: nsCSSUnit,
3017     );
3018 }
3019 extern "C" {
Servo_DeclarationBlock_SetNumberValue( declarations: RawServoDeclarationBlockBorrowed, property: nsCSSPropertyID, value: f32, )3020     pub fn Servo_DeclarationBlock_SetNumberValue(
3021         declarations: RawServoDeclarationBlockBorrowed,
3022         property: nsCSSPropertyID,
3023         value: f32,
3024     );
3025 }
3026 extern "C" {
Servo_DeclarationBlock_SetPercentValue( declarations: RawServoDeclarationBlockBorrowed, property: nsCSSPropertyID, value: f32, )3027     pub fn Servo_DeclarationBlock_SetPercentValue(
3028         declarations: RawServoDeclarationBlockBorrowed,
3029         property: nsCSSPropertyID,
3030         value: f32,
3031     );
3032 }
3033 extern "C" {
Servo_DeclarationBlock_SetAutoValue( declarations: RawServoDeclarationBlockBorrowed, property: nsCSSPropertyID, )3034     pub fn Servo_DeclarationBlock_SetAutoValue(
3035         declarations: RawServoDeclarationBlockBorrowed,
3036         property: nsCSSPropertyID,
3037     );
3038 }
3039 extern "C" {
Servo_DeclarationBlock_SetCurrentColor( declarations: RawServoDeclarationBlockBorrowed, property: nsCSSPropertyID, )3040     pub fn Servo_DeclarationBlock_SetCurrentColor(
3041         declarations: RawServoDeclarationBlockBorrowed,
3042         property: nsCSSPropertyID,
3043     );
3044 }
3045 extern "C" {
Servo_DeclarationBlock_SetColorValue( declarations: RawServoDeclarationBlockBorrowed, property: nsCSSPropertyID, value: nscolor, )3046     pub fn Servo_DeclarationBlock_SetColorValue(
3047         declarations: RawServoDeclarationBlockBorrowed,
3048         property: nsCSSPropertyID,
3049         value: nscolor,
3050     );
3051 }
3052 extern "C" {
Servo_DeclarationBlock_SetFontFamily( declarations: RawServoDeclarationBlockBorrowed, value: *const nsAString, )3053     pub fn Servo_DeclarationBlock_SetFontFamily(
3054         declarations: RawServoDeclarationBlockBorrowed,
3055         value: *const nsAString,
3056     );
3057 }
3058 extern "C" {
Servo_DeclarationBlock_SetTextDecorationColorOverride( declarations: RawServoDeclarationBlockBorrowed, )3059     pub fn Servo_DeclarationBlock_SetTextDecorationColorOverride(
3060         declarations: RawServoDeclarationBlockBorrowed,
3061     );
3062 }
3063 extern "C" {
Servo_DeclarationBlock_SetBackgroundImage( declarations: RawServoDeclarationBlockBorrowed, value: *const nsAString, extra_data: *mut RawGeckoURLExtraData, )3064     pub fn Servo_DeclarationBlock_SetBackgroundImage(
3065         declarations: RawServoDeclarationBlockBorrowed,
3066         value: *const nsAString,
3067         extra_data: *mut RawGeckoURLExtraData,
3068     );
3069 }
3070 extern "C" {
Servo_MediaList_Create() -> RawServoMediaListStrong3071     pub fn Servo_MediaList_Create() -> RawServoMediaListStrong;
3072 }
3073 extern "C" {
Servo_MediaList_DeepClone(list: RawServoMediaListBorrowed) -> RawServoMediaListStrong3074     pub fn Servo_MediaList_DeepClone(list: RawServoMediaListBorrowed) -> RawServoMediaListStrong;
3075 }
3076 extern "C" {
Servo_MediaList_Matches( list: RawServoMediaListBorrowed, set: RawServoStyleSetBorrowed, ) -> bool3077     pub fn Servo_MediaList_Matches(
3078         list: RawServoMediaListBorrowed,
3079         set: RawServoStyleSetBorrowed,
3080     ) -> bool;
3081 }
3082 extern "C" {
Servo_MediaList_GetText(list: RawServoMediaListBorrowed, result: *mut nsAString)3083     pub fn Servo_MediaList_GetText(list: RawServoMediaListBorrowed, result: *mut nsAString);
3084 }
3085 extern "C" {
Servo_MediaList_SetText( list: RawServoMediaListBorrowed, text: *const nsACString, aCallerType: CallerType, )3086     pub fn Servo_MediaList_SetText(
3087         list: RawServoMediaListBorrowed,
3088         text: *const nsACString,
3089         aCallerType: CallerType,
3090     );
3091 }
3092 extern "C" {
Servo_MediaList_GetLength(list: RawServoMediaListBorrowed) -> u323093     pub fn Servo_MediaList_GetLength(list: RawServoMediaListBorrowed) -> u32;
3094 }
3095 extern "C" {
Servo_MediaList_GetMediumAt( list: RawServoMediaListBorrowed, index: u32, result: *mut nsAString, ) -> bool3096     pub fn Servo_MediaList_GetMediumAt(
3097         list: RawServoMediaListBorrowed,
3098         index: u32,
3099         result: *mut nsAString,
3100     ) -> bool;
3101 }
3102 extern "C" {
Servo_MediaList_AppendMedium( list: RawServoMediaListBorrowed, new_medium: *const nsACString, )3103     pub fn Servo_MediaList_AppendMedium(
3104         list: RawServoMediaListBorrowed,
3105         new_medium: *const nsACString,
3106     );
3107 }
3108 extern "C" {
Servo_MediaList_DeleteMedium( list: RawServoMediaListBorrowed, old_medium: *const nsACString, ) -> bool3109     pub fn Servo_MediaList_DeleteMedium(
3110         list: RawServoMediaListBorrowed,
3111         old_medium: *const nsACString,
3112     ) -> bool;
3113 }
3114 extern "C" {
Servo_CSSSupports2(name: *const nsACString, value: *const nsACString) -> bool3115     pub fn Servo_CSSSupports2(name: *const nsACString, value: *const nsACString) -> bool;
3116 }
3117 extern "C" {
Servo_CSSSupports(cond: *const nsACString) -> bool3118     pub fn Servo_CSSSupports(cond: *const nsACString) -> bool;
3119 }
3120 extern "C" {
Servo_ComputedValues_GetForAnonymousBox( parent_style_or_null: ServoStyleContextBorrowedOrNull, pseudo_tag: *mut nsAtom, set: RawServoStyleSetBorrowed, ) -> ServoStyleContextStrong3121     pub fn Servo_ComputedValues_GetForAnonymousBox(
3122         parent_style_or_null: ServoStyleContextBorrowedOrNull,
3123         pseudo_tag: *mut nsAtom,
3124         set: RawServoStyleSetBorrowed,
3125     ) -> ServoStyleContextStrong;
3126 }
3127 extern "C" {
Servo_ComputedValues_Inherit( set: RawServoStyleSetBorrowed, pseudo_tag: *mut nsAtom, parent_style: ServoStyleContextBorrowedOrNull, target: InheritTarget, ) -> ServoStyleContextStrong3128     pub fn Servo_ComputedValues_Inherit(
3129         set: RawServoStyleSetBorrowed,
3130         pseudo_tag: *mut nsAtom,
3131         parent_style: ServoStyleContextBorrowedOrNull,
3132         target: InheritTarget,
3133     ) -> ServoStyleContextStrong;
3134 }
3135 extern "C" {
Servo_ComputedValues_GetStyleBits(values: ServoStyleContextBorrowed) -> u643136     pub fn Servo_ComputedValues_GetStyleBits(values: ServoStyleContextBorrowed) -> u64;
3137 }
3138 extern "C" {
Servo_ComputedValues_EqualCustomProperties( first: ServoComputedDataBorrowed, second: ServoComputedDataBorrowed, ) -> bool3139     pub fn Servo_ComputedValues_EqualCustomProperties(
3140         first: ServoComputedDataBorrowed,
3141         second: ServoComputedDataBorrowed,
3142     ) -> bool;
3143 }
3144 extern "C" {
Servo_ComputedValues_GetStyleRuleList( values: ServoStyleContextBorrowed, rules: RawGeckoServoStyleRuleListBorrowedMut, )3145     pub fn Servo_ComputedValues_GetStyleRuleList(
3146         values: ServoStyleContextBorrowed,
3147         rules: RawGeckoServoStyleRuleListBorrowedMut,
3148     );
3149 }
3150 extern "C" {
Servo_Initialize(dummy_url_data: *mut RawGeckoURLExtraData)3151     pub fn Servo_Initialize(dummy_url_data: *mut RawGeckoURLExtraData);
3152 }
3153 extern "C" {
Servo_InitializeCooperativeThread()3154     pub fn Servo_InitializeCooperativeThread();
3155 }
3156 extern "C" {
Servo_Shutdown()3157     pub fn Servo_Shutdown();
3158 }
3159 extern "C" {
Servo_NoteExplicitHints( element: RawGeckoElementBorrowed, restyle_hint: nsRestyleHint, change_hint: nsChangeHint, )3160     pub fn Servo_NoteExplicitHints(
3161         element: RawGeckoElementBorrowed,
3162         restyle_hint: nsRestyleHint,
3163         change_hint: nsChangeHint,
3164     );
3165 }
3166 extern "C" {
Servo_TakeChangeHint(element: RawGeckoElementBorrowed, was_restyled: *mut bool) -> u323167     pub fn Servo_TakeChangeHint(element: RawGeckoElementBorrowed, was_restyled: *mut bool) -> u32;
3168 }
3169 extern "C" {
Servo_ResolveStyle( element: RawGeckoElementBorrowed, set: RawServoStyleSetBorrowed, ) -> ServoStyleContextStrong3170     pub fn Servo_ResolveStyle(
3171         element: RawGeckoElementBorrowed,
3172         set: RawServoStyleSetBorrowed,
3173     ) -> ServoStyleContextStrong;
3174 }
3175 extern "C" {
Servo_ResolvePseudoStyle( element: RawGeckoElementBorrowed, pseudo_type: CSSPseudoElementType, is_probe: bool, inherited_style: ServoStyleContextBorrowedOrNull, set: RawServoStyleSetBorrowed, ) -> ServoStyleContextStrong3176     pub fn Servo_ResolvePseudoStyle(
3177         element: RawGeckoElementBorrowed,
3178         pseudo_type: CSSPseudoElementType,
3179         is_probe: bool,
3180         inherited_style: ServoStyleContextBorrowedOrNull,
3181         set: RawServoStyleSetBorrowed,
3182     ) -> ServoStyleContextStrong;
3183 }
3184 extern "C" {
Servo_ComputedValues_ResolveXULTreePseudoStyle( element: RawGeckoElementBorrowed, pseudo_tag: *mut nsAtom, inherited_style: ServoStyleContextBorrowed, input_word: *const AtomArray, set: RawServoStyleSetBorrowed, ) -> ServoStyleContextStrong3185     pub fn Servo_ComputedValues_ResolveXULTreePseudoStyle(
3186         element: RawGeckoElementBorrowed,
3187         pseudo_tag: *mut nsAtom,
3188         inherited_style: ServoStyleContextBorrowed,
3189         input_word: *const AtomArray,
3190         set: RawServoStyleSetBorrowed,
3191     ) -> ServoStyleContextStrong;
3192 }
3193 extern "C" {
Servo_SetExplicitStyle( element: RawGeckoElementBorrowed, primary_style: ServoStyleContextBorrowed, )3194     pub fn Servo_SetExplicitStyle(
3195         element: RawGeckoElementBorrowed,
3196         primary_style: ServoStyleContextBorrowed,
3197     );
3198 }
3199 extern "C" {
Servo_HasAuthorSpecifiedRules( style: ServoStyleContextBorrowed, element: RawGeckoElementBorrowed, pseudo_type: CSSPseudoElementType, rule_type_mask: u32, author_colors_allowed: bool, ) -> bool3200     pub fn Servo_HasAuthorSpecifiedRules(
3201         style: ServoStyleContextBorrowed,
3202         element: RawGeckoElementBorrowed,
3203         pseudo_type: CSSPseudoElementType,
3204         rule_type_mask: u32,
3205         author_colors_allowed: bool,
3206     ) -> bool;
3207 }
3208 extern "C" {
Servo_ResolveStyleLazily( element: RawGeckoElementBorrowed, pseudo_type: CSSPseudoElementType, rule_inclusion: StyleRuleInclusion, snapshots: *const ServoElementSnapshotTable, set: RawServoStyleSetBorrowed, ) -> ServoStyleContextStrong3209     pub fn Servo_ResolveStyleLazily(
3210         element: RawGeckoElementBorrowed,
3211         pseudo_type: CSSPseudoElementType,
3212         rule_inclusion: StyleRuleInclusion,
3213         snapshots: *const ServoElementSnapshotTable,
3214         set: RawServoStyleSetBorrowed,
3215     ) -> ServoStyleContextStrong;
3216 }
3217 extern "C" {
Servo_ReparentStyle( style_to_reparent: ServoStyleContextBorrowed, parent_style: ServoStyleContextBorrowed, parent_style_ignoring_first_line: ServoStyleContextBorrowed, layout_parent_style: ServoStyleContextBorrowed, element: RawGeckoElementBorrowedOrNull, set: RawServoStyleSetBorrowed, ) -> ServoStyleContextStrong3218     pub fn Servo_ReparentStyle(
3219         style_to_reparent: ServoStyleContextBorrowed,
3220         parent_style: ServoStyleContextBorrowed,
3221         parent_style_ignoring_first_line: ServoStyleContextBorrowed,
3222         layout_parent_style: ServoStyleContextBorrowed,
3223         element: RawGeckoElementBorrowedOrNull,
3224         set: RawServoStyleSetBorrowed,
3225     ) -> ServoStyleContextStrong;
3226 }
3227 extern "C" {
Servo_TraverseSubtree( root: RawGeckoElementBorrowed, set: RawServoStyleSetBorrowed, snapshots: *const ServoElementSnapshotTable, flags: ServoTraversalFlags, ) -> bool3228     pub fn Servo_TraverseSubtree(
3229         root: RawGeckoElementBorrowed,
3230         set: RawServoStyleSetBorrowed,
3231         snapshots: *const ServoElementSnapshotTable,
3232         flags: ServoTraversalFlags,
3233     ) -> bool;
3234 }
3235 extern "C" {
Servo_AssertTreeIsClean(root: RawGeckoElementBorrowed)3236     pub fn Servo_AssertTreeIsClean(root: RawGeckoElementBorrowed);
3237 }
3238 extern "C" {
Servo_IsWorkerThread() -> bool3239     pub fn Servo_IsWorkerThread() -> bool;
3240 }
3241 extern "C" {
Servo_MaybeGCRuleTree(set: RawServoStyleSetBorrowed)3242     pub fn Servo_MaybeGCRuleTree(set: RawServoStyleSetBorrowed);
3243 }
3244 extern "C" {
Servo_StyleSet_GetBaseComputedValuesForElement( set: RawServoStyleSetBorrowed, element: RawGeckoElementBorrowed, existing_style: ServoStyleContextBorrowed, snapshots: *const ServoElementSnapshotTable, ) -> ServoStyleContextStrong3245     pub fn Servo_StyleSet_GetBaseComputedValuesForElement(
3246         set: RawServoStyleSetBorrowed,
3247         element: RawGeckoElementBorrowed,
3248         existing_style: ServoStyleContextBorrowed,
3249         snapshots: *const ServoElementSnapshotTable,
3250     ) -> ServoStyleContextStrong;
3251 }
3252 extern "C" {
Servo_StyleSet_GetComputedValuesByAddingAnimation( set: RawServoStyleSetBorrowed, element: RawGeckoElementBorrowed, existing_style: ServoStyleContextBorrowed, snapshots: *const ServoElementSnapshotTable, animation: RawServoAnimationValueBorrowed, ) -> ServoStyleContextStrong3253     pub fn Servo_StyleSet_GetComputedValuesByAddingAnimation(
3254         set: RawServoStyleSetBorrowed,
3255         element: RawGeckoElementBorrowed,
3256         existing_style: ServoStyleContextBorrowed,
3257         snapshots: *const ServoElementSnapshotTable,
3258         animation: RawServoAnimationValueBorrowed,
3259     ) -> ServoStyleContextStrong;
3260 }
3261 extern "C" {
Servo_SerializeFontValueForCanvas( declarations: RawServoDeclarationBlockBorrowed, buffer: *mut nsAString, )3262     pub fn Servo_SerializeFontValueForCanvas(
3263         declarations: RawServoDeclarationBlockBorrowed,
3264         buffer: *mut nsAString,
3265     );
3266 }
3267 extern "C" {
Servo_GetCustomPropertyValue( computed_values: ServoStyleContextBorrowed, name: *const nsAString, value: *mut nsAString, ) -> bool3268     pub fn Servo_GetCustomPropertyValue(
3269         computed_values: ServoStyleContextBorrowed,
3270         name: *const nsAString,
3271         value: *mut nsAString,
3272     ) -> bool;
3273 }
3274 extern "C" {
Servo_GetCustomPropertiesCount(computed_values: ServoStyleContextBorrowed) -> u323275     pub fn Servo_GetCustomPropertiesCount(computed_values: ServoStyleContextBorrowed) -> u32;
3276 }
3277 extern "C" {
Servo_GetCustomPropertyNameAt( arg1: ServoStyleContextBorrowed, index: u32, name: *mut nsAString, ) -> bool3278     pub fn Servo_GetCustomPropertyNameAt(
3279         arg1: ServoStyleContextBorrowed,
3280         index: u32,
3281         name: *mut nsAString,
3282     ) -> bool;
3283 }
3284 extern "C" {
Servo_ProcessInvalidations( set: RawServoStyleSetBorrowed, element: RawGeckoElementBorrowed, snapshots: *const ServoElementSnapshotTable, )3285     pub fn Servo_ProcessInvalidations(
3286         set: RawServoStyleSetBorrowed,
3287         element: RawGeckoElementBorrowed,
3288         snapshots: *const ServoElementSnapshotTable,
3289     );
3290 }
3291 extern "C" {
Servo_HasPendingRestyleAncestor(element: RawGeckoElementBorrowed) -> bool3292     pub fn Servo_HasPendingRestyleAncestor(element: RawGeckoElementBorrowed) -> bool;
3293 }
3294 extern "C" {
Servo_GetArcStringData(arg1: *const RustString, chars: *mut *const u8, len: *mut u32)3295     pub fn Servo_GetArcStringData(arg1: *const RustString, chars: *mut *const u8, len: *mut u32);
3296 }
3297 extern "C" {
Servo_ReleaseArcStringData(string: *const ServoRawOffsetArc<RustString>)3298     pub fn Servo_ReleaseArcStringData(string: *const ServoRawOffsetArc<RustString>);
3299 }
3300 extern "C" {
Servo_CloneArcStringData( string: *const ServoRawOffsetArc<RustString>, ) -> ServoRawOffsetArc<RustString>3301     pub fn Servo_CloneArcStringData(
3302         string: *const ServoRawOffsetArc<RustString>,
3303     ) -> ServoRawOffsetArc<RustString>;
3304 }
3305 extern "C" {
Servo_IsValidCSSColor(value: *const nsAString) -> bool3306     pub fn Servo_IsValidCSSColor(value: *const nsAString) -> bool;
3307 }
3308 extern "C" {
Servo_ComputeColor( set: RawServoStyleSetBorrowedOrNull, current_color: nscolor, value: *const nsAString, result_color: *mut nscolor, was_current_color: *mut bool, loader: *mut Loader, ) -> bool3309     pub fn Servo_ComputeColor(
3310         set: RawServoStyleSetBorrowedOrNull,
3311         current_color: nscolor,
3312         value: *const nsAString,
3313         result_color: *mut nscolor,
3314         was_current_color: *mut bool,
3315         loader: *mut Loader,
3316     ) -> bool;
3317 }
3318 extern "C" {
Servo_ParseIntersectionObserverRootMargin( value: *const nsAString, result: *mut nsCSSRect, ) -> bool3319     pub fn Servo_ParseIntersectionObserverRootMargin(
3320         value: *const nsAString,
3321         result: *mut nsCSSRect,
3322     ) -> bool;
3323 }
3324 extern "C" {
Servo_ParseTransformIntoMatrix( value: *const nsAString, contains_3d_transform: *mut bool, result: *mut RawGeckoGfxMatrix4x4, ) -> bool3325     pub fn Servo_ParseTransformIntoMatrix(
3326         value: *const nsAString,
3327         contains_3d_transform: *mut bool,
3328         result: *mut RawGeckoGfxMatrix4x4,
3329     ) -> bool;
3330 }
3331 extern "C" {
Servo_ParseCounterStyleName(value: *const nsACString) -> *mut nsAtom3332     pub fn Servo_ParseCounterStyleName(value: *const nsACString) -> *mut nsAtom;
3333 }
3334 extern "C" {
Servo_ParseCounterStyleDescriptor( aDescriptor: nsCSSCounterDesc, aValue: *const nsACString, aURLExtraData: *mut RawGeckoURLExtraData, aResult: *mut nsCSSValue, ) -> bool3335     pub fn Servo_ParseCounterStyleDescriptor(
3336         aDescriptor: nsCSSCounterDesc,
3337         aValue: *const nsACString,
3338         aURLExtraData: *mut RawGeckoURLExtraData,
3339         aResult: *mut nsCSSValue,
3340     ) -> bool;
3341 }
3342 extern "C" {
Servo_ParseFontDescriptor( desc_id: nsCSSFontDesc, value: *const nsAString, data: *mut RawGeckoURLExtraData, arg1: nsCSSValueBorrowedMut, ) -> bool3343     pub fn Servo_ParseFontDescriptor(
3344         desc_id: nsCSSFontDesc,
3345         value: *const nsAString,
3346         data: *mut RawGeckoURLExtraData,
3347         arg1: nsCSSValueBorrowedMut,
3348     ) -> bool;
3349 }
3350 extern "C" {
Servo_ParseFontShorthandForMatching( value: *const nsAString, data: *mut RawGeckoURLExtraData, family: *mut RefPtr<SharedFontList>, style: nsCSSValueBorrowedMut, stretch: nsCSSValueBorrowedMut, weight: nsCSSValueBorrowedMut, ) -> bool3351     pub fn Servo_ParseFontShorthandForMatching(
3352         value: *const nsAString,
3353         data: *mut RawGeckoURLExtraData,
3354         family: *mut RefPtr<SharedFontList>,
3355         style: nsCSSValueBorrowedMut,
3356         stretch: nsCSSValueBorrowedMut,
3357         weight: nsCSSValueBorrowedMut,
3358     ) -> bool;
3359 }
3360 extern "C" {
Gecko_CreateCSSErrorReporter( sheet: *mut ServoStyleSheet, loader: *mut Loader, uri: *mut nsIURI, ) -> *mut ErrorReporter3361     pub fn Gecko_CreateCSSErrorReporter(
3362         sheet: *mut ServoStyleSheet,
3363         loader: *mut Loader,
3364         uri: *mut nsIURI,
3365     ) -> *mut ErrorReporter;
3366 }
3367 extern "C" {
Gecko_DestroyCSSErrorReporter(reporter: *mut ErrorReporter)3368     pub fn Gecko_DestroyCSSErrorReporter(reporter: *mut ErrorReporter);
3369 }
3370 extern "C" {
Gecko_ReportUnexpectedCSSError( reporter: *mut ErrorReporter, message: *const ::std::os::raw::c_char, param: *const ::std::os::raw::c_char, paramLen: u32, prefix: *const ::std::os::raw::c_char, prefixParam: *const ::std::os::raw::c_char, prefixParamLen: u32, suffix: *const ::std::os::raw::c_char, source: *const ::std::os::raw::c_char, sourceLen: u32, lineNumber: u32, colNumber: u32, )3371     pub fn Gecko_ReportUnexpectedCSSError(
3372         reporter: *mut ErrorReporter,
3373         message: *const ::std::os::raw::c_char,
3374         param: *const ::std::os::raw::c_char,
3375         paramLen: u32,
3376         prefix: *const ::std::os::raw::c_char,
3377         prefixParam: *const ::std::os::raw::c_char,
3378         prefixParamLen: u32,
3379         suffix: *const ::std::os::raw::c_char,
3380         source: *const ::std::os::raw::c_char,
3381         sourceLen: u32,
3382         lineNumber: u32,
3383         colNumber: u32,
3384     );
3385 }
3386 extern "C" {
Gecko_ContentList_AppendAll( aContentList: *mut nsSimpleContentList, aElements: *mut *const RawGeckoElement, aLength: usize, )3387     pub fn Gecko_ContentList_AppendAll(
3388         aContentList: *mut nsSimpleContentList,
3389         aElements: *mut *const RawGeckoElement,
3390         aLength: usize,
3391     );
3392 }
3393 extern "C" {
Gecko_GetElementsWithId( aDocument: *const nsIDocument, aId: *mut nsAtom, ) -> *const nsTArray<*mut Element>3394     pub fn Gecko_GetElementsWithId(
3395         aDocument: *const nsIDocument,
3396         aId: *mut nsAtom,
3397     ) -> *const nsTArray<*mut Element>;
3398 }
3399 extern "C" {
Gecko_GetBoolPrefValue(pref_name: *const ::std::os::raw::c_char) -> bool3400     pub fn Gecko_GetBoolPrefValue(pref_name: *const ::std::os::raw::c_char) -> bool;
3401 }
3402 extern "C" {
Gecko_IsInServoTraversal() -> bool3403     pub fn Gecko_IsInServoTraversal() -> bool;
3404 }
3405 extern "C" {
Gecko_IsMainThread() -> bool3406     pub fn Gecko_IsMainThread() -> bool;
3407 }
3408