Name Description Size
AnimationCollection.cpp static 4648
AnimationCollection.h 3803
AnimationCommon.h Notify the manager that the pres context is going away. 6516
BindingStyleRule.cpp virtual 670
BindingStyleRule.h Shared superclass for mozilla::css::StyleRule and mozilla::ServoStyleRule, for use from bindings code. 2647
BuiltinCounterStyleList.h a list of all builtin counter styles 1915
CSS.cpp DOM object holding utility CSS functions 1343
CSS.h DOM object holding utility CSS functions 1095
CSSCounterStyleRule.cpp virtual 3291
CSSCounterStyleRule.h 1803
CSSEnabledState.h enum for whether a CSS feature (property, pseudo-class, etc.) is enabled in a specific context 1292
CSSFontFaceRule.cpp 7197
CSSFontFaceRule.h 3266
CSSFontFeatureValuesRule.cpp CSSRule implementation 2300
CSSFontFeatureValuesRule.h 1936
CSSImportRule.cpp virtual 3505
CSSImportRule.h 1653
CSSKeyframeRule.cpp virtual 5505
CSSKeyframeRule.h 1832
CSSKeyframesRule.cpp 8971
CSSKeyframesRule.h 1931
CSSMediaRule.cpp virtual 3295
CSSMediaRule.h 1738
CSSMozDocumentRule.cpp virtual 4513
CSSMozDocumentRule.h 1855
CSSNamespaceRule.cpp 1284
CSSNamespaceRule.h 1919
CSSPageRule.cpp nsDOMCSSDeclaration implementation 5095
CSSPageRule.h 3004
CSSPropFlags.h 2345
CSSRuleList.cpp virtual 986
CSSRuleList.h mozilla_dom_CSSRuleList_h 1187
CSSStyleRule.cpp nsDOMCSSDeclaration implementation 7424
CSSStyleRule.h 3892
CSSSupportsRule.cpp virtual 2391
CSSSupportsRule.h 1564
CSSValue.h DOM object representing values in DOM computed style 1363
CachedInheritingStyles.cpp 2122
CachedInheritingStyles.h 1964
ComputedStyle.cpp the interface (to internal code) for retrieving computed style data 17075
ComputedStyle.h the interface (to internal code) for retrieving computed style data 11596
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. 1753
CounterStyleManager.cpp 63417
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. 11376
DeclarationBlock.cpp static 1482
DeclarationBlock.h representation of a declaration block in a CSS stylesheet, or of a style attribute 8042
DocumentMatchingFunction.h Enum defining the type of matching function for a @-moz-document rule condition. 752
DocumentStyleRootIterator.cpp 1291
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 7229
ErrorReporter.h diagnostic reporting for CSS style sheet parser 2047
FontFace.cpp An object that wraps a FontFace object and exposes its ArrayBuffer or ArrayBufferView data in a form the user font set can consume. 24429
FontFace.h Returns whether this object is in the specified FontFaceSet. 10985
FontFaceSet.cpp 62326
FontFaceSet.h A gfxUserFontSet that integrates with the layout and style systems to manage @font-face rules and handle network requests for font loading. We would combine this class and FontFaceSet into the one class if it were possible; it's not because FontFaceSet is cycle collected and gfxUserFontSet isn't (and can't be, as gfx classes don't use the cycle collector). So UserFontSet exists just to override the needed virtual methods from gfxUserFontSet and to forward them on FontFaceSet. 14331
FontFaceSetIterator.cpp 2213
FontFaceSetIterator.h 1278
GeckoBindings.cpp FFI functions for Servo to call into Gecko 64143
GeckoBindings.h FFI functions for Servo to call into Gecko 27053
GenerateCSSPropertyID.py 1275
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 */ 3573
GenerateCompositorAnimatableProperties.py /* THIS IS AN AUTOGENERATED FILE. DO NOT EDIT */ #ifndef COMPOSITOR_ANIMATABLE_PROPERTY_LIST #define COMPOSITOR_ANIMATABLE_PROPERTY_LIST { \\ 1099
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 Entry kEntries[] = { 2238
GenerateCountedUnknownProperties.py 668
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_, pref_) /* nothing */ #define DEFINED_CSS_PROP_ALIAS #endif 3785
GlobalStyleSheetCache.cpp 26876
GlobalStyleSheetCache.h 4986
GroupRule.cpp internal interface representing CSS style rules that contain other rules, such as @media rules 3707
GroupRule.h internal interface representing CSS style rules that contain other rules, such as @media rules 2691
ImageDocument.css 923
ImageLoader.cpp A class that handles style system image loads (other image loads are handled by the nodes in the content tree). 26851
ImageLoader.h NOTE: All methods must be called from the main thread unless otherwise specified. 6058
ImportScanner.cpp 5667
ImportScanner.h A simple best-effort scanner for @import rules for the HTML parser 3221
LayerAnimationInfo.cpp static 1530
LayerAnimationInfo.h !defined(mozilla_LayerAnimationInfo_h) 3470
Loader.cpp loading of CSS style sheets using the network APIs 91406
Loader.h loading of CSS style sheets using the network APIs 18619
MappedDeclarations.cpp 1450
MappedDeclarations.h Representation of a declaration block used for attribute mapping 6092
MediaFeatureChange.h A struct defining a media feature change. 2547
MediaList.cpp base class for representation of media lists 5442
MediaList.h base class for representation of media lists 2926
MediaQueryList.cpp implements DOM interface for querying and observing media queries 4804
MediaQueryList.h implements DOM interface for querying and observing media queries 3058
PaintWorkletGlobalScope.cpp 1403
PaintWorkletGlobalScope.h 1107
PaintWorkletImpl.cpp static 1338
PaintWorkletImpl.h 1065
PostTraversalTask.cpp 1726
PostTraversalTask.h a task to be performed immediately after a Servo traversal 3701
PreferenceSheet.cpp 5735
PreferenceSheet.h Some prefable colors for style system use 2066
PreloadedStyleSheet.cpp a CSS style sheet returned from nsIStyleSheetService.preloadSheet 2871
PreloadedStyleSheet.h a CSS style sheet returned from nsIStyleSheetService.preloadSheet 2097
PseudoStyleType.cpp 1065
PseudoStyleType.h 3324
Rule.cpp base class for all rule types in a CSS style sheet 3846
Rule.h base class for all rule types in a CSS style sheet 4624
RustCell.h an object with the same layout as a Rust std::cell::Cell<T> 992
ServoArcTypeList.h a list of all Servo Arc<T> types used across bindings, for preprocessing 2104
ServoBindingTypes.h C++ types corresponding to Servo and Gecko types used across bindings, with some annotations to indicate ownership expectations 7058
ServoBindings.h FFI functions for Gecko to call into Servo 3523
ServoBindings.toml 28439
ServoBoxedTypeList.h a list of all Servo Box<T> types used across bindings, for preprocessing 1554
ServoCSSParser.cpp CSS parsing utility functions 3348
ServoCSSParser.h CSS parsing utility functions 4972
ServoCSSPropList.mako.py 4928
ServoCSSRuleList.cpp representation of CSSRuleList for stylo 7974
ServoCSSRuleList.h representation of CSSRuleList for stylo 2805
ServoComputedData.h ServoComputedData and its related types. 3929
ServoComputedDataInlines.h 1038
ServoElementSnapshot.cpp 1431
ServoElementSnapshot.h A bitflags enum class used to determine what data does a ServoElementSnapshot contains. 5914
ServoElementSnapshotTable.h 741
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. 5532
ServoStyleConstsInlines.h Some inline functions declared in cbindgen.toml 28568
ServoStyleSet.cpp 45077
ServoStyleSet.h The set of style sheets that apply to a document, backed by a Servo Stylist. A ServoStyleSet contains StyleSheets. 21160
ServoStyleSetInlines.h 901
ServoTraversalStatistics.h 929
ServoTypes.h types defined to pass values through Gecko_* and Servo_* FFI functions 5285
ServoUtils.h some utilities for Gecko to use for Servo initialization and assertions 1533
ShadowParts.cpp 4022
ShadowParts.h 1332
SheetLoadData.h Data needed to properly load a stylesheet * ******************************************* 8462
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 5997
StreamLoader.h callback method used for ReadSegments 1691
StyleAnimationValue.cpp Utilities for animation of computed style values 8941
StyleAnimationValue.h Utilities for animation of computed style values 4648
StyleColor.cpp 2748
StyleColorInlines.h Inline functions for StyleColor (aka values::computed::Color) 1611
StyleSheet.cpp static 46984
StyleSheet.h Dummy 21512
StyleSheetInfo.h Struct for data common to CSSStyleSheetInner and ServoStyleSheet. 3511
StyleSheetInlines.h 1130
TopLevelImageDocument.css 941
TopLevelVideoDocument.css 719
URLExtraData.cpp thread-safe container of information for resolving url values 1296
URLExtraData.h thread-safe container of information for resolving url values 2451
UserAgentStyleSheetID.h an identifier for User Agent style sheets 728
UserAgentStyleSheetList.h list of user agent style sheets that GlobalStyleSheetCache manages 1793
bindgen.toml.in 51
contenteditable.css 9342
crashtests 326
designmode.css 326
jar.mn 2330
moz.build 8366
nsAnimationManager.cpp 27278
nsAnimationManager.h namespace css 12753
nsCSSAnonBoxList.h atom list for CSS anonymous boxes 7688
nsCSSAnonBoxes.cpp atom list for CSS anonymous boxes 1652
nsCSSAnonBoxes.h atom list for CSS anonymous boxes 2210
nsCSSCounterDescList.h 681
nsCSSFontDescList.h 751
nsCSSPropertyID.h.in 2640
nsCSSPropertyIDSet.h bit vectors for sets of CSS properties 9473
nsCSSProps.cpp methods for dealing with CSS properties and tables of the keyword values they accept 6405
nsCSSProps.h methods for dealing with CSS properties and tables of the keyword values they accept 8253
nsCSSPseudoElementList.h list of CSS pseudo-elements 4991
nsCSSPseudoElements.cpp atom list for CSS pseudo-elements 5126
nsCSSPseudoElements.h atom list for CSS pseudo-elements 6223
nsCSSValue.cpp representation of simple property values within CSS declarations 4561
nsCSSValue.h representation of simple property values within CSS declarations 7189
nsCSSVisitedDependentPropList.h a list of style struct's member variables which can be visited-dependent 1540
nsComputedDOMStyle.cpp DOM object returned from element.getComputedStyle() 88414
nsComputedDOMStyle.h DOM object returned from element.getComputedStyle() 15444
nsDOMCSSAttrDeclaration.cpp DOM object for element.style 8185
nsDOMCSSAttrDeclaration.h DOM object for element.style 2999
nsDOMCSSDeclaration.cpp base class for DOM objects for element.style and cssStyleRule.style 13103
nsDOMCSSDeclaration.h base class for DOM objects for element.style and cssStyleRule.style 9245
nsDOMCSSValueList.cpp DOM object representing lists of values in DOM computed style 1896
nsDOMCSSValueList.h DOM object representing lists of values in DOM computed style 1264
nsFontFaceLoader.cpp code for loading in @font-face defined font data 12384
nsFontFaceLoader.h code for loading in @font-face defined font data 2358
nsFontFaceUtils.cpp static 7390
nsFontFaceUtils.h helper utilities for working with downloadable fonts 747
nsHTMLCSSStyleSheet.cpp style sheet and style rule processor representing style attributes 2157
nsHTMLCSSStyleSheet.h style sheet and style rule processor representing style attributes 1395
nsHTMLStyleSheet.cpp style sheet and style rule processor representing data from presentational HTML attributes 5976
nsHTMLStyleSheet.h style sheet and style rule processor representing data from presentational HTML attributes 2908
nsICSSDeclaration.cpp Implementation of non-inline bits of nsICSSDeclaration. 802
nsICSSDeclaration.h interface for accessing style declarations using enums instead of strings, for internal use 4991
nsICSSLoaderObserver.h internal interface for observing CSS style sheet loads 1930
nsMediaFeatures.cpp the features that media queries can test 15982
nsMediaFeatures.h the features that media queries can test 650
nsROCSSPrimitiveValue.cpp DOM object representing values in DOM computed style 5424
nsROCSSPrimitiveValue.h DOM object representing values in DOM computed style 2316
nsStyleAutoArray.h An array of objects, similar to AutoTArray<T,1> but which is memmovable. It always has length >= 1. 2326
nsStyleConsts.h constants used in the style struct data provided by ComputedStyle 22805
nsStyleStruct.cpp structs that contain the data provided by ComputedStyle, the internal API for computed style data for an element 130843
nsStyleStruct.h structs that contain the data provided by ComputedStyle, the internal API for computed style data for an element 71434
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. 8341
nsStyleStructList.h list of structs that contain the data provided by ComputedStyle, the internal API for computed style data for an element 2069
nsStyleTransformMatrix.cpp A class used for intermediate representations of the -moz-transform property. 32399
nsStyleTransformMatrix.h A class representing three matrices that can be used for style transforms. 8254
nsStyleUtil.cpp static 11640
nsStyleUtil.h Convert an author-provided floating point number to an integer (0 ... 255) appropriate for use in the alpha component of a color. 6909
nsTimingFunction.h 1258
nsTransitionManager.cpp Code to start and animate CSS transitions. 33631
nsTransitionManager.h Code to start and animate CSS transitions. 12104
res 29
test 361
tools 1