Name Description Size
AnimatedPropertyID.h 3019
AnimatedPropertyIDSet.h 7422
AnimationCollection.cpp static 2787
AnimationCollection.h 2352
AnimationCommon.h Notify the manager that the pres context is going away. 10559
AttributeStyles.cpp Data from presentational HTML attributes and style attributes 3641
AttributeStyles.h style sheet and style rule processor representing data from presentational HTML attributes 2727
BindgenUniquePtr.h 1021
BuiltinCounterStyleList.h a list of all builtin counter styles 1896
BuiltInStyleSheetList.h list of user agent style sheets that GlobalStyleSheetCache manages 1603
BuiltInStyleSheets.h an identifier for User Agent style sheets 1065
CachedInheritingStyles.cpp 2122
CachedInheritingStyles.h 1964
ComputedStyle.cpp the interface (to internal code) for retrieving computed style data 19065
ComputedStyle.h the interface (to internal code) for retrieving computed style data 12836
ComputedStyleInlines.h Inlined methods for ComputedStyle. Will just redirect to GeckoComputedStyle methods when compiled without stylo, but will do virtual dispatch (by checking which kind of container it is) in stylo mode. 4301
contenteditable.css contenteditable.css is empty, see bug 1941134 338
CounterStyleManager.cpp 62030
CounterStyleManager.h This method returns whether an ordinal is in the range of this counter style. Note that, it is possible that an ordinal in range is rejected by the generating algorithm. 6941
crashtests
CSS.cpp DOM object holding utility CSS functions 2272
CSS.h DOM object holding utility CSS functions 1308
CSSContainerRule.cpp virtual 2976
CSSContainerRule.h 1694
CSSCounterStyleRule.cpp virtual 3213
CSSCounterStyleRule.h 1988
CSSEnabledState.h enum for whether a CSS feature (property, pseudo-class, etc.) is enabled in a specific context 1292
CSSFontFaceRule.cpp 7621
CSSFontFaceRule.h 3432
CSSFontFeatureValuesRule.cpp CSSRule implementation 2516
CSSFontFeatureValuesRule.h 1921
CSSFontPaletteValuesRule.cpp CSSRule implementation 2381
CSSFontPaletteValuesRule.h 1818
CSSImportRule.cpp virtual 4834
CSSImportRule.h 1874
CSSKeyframeRule.cpp virtual 6305
CSSKeyframeRule.h 1832
CSSKeyframesRule.cpp 10087
CSSKeyframesRule.h 2151
CSSLayerBlockRule.cpp 2249
CSSLayerBlockRule.h 1472
CSSLayerStatementRule.cpp 2340
CSSLayerStatementRule.h 1538
CSSMarginRule.cpp nsDOMCSSDeclaration implementation 6078
CSSMarginRule.h 3293
CSSMediaRule.cpp virtual 3447
CSSMediaRule.h 1720
CSSMozDocumentRule.cpp virtual 4986
CSSMozDocumentRule.h 1773
CSSNamespaceRule.cpp 1463
CSSNamespaceRule.h 1951
CSSNestedDeclarations.cpp 6221
CSSNestedDeclarations.h 3840
CSSPageRule.cpp nsDOMCSSDeclaration implementation 6817
CSSPageRule.h 3610
CSSPositionTryRule.cpp 6376
CSSPositionTryRule.h 3038
CSSPropertyRule.cpp virtual 2125
CSSPropertyRule.h 1724
CSSPropFlags.h 2507
CSSRuleList.cpp virtual 986
CSSRuleList.h mozilla_dom_CSSRuleList_h 1160
CSSScopeRule.cpp 2173
CSSScopeRule.h 1415
CSSStartingStyleRule.cpp 1576
CSSStartingStyleRule.h 1707
CSSStyleRule.cpp nsDOMCSSDeclaration implementation 12155
CSSStyleRule.h 4499
CSSSupportsRule.cpp virtual 2458
CSSSupportsRule.h 1515
CSSValue.h DOM object representing values in DOM computed style 1314
DeclarationBlock.cpp 1032
DeclarationBlock.h representation of a declaration block in a CSS stylesheet, or of a style attribute 7796
designmode.css designmode.css is empty, see bug 1941134 253
DocumentMatchingFunction.h Enum defining the type of matching function for a @-moz-document rule condition. 797
DocumentStyleRootIterator.cpp 1325
DocumentStyleRootIterator.h DocumentStyleRootIterator traverses the roots of the document from the perspective of the Servo-backed style system. In the general case, this will first traverse the document root, followed by any document level native anonymous content. If the caller passes an element to the constructor rather than the document, that element (and nothing else) is returned from GetNextStyleRoot. 1271
ErrorReporter.cpp diagnostic reporting for CSS style sheet parser 6970
ErrorReporter.h diagnostic reporting for CSS style sheet parser 2020
FontFace.cpp 9105
FontFace.h Returns and takes ownership of the buffer storing the font data. 4318
FontFaceImpl.cpp An object that wraps a FontFace object and exposes its ArrayBuffer or ArrayBufferView data in a form the user font set can consume. 25807
FontFaceImpl.h Returns whether this object is in the specified FontFaceSet. 10534
FontFaceSet.cpp static 15141
FontFaceSet.h Notification method called by the nsPresContext to indicate that the refresh driver ticked and flushed style and layout. were just flushed. 5646
FontFaceSetDocumentImpl.cpp 25466
FontFaceSetDocumentImpl.h Notification method called by the nsPresContext to indicate that the refresh driver ticked and flushed style and layout. were just flushed. 3864
FontFaceSetImpl.cpp 30947
FontFaceSetImpl.h Finds an existing entry in the user font cache or creates a new user font entry for the given FontFace object. 10813
FontFaceSetIterator.cpp 2306
FontFaceSetIterator.h 1278
FontFaceSetWorkerImpl.cpp 12190
FontFaceSetWorkerImpl.h 1978
FontLoaderUtils.cpp static 7414
FontLoaderUtils.h 2647
FontPreloader.cpp 1222
FontPreloader.h 1008
GeckoBindings.cpp FFI functions for Servo to call into Gecko 75559
GeckoBindings.h FFI functions for Servo to call into Gecko 27900
GenerateCompositorAnimatableProperties.py /* THIS IS AN AUTOGENERATED FILE. DO NOT EDIT */ #ifndef COMPOSITOR_ANIMATABLE_PROPERTY_LIST #define COMPOSITOR_ANIMATABLE_PROPERTY_LIST { \\ 1161
GenerateComputedDOMStyleGenerated.py /* THIS IS AN AUTOGENERATED FILE. DO NOT EDIT */ /* processed file that defines entries for nsComputedDOMStyle, designed to be #included in nsComputedDOMStyle.cpp */ static constexpr size_t kEntryIndices[eCSSProperty_COUNT] = {{ {indices} }}; {asserts} static constexpr Entry kEntries[eCSSProperty_COUNT] = {{ {entries} }}; 2555
GenerateCountedUnknownProperties.py 704
GenerateCSSPropertyID.py 1353
GenerateCSSPropsGenerated.py /* THIS IS AN AUTOGENERATED FILE. DO NOT EDIT */ /* processed file that defines CSS property tables that can't be generated with the pre-processor, designed to be #included in nsCSSProps.cpp */ 3602
GenerateServoCSSPropList.py /* THIS IS AN AUTOGENERATED FILE. DO NOT EDIT */ /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /* vim: set ts=8 sts=2 et sw=2 tw=80: */ /* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at https://mozilla.org/MPL/2.0/. */ #define CSS_PROP_DOMPROP_PREFIXED(name_) \\ CSS_PROP_PUBLIC_OR_PRIVATE(Moz ## name_, name_) #ifndef CSS_PROP_LONGHAND #define CSS_PROP_LONGHAND(name_, id_, method_, flags_, pref_) /* nothing */ #define DEFINED_CSS_PROP_LONGHAND #endif #ifndef CSS_PROP_SHORTHAND #define CSS_PROP_SHORTHAND(name_, id_, method_, flags_, pref_) /* nothing */ #define DEFINED_CSS_PROP_SHORTHAND #endif #ifndef CSS_PROP_ALIAS #define CSS_PROP_ALIAS(name_, aliasid_, id_, method_, flags_, pref_) /* nothing */ #define DEFINED_CSS_PROP_ALIAS #endif 4215
GlobalStyleSheetCache.cpp 22235
GlobalStyleSheetCache.h 4775
GroupRule.cpp internal interface representing CSS style rules that contain other rules, such as @media rules 3826
GroupRule.h internal interface representing CSS style rules that contain other rules, such as @media rules 2704
ImageDocument.css This CSS stylesheet defines the rules to be applied to any ImageDocuments, including those in frames. 912
ImageLoader.cpp A class that handles style system image loads (other image loads are handled by the nodes in the content tree). 27365
ImageLoader.h NOTE: All methods must be called from the main thread unless otherwise specified. 5547
ImportScanner.cpp 6644
ImportScanner.h A simple best-effort scanner for @import rules for the HTML parser 3281
jar.mn 2191
LayerAnimationInfo.cpp static 1569
LayerAnimationInfo.h !defined(mozilla_LayerAnimationInfo_h) 3470
Loader.cpp loading of CSS style sheets using the network APIs 85428
Loader.h loading of CSS style sheets using the network APIs 26296
MappedDeclarationsBuilder.cpp 1470
MappedDeclarationsBuilder.h Representation of a declaration block used for attribute mapping 7011
MediaFeatureChange.h A struct defining a media feature change. 3185
MediaList.cpp base class for representation of media lists 5357
MediaList.h base class for representation of media lists 3031
MediaQueryList.cpp implements DOM interface for querying and observing media queries 4724
MediaQueryList.h implements DOM interface for querying and observing media queries 3586
moz.build 9515
nsAnimationManager.cpp 18856
nsAnimationManager.h namespace mozilla 3817
nsComputedDOMStyle.cpp DOM object returned from element.getComputedStyle() 85155
nsComputedDOMStyle.h DOM object returned from element.getComputedStyle() 15373
nsCSSAnonBoxes.cpp atom list for CSS anonymous boxes 1589
nsCSSAnonBoxes.h atom list for CSS anonymous boxes 2188
nsCSSAnonBoxList.h atom list for CSS anonymous boxes 7301
nsCSSCounterDescList.h 681
nsCSSFontDescList.h 936
nsCSSPropertyID.h.in 2489
nsCSSPropertyIDSet.h bit vectors for sets of CSS properties 9314
nsCSSProps.cpp methods for dealing with CSS properties and tables of the keyword values they accept 8452
nsCSSProps.h methods for dealing with CSS properties and tables of the keyword values they accept 8600
nsCSSPseudoElementList.h list of CSS pseudo-elements 6330
nsCSSPseudoElements.cpp atom list for CSS pseudo-elements 4452
nsCSSPseudoElements.h atom list for CSS pseudo-elements 5949
nsCSSValue.cpp representation of simple property values within CSS declarations 3230
nsCSSValue.h representation of simple property values within CSS declarations 4164
nsCSSVisitedDependentPropList.h a list of style struct's member variables which can be visited-dependent 1540
nsDOMCSSAttrDeclaration.cpp DOM object for element.style 10328
nsDOMCSSAttrDeclaration.h DOM object for element.style 3667
nsDOMCSSDeclaration.cpp base class for DOM objects for element.style and cssStyleRule.style 12412
nsDOMCSSDeclaration.h base class for DOM objects for element.style and cssStyleRule.style 7316
nsDOMCSSValueList.cpp DOM object representing lists of values in DOM computed style 1761
nsDOMCSSValueList.h DOM object representing lists of values in DOM computed style 1170
nsFontFaceLoader.cpp code for loading in @font-face defined font data 12722
nsFontFaceLoader.h code for loading in @font-face defined font data 2371
nsFontFaceUtils.cpp extra = 8194
nsFontFaceUtils.h helper utilities for working with downloadable fonts 747
nsICSSDeclaration.cpp Implementation of non-inline bits of nsICSSDeclaration. 804
nsICSSDeclaration.h interface for accessing style declarations using enums instead of strings, for internal use 4970
nsICSSLoaderObserver.h internal interface for observing CSS style sheet loads 1683
nsMediaFeatures.cpp the features that media queries can test 14643
nsROCSSPrimitiveValue.cpp DOM object representing values in DOM computed style 3933
nsROCSSPrimitiveValue.h DOM object representing values in DOM computed style 1991
nsStyleAutoArray.h An array of objects, similar to AutoTArray<T,1> but which is memmovable. It always has length >= 1. 2525
nsStyleConsts.h constants used in the style struct data provided by ComputedStyle 10576
nsStyleStruct.cpp structs that contain the data provided by ComputedStyle, the internal API for computed style data for an element 144408
nsStyleStruct.h structs that contain the data provided by ComputedStyle, the internal API for computed style data for an element 86272
nsStyleStructFwd.h Forward declarations to avoid including all of nsStyleStruct.h. 2270
nsStyleStructInlines.h Inline methods that belong in nsStyleStruct.h, except that they require more headers. 5456
nsStyleStructList.h list of structs that contain the data provided by ComputedStyle, the internal API for computed style data for an element 2094
nsStyleTransformMatrix.cpp A class used for intermediate representations of the transform and transform-like properties. 24663
nsStyleTransformMatrix.h A class representing three matrices that can be used for style transforms. 6839
nsStyleUtil.cpp 12949
nsStyleUtil.h Convert an author-provided floating point number to an integer (0 ... 255) appropriate for use in the alpha component of a color. 6869
nsTransitionManager.cpp Code to start and animate CSS transitions. 22025
nsTransitionManager.h Code to start and animate CSS transitions. 3685
PaintWorkletGlobalScope.cpp 1255
PaintWorkletGlobalScope.h 1062
PaintWorkletImpl.cpp static 1352
PaintWorkletImpl.h 1086
PostTraversalTask.cpp 1757
PostTraversalTask.h a task to be performed immediately after a Servo traversal 3732
PreferenceSheet.cpp 10611
PreferenceSheet.h Some prefable colors for style system use 3108
PreloadedStyleSheet.cpp a CSS style sheet returned from nsIStyleSheetService.preloadSheet 2716
PreloadedStyleSheet.h a CSS style sheet returned from nsIStyleSheetService.preloadSheet 1993
PseudoStyleType.cpp 1064
PseudoStyleType.h The psuedo style request is used to get the pseudo style of an element. This include a pseudo style type and an identidier which is used for functional pseudo style. 6263
res
Rule.cpp base class for all rule types in a CSS style sheet 5197
Rule.h base class for all rule types in a CSS style sheet 4730
RustCell.h an object with the same layout as a Rust std::cell::Cell<T> 1358
ServoBindings.h FFI functions for Gecko to call into Servo 4701
ServoBindings.toml 39529
ServoBindingTypes.h C++ types corresponding to Servo and Gecko types used across bindings, with some annotations to indicate ownership expectations 6687
ServoBoxedTypeList.h a list of all Servo Box<T> types used across bindings, for preprocessing 1513
ServoComputedData.h ServoComputedData and its related types. 3947
ServoCSSParser.cpp CSS parsing utility functions 3943
ServoCSSParser.h CSS parsing utility functions 6816
ServoCSSPropList.mako.py 4728
ServoCSSRuleList.cpp representation of CSSRuleList for stylo 11734
ServoCSSRuleList.h representation of CSSRuleList for stylo 3127
ServoElementSnapshot.cpp 2803
ServoElementSnapshot.h A bitflags enum class used to determine what data does a ServoElementSnapshot contains. 4998
ServoElementSnapshotTable.h 741
ServoLockedArcTypeList.h a list of all Servo Arc<Locked<T>> types used across bindings 1171
ServoStyleConstsForwards.h This file contains forward declarations and typedefs for types that cbindgen cannot understand but renames / prefixes, and includes for some of the types it needs. 7037
ServoStyleConstsInlines.h Some inline functions declared in cbindgen.toml 40868
ServoStyleSet.cpp 58923
ServoStyleSet.h The set of style sheets that apply to a document, backed by a Servo Stylist. A ServoStyleSet contains StyleSheets. 27051
ServoStyleSetInlines.h 899
ServoTraversalStatistics.h 929
ServoTypes.h types defined to pass values through Gecko_* and Servo_* FFI functions 4525
ServoUtils.h some utilities for Gecko to use for Servo initialization and assertions 1533
ShadowParts.cpp 3978
ShadowParts.h 1320
SharedStyleSheetCache.cpp 9883
SharedStyleSheetCache.h 3792
SharedSubResourceCache.cpp 5213
SharedSubResourceCache.h 19977
SheetLoadData.h Data needed to properly load a stylesheet * ******************************************* 12169
SheetParsingMode.h Enum defining the mode in which a sheet is to be parsed. This is usually, but not always, the same as the cascade level at which the sheet will apply (see nsStyleSet.h). Most of the Loader APIs only support loading of author sheets. Author sheets are the normal case: styles embedded in or linked from HTML pages. They are also the most restricted. User sheets can do anything author sheets can do, and also get access to a few CSS extensions that are not yet suitable for exposure on the public Web, but are very useful for expressing user style overrides, such as @-moz-document rules. XXX: eUserSheetFeatures was added in bug 1035091, but some patches in that bug never landed to use this enum value. Currently, all the features in user sheet are also available in author sheet. Agent sheets have access to all author- and user-sheet features plus more extensions that are necessary for internal use but, again, not yet suitable for exposure on the public Web. Some of these are outright unsafe to expose; in particular, incorrect styling of anonymous box pseudo-elements can violate layout invariants. 1849
StreamLoader.cpp nsIRequestObserver implementation 10958
StreamLoader.h callback method used for ReadSegments 2225
StyleAnimationValue.cpp Utilities for animation of computed style values 9349
StyleAnimationValue.h Utilities for animation of computed style values 4774
StyleColor.cpp 2531
StyleColorInlines.h Inline functions for StyleColor (aka values::computed::Color) 2342
StylePreloadKind.h 1845
StyleSheet.cpp static 49107
StyleSheet.h Dummy 23485
StyleSheetInfo.h Struct for data common to CSSStyleSheetInner and ServoStyleSheet. 3153
StyleSheetInlines.h 1284
test
TimelineCollection.cpp static 2355
TimelineCollection.h 2245
TimelineManager.cpp 6895
TimelineManager.h 2585
tools
TopLevelImageDocument.css This CSS stylesheet defines the rules to be applied to ImageDocuments that are top level (e.g. not iframes). 1552
TopLevelVideoDocument.css This CSS stylesheet defines the rules to be applied to VideoDocuments that are top level (e.g. not iframes). 901
typedom
URLExtraData.cpp thread-safe container of information for resolving url values 1662
URLExtraData.h thread-safe container of information for resolving url values 2601