Name Description Size Coverage
AnimatedPropertyIDSet.h 7387 94 %
AnimationCollection.cpp static 2787 100 %
AnimationCollection.h 2290 100 %
AnimationCommon.h Notify the manager that the pres context is going away. 10656 92 %
AttributeStyles.cpp Data from presentational HTML attributes and style attributes 3598 84 %
AttributeStyles.h style sheet and style rule processor representing data from presentational HTML attributes 2695 100 %
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 90 %
BuiltInStyleSheets.h an identifier for User Agent style sheets 1067 100 %
CachedInheritingStyles.cpp 5121 100 %
CachedInheritingStyles.h 3554 100 %
ComputedStyle.cpp the interface (to internal code) for retrieving computed style data 21156 97 %
ComputedStyle.h the interface (to internal code) for retrieving computed style data 14766 99 %
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 100 %
contenteditable.css contenteditable.css is empty, see bug 1941134 338 -
CounterStyleManager.cpp 62007 89 %
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 73 %
crashtests -
CSS.cpp DOM object holding utility CSS functions 17247 65 %
CSS.h DOM object holding utility CSS functions 9954 -
CSSContainerRule.cpp virtual 2976 83 %
CSSContainerRule.h 1694 100 %
CSSCounterStyleRule.cpp virtual 2824 86 %
CSSCounterStyleRule.h 1976 100 %
CSSCustomMediaRule.cpp virtual 3859 78 %
CSSCustomMediaRule.h 1687 67 %
CSSEnabledState.h enum for whether a CSS feature (property, pseudo-class, etc.) is enabled in a specific context 1292 100 %
CSSFontFaceRule.cpp 7476 82 %
CSSFontFaceRule.h 3569 100 %
CSSFontFeatureValuesRule.cpp CSSRule implementation 2516 41 %
CSSFontFeatureValuesRule.h 1921 100 %
CSSFontPaletteValuesRule.cpp CSSRule implementation 2381 72 %
CSSFontPaletteValuesRule.h 1818 80 %
CSSImportRule.cpp virtual 4834 84 %
CSSImportRule.h 1874 100 %
CSSKeyframeRule.cpp virtual 6307 79 %
CSSKeyframeRule.h 1836 100 %
CSSKeyframesRule.cpp 10087 83 %
CSSKeyframesRule.h 2151 100 %
CSSLayerBlockRule.cpp 2249 73 %
CSSLayerBlockRule.h 1472 100 %
CSSLayerStatementRule.cpp 2340 81 %
CSSLayerStatementRule.h 1538 100 %
CSSMarginRule.cpp nsDOMCSSDeclaration implementation 6078 0 %
CSSMarginRule.h 3293 0 %
CSSMediaRule.cpp virtual 3447 80 %
CSSMediaRule.h 1720 100 %
CSSMozDocumentRule.cpp virtual 4986 62 %
CSSMozDocumentRule.h 1773 100 %
CSSNamespaceRule.cpp 1463 71 %
CSSNamespaceRule.h 1951 92 %
CSSNestedDeclarations.cpp 6214 75 %
CSSNestedDeclarations.h 3842 91 %
CSSPageRule.cpp nsDOMCSSDeclaration implementation 6817 87 %
CSSPageRule.h 3676 90 %
CSSPositionTryRule.cpp 6726 86 %
CSSPositionTryRule.h 3296 80 %
CSSPropertyId.h 3946 92 %
CSSPropertyRule.cpp virtual 2125 81 %
CSSPropertyRule.h 1724 100 %
CSSPropFlags.h 2507 100 %
CSSRuleList.cpp virtual 986 100 %
CSSRuleList.h mozilla_dom_CSSRuleList_h 1160 100 %
CSSScopeRule.cpp 2173 75 %
CSSScopeRule.h 1411 100 %
CSSStartingStyleRule.cpp 1576 100 %
CSSStartingStyleRule.h 1703 36 %
CSSStyleRule.cpp nsDOMCSSDeclaration implementation 14370 91 %
CSSStyleRule.h 4640 90 %
CSSSupportsRule.cpp virtual 2458 76 %
CSSSupportsRule.h 1515 100 %
CSSValue.h DOM object representing values in DOM computed style 1314 100 %
DeclarationBlock.cpp 1032 0 %
DeclarationBlock.h representation of a declaration block in a CSS stylesheet, or of a style attribute 8400 94 %
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 100 %
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 100 %
ErrorReporter.cpp diagnostic reporting for CSS style sheet parser 6970 92 %
ErrorReporter.h diagnostic reporting for CSS style sheet parser 2020 100 %
FontFace.cpp 9713 89 %
FontFace.h Returns and takes ownership of the buffer storing the font data. 4500 75 %
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. 27692 94 %
FontFaceImpl.h Returns whether this object is in the specified FontFaceSet. 10517 100 %
FontFaceSet.cpp static 15085 94 %
FontFaceSet.h Notification method called by the nsPresContext to indicate that the refresh driver ticked and flushed style and layout. were just flushed. 5646 100 %
FontFaceSetDocumentImpl.cpp 25917 89 %
FontFaceSetDocumentImpl.h Notification method called by the nsPresContext to indicate that the refresh driver ticked and flushed style and layout. were just flushed. 3884 100 %
FontFaceSetImpl.cpp 30506 89 %
FontFaceSetImpl.h Finds an existing entry in the user font cache or creates a new user font entry for the given FontFace object. 10851 50 %
FontFaceSetIterator.cpp 2306 65 %
FontFaceSetIterator.h 1278 100 %
FontFaceSetWorkerImpl.cpp 12103 75 %
FontFaceSetWorkerImpl.h 1998 100 %
FontLoaderUtils.cpp static 7410 95 %
FontLoaderUtils.h 2647 -
FontPreloader.cpp 1222 100 %
FontPreloader.h 1008 100 %
GeckoBindings.cpp FFI functions for Servo to call into Gecko 76421 87 %
GeckoBindings.h FFI functions for Servo to call into Gecko 28884 -
GenerateCSSProperties.py /* THIS IS AN AUTOGENERATED FILE. DO NOT EDIT */ /* 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/. */ 22863 -
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 87 %
GlobalStyleSheetCache.h 4743 100 %
GroupRule.cpp internal interface representing CSS style rules that contain other rules, such as @media rules 3826 87 %
GroupRule.h internal interface representing CSS style rules that contain other rules, such as @media rules 2669 50 %
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 92 %
ImageLoader.h NOTE: All methods must be called from the main thread unless otherwise specified. 5509 100 %
ImportScanner.cpp 6644 90 %
ImportScanner.h A simple best-effort scanner for @import rules for the HTML parser 3281 100 %
jar.mn 2253 -
LayerAnimationInfo.cpp static 1576 75 %
LayerAnimationInfo.h !defined(mozilla_LayerAnimationInfo_h) 3484 75 %
Loader.cpp loading of CSS style sheets using the network APIs 86349 96 %
Loader.h loading of CSS style sheets using the network APIs 26265 100 %
MappedDeclarationsBuilder.cpp 1477 100 %
MappedDeclarationsBuilder.h Representation of a declaration block used for attribute mapping 7199 100 %
MediaFeatureChange.h A struct defining a media feature change. 3183 100 %
MediaList.cpp base class for representation of media lists 5357 94 %
MediaList.h base class for representation of media lists 3031 79 %
MediaQueryList.cpp implements DOM interface for querying and observing media queries 4724 100 %
MediaQueryList.h implements DOM interface for querying and observing media queries 3554 100 %
moz.build 9586 -
NonCustomCSSPropertyId.h.in 2653 -
nsAnimationManager.cpp 19250 97 %
nsAnimationManager.h namespace mozilla 3748 100 %
nsChangeHint.h constants for what needs to be recomputed in response to style changes 21261 100 %
nsComputedDOMStyle.cpp DOM object returned from element.getComputedStyle() 85347 86 %
nsComputedDOMStyle.h DOM object returned from element.getComputedStyle() 15289 95 %
nsCSSPropertyIDSet.h bit vectors for sets of CSS properties 9443 100 %
nsCSSProps.cpp methods for dealing with CSS properties and tables of the keyword values they accept 7457 93 %
nsCSSProps.h methods for dealing with CSS properties and tables of the keyword values they accept 9600 92 %
nsCSSValue.cpp representation of simple property values within CSS declarations 3165 23 %
nsCSSValue.h representation of simple property values within CSS declarations 4512 100 %
nsCSSVisitedDependentPropList.h a list of style struct's member variables which can be visited-dependent 1650 -
nsDOMCSSAttrDeclaration.cpp DOM object for element.style 10344 98 %
nsDOMCSSAttrDeclaration.h DOM object for element.style 3732 94 %
nsDOMCSSDeclaration.cpp base class for DOM objects for element.style and cssStyleRule.style 12802 91 %
nsDOMCSSDeclaration.h base class for DOM objects for element.style and cssStyleRule.style 7762 89 %
nsDOMCSSValueList.cpp DOM object representing lists of values in DOM computed style 1761 90 %
nsDOMCSSValueList.h DOM object representing lists of values in DOM computed style 1164 50 %
nsFontFaceLoader.cpp code for loading in @font-face defined font data 12744 86 %
nsFontFaceLoader.h code for loading in @font-face defined font data 2371 50 %
nsFontFaceUtils.cpp static 8196 87 %
nsFontFaceUtils.h helper utilities for working with downloadable fonts 747 -
nsICSSDeclaration.cpp Implementation of non-inline bits of nsICSSDeclaration. 804 100 %
nsICSSDeclaration.h interface for accessing style declarations using enums instead of strings, for internal use 5058 63 %
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 92 %
nsROCSSPrimitiveValue.cpp DOM object representing values in DOM computed style 3933 58 %
nsROCSSPrimitiveValue.h DOM object representing values in DOM computed style 1985 100 %
nsStyleAutoArray.h An array of objects, similar to AutoTArray<T,1> but which is memmovable. It always has length >= 1. 2492 100 %
nsStyleChangeList.cpp a list of the recomputation that needs to be done in response to a style change 3037 100 %
nsStyleChangeList.h a list of the recomputation that needs to be done in response to a style change 1552 20 %
nsStyleConsts.h constants used in the style struct data provided by ComputedStyle 10480 -
nsStyleSheetService.cpp implementation of interface for managing user and user-agent style sheets 10141 86 %
nsStyleSheetService.h implementation of interface for managing user and user-agent style sheets 2275 100 %
nsStyleStruct.cpp structs that contain the data provided by ComputedStyle, the internal API for computed style data for an element 147612 93 %
nsStyleStruct.h structs that contain the data provided by ComputedStyle, the internal API for computed style data for an element 88616 96 %
nsStyleStructFwd.h Forward declarations to avoid including all of nsStyleStruct.h. 2024 100 %
nsStyleStructInlines.h Inline methods that belong in nsStyleStruct.h, except that they require more headers. 5456 99 %
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 90 %
nsStyleTransformMatrix.h A class representing three matrices that can be used for style transforms. 6783 100 %
nsStyleUtil.cpp 12675 93 %
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 100 %
nsTransitionManager.cpp Code to start and animate CSS transitions. 21834 97 %
nsTransitionManager.h Code to start and animate CSS transitions. 3669 75 %
PaintWorkletGlobalScope.cpp 1255 83 %
PaintWorkletGlobalScope.h 1062 100 %
PaintWorkletImpl.cpp static 1352 100 %
PaintWorkletImpl.h 1086 100 %
PostTraversalTask.cpp 1835 78 %
PostTraversalTask.h a task to be performed immediately after a Servo traversal 3893 70 %
PreferenceSheet.cpp 10611 98 %
PreferenceSheet.h Some prefable colors for style system use 3108 100 %
PreloadedStyleSheet.cpp a CSS style sheet returned from nsIStyleSheetService.preloadSheet 2668 98 %
PreloadedStyleSheet.h a CSS style sheet returned from nsIStyleSheetService.preloadSheet 1993 100 %
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 100 %
PseudoStyleType.cpp static 3447 94 %
PseudoStyleType.h 5120 100 %
res -
RestyleManager.cpp 158524 97 %
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. 25134 95 %
Rule.cpp base class for all rule types in a CSS style sheet 5197 97 %
Rule.h base class for all rule types in a CSS style sheet 4724 100 %
RustCell.h an object with the same layout as a Rust std::cell::Cell<T> 1358 100 %
ServoBindings.h FFI functions for Gecko to call into Servo 4532 -
ServoBindings.toml 40773 -
ServoBindingTypes.h C++ types corresponding to Servo and Gecko types used across bindings, with some annotations to indicate ownership expectations 6642 94 %
ServoBoxedTypeList.inc a list of all Servo Box<T> types used across bindings, for preprocessing 1607 100 %
ServoComputedData.h ServoComputedData and its related types. 4234 100 %
ServoCSSParser.cpp CSS parsing utility functions 4245 100 %
ServoCSSParser.h CSS parsing utility functions 7409 -
ServoCSSRuleList.cpp representation of CSSRuleList for stylo 11887 82 %
ServoCSSRuleList.h representation of CSSRuleList for stylo 3127 81 %
ServoElementSnapshot.cpp 2803 98 %
ServoElementSnapshot.h A bitflags enum class used to determine what data does a ServoElementSnapshot contains. 4998 76 %
ServoElementSnapshotTable.h 741 -
ServoLockedArcTypeList.inc a list of all Servo Arc<Locked<T>> types used across bindings 1171 100 %
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. 7191 100 %
ServoStyleConstsInlines.h Some inline functions declared in cbindgen.toml 45938 94 %
ServoStyleSet.cpp 61278 93 %
ServoStyleSet.h The set of style sheets that apply to a document, backed by a Servo Stylist. A ServoStyleSet contains StyleSheets. 27263 100 %
ServoStyleSetInlines.h 899 100 %
ServoTraversalStatistics.h 929 100 %
ServoTypes.h types defined to pass values through Gecko_* and Servo_* FFI functions 4566 100 %
ServoUtils.h some utilities for Gecko to use for Servo initialization and assertions 1533 100 %
ShadowParts.cpp 3978 86 %
ShadowParts.h 1320 100 %
SharedStyleSheetCache.cpp 10136 99 %
SharedStyleSheetCache.h 4125 100 %
SharedSubResourceCache.cpp 6262 91 %
SharedSubResourceCache.h 21862 89 %
SheetLoadData.h Data needed to properly load a stylesheet * ******************************************* 11581 92 %
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 95 %
StreamLoader.h callback method used for ReadSegments 2150 100 %
StyleAnimationValue.cpp Utilities for animation of computed style values 9170 90 %
StyleAnimationValue.h Utilities for animation of computed style values 4763 100 %
StyleColor.cpp 2531 92 %
StyleColorInlines.h Inline functions for StyleColor (aka values::computed::Color) 2342 96 %
StylePreloadKind.h 1845 100 %
StyleSheet.cpp static 49272 93 %
StyleSheet.h Dummy 22714 99 %
StyleSheetInfo.h Struct for data common to CSSStyleSheetInner and ServoStyleSheet. 2602 -
StyleSheetInlines.h 934 78 %
test 0 %
TimelineCollection.cpp static 2355 100 %
TimelineCollection.h 2216 100 %
TimelineManager.cpp 14807 90 %
TimelineManager.h 5747 100 %
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 81 %
URLExtraData.cpp thread-safe container of information for resolving url values 1662 100 %
URLExtraData.h thread-safe container of information for resolving url values 2601 100 %