Name Description Size Coverage
AnimatedPropertyIDSet.h 7387 -
AnimationCollection.cpp static 2787 -
AnimationCollection.h 2290 -
AnimationCommon.h Notify the manager that the pres context is going away. 10656 -
AttributeStyles.cpp Data from presentational HTML attributes and style attributes 3598 -
AttributeStyles.h style sheet and style rule processor representing data from presentational HTML attributes 2695 -
BindgenUniquePtr.h 977 -
BuiltinCounterStyleList.inc a list of all builtin counter styles 1896 -
BuiltInStyleSheetList.inc list of user agent style sheets that GlobalStyleSheetCache manages 1670 -
BuiltInStyleSheets.h an identifier for User Agent style sheets 1067 -
CachedInheritingStyles.cpp 2900 -
CachedInheritingStyles.h 2409 -
ComputedStyle.cpp the interface (to internal code) for retrieving computed style data 21156 -
ComputedStyle.h the interface (to internal code) for retrieving computed style data 14045 -
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. 4338 -
contenteditable.css contenteditable.css is empty, see bug 1941134 338 -
CounterStyleManager.cpp 62007 -
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 17247 -
CSS.h DOM object holding utility CSS functions 9954 -
CSSContainerRule.cpp virtual 2976 -
CSSContainerRule.h 1694 -
CSSCounterStyleRule.cpp virtual 3215 -
CSSCounterStyleRule.h 1990 -
CSSCustomMediaRule.cpp virtual 3859 -
CSSCustomMediaRule.h 1687 -
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 6307 -
CSSKeyframeRule.h 1836 -
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 6207 -
CSSNestedDeclarations.h 3842 -
CSSPageRule.cpp nsDOMCSSDeclaration implementation 6817 -
CSSPageRule.h 3676 -
CSSPositionTryRule.cpp 6726 -
CSSPositionTryRule.h 3296 -
CSSPropertyId.h 3946 -
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 1411 -
CSSStartingStyleRule.cpp 1576 -
CSSStartingStyleRule.h 1703 -
CSSStyleRule.cpp nsDOMCSSDeclaration implementation 14370 -
CSSStyleRule.h 4640 -
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 8408 -
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 9507 -
FontFace.h Returns and takes ownership of the buffer storing the font data. 4500 -
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. 27100 -
FontFaceImpl.h Returns whether this object is in the specified FontFaceSet. 10534 -
FontFaceSet.cpp static 15085 -
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 25917 -
FontFaceSetDocumentImpl.h Notification method called by the nsPresContext to indicate that the refresh driver ticked and flushed style and layout. were just flushed. 3884 -
FontFaceSetImpl.cpp 30506 -
FontFaceSetImpl.h Finds an existing entry in the user font cache or creates a new user font entry for the given FontFace object. 10851 -
FontFaceSetIterator.cpp 2306 -
FontFaceSetIterator.h 1278 -
FontFaceSetWorkerImpl.cpp 12080 -
FontFaceSetWorkerImpl.h 1998 -
FontLoaderUtils.cpp static 7410 -
FontLoaderUtils.h 2647 -
FontPreloader.cpp 1222 -
FontPreloader.h 1008 -
GeckoBindings.cpp FFI functions for Servo to call into Gecko 75439 -
GeckoBindings.h FFI functions for Servo to call into Gecko 28343 -
GenerateCSSProperties.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/. */ #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 20171 -
GeneratePseudoStyleTypeList.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/. */ #ifndef CSS_PSEUDO_STYLE_TYPE #define CSS_PSEUDO_STYLE_TYPE(name, flags) /* nothing */ #define DEFINED_CSS_PSEUDO_STYLE_TYPE #endif #ifndef CSS_NON_INHERITING_ANON_BOX #define CSS_NON_INHERITING_ANON_BOX(name, flags) CSS_PSEUDO_STYLE_TYPE(name, flags) #define DEFINED_CSS_NON_INHERITING_ANON_BOX #endif #ifndef CSS_INHERITING_ANON_BOX #define CSS_INHERITING_ANON_BOX(name, flags) CSS_PSEUDO_STYLE_TYPE(name, flags) #define DEFINED_CSS_INHERITING_ANON_BOX #endif #ifndef CSS_PSEUDO_ELEMENT #define CSS_PSEUDO_ELEMENT(name, flags) CSS_PSEUDO_STYLE_TYPE(name, flags) #define DEFINED_CSS_PSEUDO_ELEMENT #endif 2444 -
GlobalStyleSheetCache.cpp 22188 -
GlobalStyleSheetCache.h 4743 -
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 2669 -
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. 5509 -
ImportScanner.cpp 6644 -
ImportScanner.h A simple best-effort scanner for @import rules for the HTML parser 3281 -
jar.mn 2253 -
LayerAnimationInfo.cpp static 1576 -
LayerAnimationInfo.h !defined(mozilla_LayerAnimationInfo_h) 3484 -
Loader.cpp loading of CSS style sheets using the network APIs 86349 -
Loader.h loading of CSS style sheets using the network APIs 26265 -
MappedDeclarationsBuilder.cpp 1477 -
MappedDeclarationsBuilder.h Representation of a declaration block used for attribute mapping 7199 -
MediaFeatureChange.h A struct defining a media feature change. 3183 -
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 3554 -
moz.build 9647 -
NonCustomCSSPropertyId.h.in 2794 -
nsAnimationManager.cpp 18819 -
nsAnimationManager.h namespace mozilla 3748 -
nsChangeHint.h constants for what needs to be recomputed in response to style changes 21261 -
nsComputedDOMStyle.cpp DOM object returned from element.getComputedStyle() 85347 -
nsComputedDOMStyle.h DOM object returned from element.getComputedStyle() 15289 -
nsCSSCounterDescList.inc 681 -
nsCSSFontDescList.inc 936 -
nsCSSPropertyIDSet.h bit vectors for sets of CSS properties 9443 -
nsCSSProps.cpp methods for dealing with CSS properties and tables of the keyword values they accept 8581 -
nsCSSProps.h methods for dealing with CSS properties and tables of the keyword values they accept 9056 -
nsCSSValue.cpp representation of simple property values within CSS declarations 3165 -
nsCSSValue.h representation of simple property values within CSS declarations 4512 -
nsCSSVisitedDependentPropList.h a list of style struct's member variables which can be visited-dependent 1650 -
nsDOMCSSAttrDeclaration.cpp DOM object for element.style 10344 -
nsDOMCSSAttrDeclaration.h DOM object for element.style 3732 -
nsDOMCSSDeclaration.cpp base class for DOM objects for element.style and cssStyleRule.style 12737 -
nsDOMCSSDeclaration.h base class for DOM objects for element.style and cssStyleRule.style 7762 -
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 1164 -
nsFontFaceLoader.cpp code for loading in @font-face defined font data 12744 -
nsFontFaceLoader.h code for loading in @font-face defined font data 2371 -
nsFontFaceUtils.cpp static 8196 -
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 5058 -
nsICSSLoaderObserver.h internal interface for observing CSS style sheet loads 1677 -
nsIPreloadedStyleSheet.idl The nsIPreloadedStyleSheet interface is an opaque interface for style sheets returned by nsIStyleSheetService.preloadSheet, and which can be passed to nsIDOMWindowUtils.addSheet. 633 -
nsIStyleSheetService.idl interface for managing user and user-agent style sheets 2621 -
nsMediaFeatures.cpp the features that media queries can test 15132 -
nsROCSSPrimitiveValue.cpp DOM object representing values in DOM computed style 3933 -
nsROCSSPrimitiveValue.h DOM object representing values in DOM computed style 1985 -
nsStyleAutoArray.h An array of objects, similar to AutoTArray<T,1> but which is memmovable. It always has length >= 1. 2492 -
nsStyleChangeList.cpp a list of the recomputation that needs to be done in response to a style change 3037 -
nsStyleChangeList.h a list of the recomputation that needs to be done in response to a style change 1552 -
nsStyleConsts.h constants used in the style struct data provided by ComputedStyle 10670 -
nsStyleSheetService.cpp implementation of interface for managing user and user-agent style sheets 10141 -
nsStyleSheetService.h implementation of interface for managing user and user-agent style sheets 2275 -
nsStyleStruct.cpp structs that contain the data provided by ComputedStyle, the internal API for computed style data for an element 146944 -
nsStyleStruct.h structs that contain the data provided by ComputedStyle, the internal API for computed style data for an element 87821 -
nsStyleStructFwd.h Forward declarations to avoid including all of nsStyleStruct.h. 2024 -
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 1681 -
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. 6783 -
nsStyleUtil.cpp 12675 -
nsStyleUtil.h Convert an author-provided floating point number to an integer (0 ... 255) appropriate for use in the alpha component of a color. 6818 -
nsTransitionManager.cpp Code to start and animate CSS transitions. 21826 -
nsTransitionManager.h Code to start and animate CSS transitions. 3669 -
PaintWorkletGlobalScope.cpp 1255 -
PaintWorkletGlobalScope.h 1062 -
PaintWorkletImpl.cpp static 1352 -
PaintWorkletImpl.h 1086 -
PostTraversalTask.cpp 1835 -
PostTraversalTask.h a task to be performed immediately after a Servo traversal 3893 -
PreferenceSheet.cpp 10611 -
PreferenceSheet.h Some prefable colors for style system use 3108 -
PreloadedStyleSheet.cpp a CSS style sheet returned from nsIStyleSheetService.preloadSheet 2668 -
PreloadedStyleSheet.h a CSS style sheet returned from nsIStyleSheetService.preloadSheet 1993 -
PseudoStyleRequest.h The pseudo style request is used to get the pseudo style of an element. This include a pseudo style type and an identifier which is used for functional pseudo style. 3263 -
PseudoStyleType.cpp static 3447 -
PseudoStyleType.h 5120 -
res -
RestyleManager.cpp 156050 -
RestyleManager.h A stack class used to pass some common restyle state in a slightly more comfortable way than a bunch of individual arguments, and that also checks that the change hint used for optimization is correctly used in debug mode. 24249 -
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 4724 -
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 4818 -
ServoBindings.toml 40709 -
ServoBindingTypes.h C++ types corresponding to Servo and Gecko types used across bindings, with some annotations to indicate ownership expectations 6642 -
ServoBoxedTypeList.inc a list of all Servo Box<T> types used across bindings, for preprocessing 1513 -
ServoComputedData.h ServoComputedData and its related types. 4234 -
ServoCSSParser.cpp CSS parsing utility functions 4245 -
ServoCSSParser.h CSS parsing utility functions 7409 -
ServoCSSRuleList.cpp representation of CSSRuleList for stylo 11887 -
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.inc 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. 6974 -
ServoStyleConstsInlines.h Some inline functions declared in cbindgen.toml 45500 -
ServoStyleSet.cpp 60162 -
ServoStyleSet.h The set of style sheets that apply to a document, backed by a Servo Stylist. A ServoStyleSet contains StyleSheets. 27263 -
ServoStyleSetInlines.h 899 -
ServoTraversalStatistics.h 929 -
ServoTypes.h types defined to pass values through Gecko_* and Servo_* FFI functions 4539 -
ServoUtils.h some utilities for Gecko to use for Servo initialization and assertions 1533 -
ShadowParts.cpp 3978 -
ShadowParts.h 1320 -
SharedStyleSheetCache.cpp 10123 -
SharedStyleSheetCache.h 3802 -
SharedSubResourceCache.cpp 5568 -
SharedSubResourceCache.h 20267 -
SheetLoadData.h Data needed to properly load a stylesheet * ******************************************* 11581 -
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 10449 -
StreamLoader.h callback method used for ReadSegments 2150 -
StyleAnimationValue.cpp Utilities for animation of computed style values 9170 -
StyleAnimationValue.h Utilities for animation of computed style values 4763 -
StyleColor.cpp 2531 -
StyleColorInlines.h Inline functions for StyleColor (aka values::computed::Color) 2342 -
StylePreloadKind.h 1845 -
StyleSheet.cpp static 49184 -
StyleSheet.h Dummy 22714 -
StyleSheetInfo.h Struct for data common to CSSStyleSheetInner and ServoStyleSheet. 2602 -
StyleSheetInlines.h 934 -
test -
TimelineCollection.cpp static 2355 -
TimelineCollection.h 2216 -
TimelineManager.cpp 6372 -
TimelineManager.h 2529 -
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 -