Name Description Size Coverage CI issues
AnimatedPropertyIDSet.h 7230 95 %
AnimationCollection.cpp static 2666 100 %
AnimationCollection.h 2169 100 %
AnimationCommon.h Notify the manager that the pres context is going away. 10738 90 %
AttributeStyles.cpp Data from presentational HTML attributes and style attributes 3454 84 %
AttributeStyles.h style sheet and style rule processor representing data from presentational HTML attributes 2574 100 %
BindgenUniquePtr.h 856 -
BuiltinCounterStyleList.inc a list of all builtin counter styles 1775 -
BuiltInStyleSheetList.inc list of user agent style sheets that GlobalStyleSheetCache manages 1549 90 %
BuiltInStyleSheets.h an identifier for User Agent style sheets 946 100 %
CachedInheritingStyles.cpp 4742 99 %
CachedInheritingStyles.h 3379 100 %
ComputedStyle.cpp the interface (to internal code) for retrieving computed style data 20770 98 %
ComputedStyle.h the interface (to internal code) for retrieving computed style data 14884 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. 5368 100 %
contenteditable.css contenteditable.css is empty, see bug 1941134 258 -
CounterStyleManager.cpp 61897 94 %
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. 6787 88 %
crashtests -
CSS.cpp DOM object holding utility CSS functions 19760 74 %
CSS.h DOM object holding utility CSS functions 9929 -
CSSAppearanceBaseRule.cpp 1418 73 %
CSSAppearanceBaseRule.h 1595 36 %
CSSContainerRule.cpp virtual 4058 88 %
CSSContainerRule.h 1830 100 %
CSSCounterStyleRule.cpp virtual 2703 86 %
CSSCounterStyleRule.h 1856 100 %
CSSCustomMediaRule.cpp virtual 3744 78 %
CSSCustomMediaRule.h 1572 67 %
CSSEnabledState.h enum for whether a CSS feature (property, pseudo-class, etc.) is enabled in a specific context 1171 100 %
CSSFontFaceRule.cpp 7355 82 %
CSSFontFaceRule.h 3438 100 %
CSSFontFeatureValuesRule.cpp CSSRule implementation 2395 41 %
CSSFontFeatureValuesRule.h 1800 100 %
CSSFontPaletteValuesRule.cpp CSSRule implementation 2260 80 %
CSSFontPaletteValuesRule.h 1697 100 %
CSSImportRule.cpp virtual 4713 84 %
CSSImportRule.h 1753 100 %
CSSKeyframeRule.cpp virtual 5882 79 %
CSSKeyframeRule.h 1715 100 %
CSSKeyframesRule.cpp 9966 83 %
CSSKeyframesRule.h 2030 100 %
CSSLayerBlockRule.cpp 2128 74 %
CSSLayerBlockRule.h 1351 100 %
CSSLayerStatementRule.cpp 2219 81 %
CSSLayerStatementRule.h 1417 100 %
CSSMarginRule.cpp nsDOMCSSDeclaration implementation 5532 0 %
CSSMarginRule.h 3025 0 %
CSSMediaRule.cpp virtual 3326 80 %
CSSMediaRule.h 1599 100 %
CSSMozDocumentRule.cpp virtual 4686 66 %
CSSMozDocumentRule.h 1652 100 %
CSSNamespaceRule.cpp 1342 71 %
CSSNamespaceRule.h 1830 92 %
CSSNestedDeclarations.cpp 5748 76 %
CSSNestedDeclarations.h 3653 92 %
CSSPageRule.cpp nsDOMCSSDeclaration implementation 6211 88 %
CSSPageRule.h 3437 91 %
CSSPositionTryRule.cpp 6362 87 %
CSSPositionTryRule.h 3098 83 %
CSSPropertyId.h 4207 100 %
CSSPropertyRule.cpp virtual 2004 81 %
CSSPropertyRule.h 1603 100 %
CSSPropFlags.h 2273 100 %
CSSRuleList.cpp virtual 865 100 %
CSSRuleList.h mozilla_dom_CSSRuleList_h 1039 100 %
CSSScopeRule.cpp 2052 75 %
CSSScopeRule.h 1290 100 %
CSSStartingStyleRule.cpp 1455 100 %
CSSStartingStyleRule.h 1582 45 %
CSSStyleRule.cpp nsDOMCSSDeclaration implementation 14395 92 %
CSSStyleRule.h 4408 91 %
CSSSupportsRule.cpp virtual 2337 76 %
CSSSupportsRule.h 1394 100 %
CSSValue.h DOM object representing values in DOM computed style 1193 100 %
CSSViewTransitionRule.cpp 1654 100 %
CSSViewTransitionRule.h 1598 55 %
DeclarationBlock.cpp 785 0 %
DeclarationBlock.h representation of a declaration block in a CSS stylesheet, or of a style attribute 5591 100 %
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. 652 -
DocumentStyleRootIterator.cpp 1204 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. 1150 100 %
ErrorReporter.cpp diagnostic reporting for CSS style sheet parser 6602 92 %
ErrorReporter.h diagnostic reporting for CSS style sheet parser 1899 100 %
FontFace.cpp 9313 91 %
FontFace.h Returns and takes ownership of the buffer storing the font data. 4340 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. 27165 95 %
FontFaceImpl.h Returns whether this object is in the specified FontFaceSet. 10364 100 %
FontFaceSet.cpp static 14980 94 %
FontFaceSet.h Notification method called by the nsPresContext to indicate that the refresh driver ticked and flushed style and layout. were just flushed. 5262 100 %
FontFaceSetDocumentImpl.cpp 25848 89 %
FontFaceSetDocumentImpl.h Notification method called by the nsPresContext to indicate that the refresh driver ticked and flushed style and layout. were just flushed. 3763 100 %
FontFaceSetImpl.cpp 29938 92 %
FontFaceSetImpl.h Finds an existing entry in the user font cache or creates a new user font entry for the given FontFace object. 10964 52 %
FontFaceSetIterator.cpp 2185 68 %
FontFaceSetIterator.h 1157 100 %
FontFaceSetWorkerImpl.cpp 12151 85 %
FontFaceSetWorkerImpl.h 2087 100 %
FontLoaderUtils.cpp static 7468 95 %
FontLoaderUtils.h 2394 -
FontPreloader.cpp 1101 100 %
FontPreloader.h 887 100 %
GeckoBindings.cpp FFI functions for Servo to call into Gecko 75545 91 %
GeckoBindings.h FFI functions for Servo to call into Gecko 28238 -
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/. */ 22822 -
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 2453 -
GlobalStyleSheetCache.cpp 22864 86 %
GlobalStyleSheetCache.h 4290 100 %
GroupRule.cpp internal interface representing CSS style rules that contain other rules, such as @media rules 3705 90 %
GroupRule.h internal interface representing CSS style rules that contain other rules, such as @media rules 2548 50 %
ImageDocument.css This CSS stylesheet defines the rules to be applied to any ImageDocuments, including those in frames. 832 -
ImageLoader.cpp A class that handles style system image loads (other image loads are handled by the nodes in the content tree). 27252 92 %
ImageLoader.h NOTE: All methods must be called from the main thread unless otherwise specified. 5394 100 %
ImportScanner.cpp 6529 90 %
ImportScanner.h A simple best-effort scanner for @import rules for the HTML parser 3166 100 %
jar.mn 2253 -
LayerAnimationInfo.cpp static 1455 75 %
LayerAnimationInfo.h !defined(mozilla_LayerAnimationInfo_h) 3363 75 %
Loader.cpp loading of CSS style sheets using the network APIs 87131 97 %
Loader.h loading of CSS style sheets using the network APIs 25624 100 %
MappedDeclarationsBuilder.cpp 1462 76 %
MappedDeclarationsBuilder.h Representation of a declaration block used for attribute mapping 7273 100 %
MediaFeatureChange.h A struct defining a media feature change. 3062 100 %
MediaList.cpp base class for representation of media lists 5236 94 %
MediaList.h base class for representation of media lists 2910 79 %
MediaQueryList.cpp implements DOM interface for querying and observing media queries 4603 100 %
MediaQueryList.h implements DOM interface for querying and observing media queries 3433 100 %
moz.build 9799 -
NonCustomCSSPropertyId.h.in 2532 -
nsAnimationManager.cpp 29441 98 %
nsAnimationManager.h namespace mozilla 6073 97 %
nsChangeHint.h constants for what needs to be recomputed in response to style changes 21140 100 %
nsComputedDOMStyle.cpp DOM object returned from element.getComputedStyle() 87576 88 %
nsComputedDOMStyle.h DOM object returned from element.getComputedStyle() 15239 94 %
nsCSSPropertyIDSet.h bit vectors for sets of CSS properties 9557 100 %
nsCSSProps.cpp methods for dealing with CSS properties and tables of the keyword values they accept 7915 93 %
nsCSSProps.h methods for dealing with CSS properties and tables of the keyword values they accept 9563 96 %
nsCSSValue.cpp representation of simple property values within CSS declarations 3044 23 %
nsCSSValue.h representation of simple property values within CSS declarations 4337 100 %
nsCSSVisitedDependentPropList.h a list of style struct's member variables which can be visited-dependent 1529 -
nsDOMCSSAttrDeclaration.cpp DOM object for element.style 8982 98 %
nsDOMCSSAttrDeclaration.h DOM object for element.style 3531 94 %
nsDOMCSSDeclaration.cpp base class for DOM objects for element.style and cssStyleRule.style 13830 93 %
nsDOMCSSDeclaration.h base class for DOM objects for element.style and cssStyleRule.style 8542 89 %
nsDOMCSSValueList.cpp DOM object representing lists of values in DOM computed style 1640 90 %
nsDOMCSSValueList.h DOM object representing lists of values in DOM computed style 1043 50 %
nsFontFaceLoader.cpp code for loading in @font-face defined font data 12796 85 %
nsFontFaceLoader.h code for loading in @font-face defined font data 2250 50 %
nsFontFaceUtils.cpp static 8132 96 %
nsFontFaceUtils.h helper utilities for working with downloadable fonts 626 -
nsICSSDeclaration.cpp Implementation of non-inline bits of nsICSSDeclaration. 808 100 %
nsICSSDeclaration.h interface for accessing style declarations using enums instead of strings, for internal use 5004 63 %
nsICSSLoaderObserver.h internal interface for observing CSS style sheet loads 1556 -
nsIPreloadedStyleSheet.idl The nsIPreloadedStyleSheet interface is an opaque interface for style sheets returned by nsIStyleSheetService.preloadSheet, and which can be passed to nsIDOMWindowUtils.addSheet. 553 -
nsIStyleSheetService.idl interface for managing user and user-agent style sheets 2541 -
nsMediaFeatures.cpp the features that media queries can test 16056 92 %
nsROCSSPrimitiveValue.cpp DOM object representing values in DOM computed style 3812 58 %
nsROCSSPrimitiveValue.h DOM object representing values in DOM computed style 1864 100 %
nsStyleAutoArray.h An array of objects, similar to AutoTArray<T,1> but which is memmovable. It always has length >= 1. 2163 100 %
nsStyleChangeList.cpp a list of the recomputation that needs to be done in response to a style change 2916 100 %
nsStyleChangeList.h a list of the recomputation that needs to be done in response to a style change 1456 80 %
nsStyleConsts.h constants used in the style struct data provided by ComputedStyle 4121 -
nsStyleSheetService.cpp implementation of interface for managing user and user-agent style sheets 9427 87 %
nsStyleSheetService.h implementation of interface for managing user and user-agent style sheets 2140 100 %
nsStyleStruct.cpp structs that contain the data provided by ComputedStyle, the internal API for computed style data for an element 147652 96 %
nsStyleStruct.h structs that contain the data provided by ComputedStyle, the internal API for computed style data for an element 91555 97 %
nsStyleStructFwd.h Forward declarations to avoid including all of nsStyleStruct.h. 1923 100 %
nsStyleStructInlines.h Inline methods that belong in nsStyleStruct.h, except that they require more headers. 5335 99 %
nsStyleStructList.h list of structs that contain the data provided by ComputedStyle, the internal API for computed style data for an element 1560 -
nsStyleTransformMatrix.cpp A class used for intermediate representations of the transform and transform-like properties. 26680 96 %
nsStyleTransformMatrix.h A class representing three matrices that can be used for style transforms. 8161 100 %
nsStyleUtil.cpp static 12475 94 %
nsStyleUtil.h Convert an author-provided floating point number to an integer (0 ... 255) appropriate for use in the alpha component of a color. 6474 100 %
nsTransitionManager.cpp Code to start and animate CSS transitions. 22018 97 %
nsTransitionManager.h Code to start and animate CSS transitions. 3571 75 %
PaintWorkletGlobalScope.cpp 1134 83 %
PaintWorkletGlobalScope.h 941 100 %
PaintWorkletImpl.cpp static 1231 100 %
PaintWorkletImpl.h 965 100 %
PostTraversalTask.cpp 1134 100 %
PostTraversalTask.h a task to be performed immediately after a Servo traversal 2191 100 %
PreferenceSheet.cpp 10473 99 %
PreferenceSheet.h Some prefable colors for style system use 2987 100 %
PreloadedStyleSheet.cpp a CSS style sheet returned from nsIStyleSheetService.preloadSheet 2460 93 %
PreloadedStyleSheet.h a CSS style sheet returned from nsIStyleSheetService.preloadSheet 1853 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. 3199 100 %
PseudoStyleType.cpp static 3523 81 %
PseudoStyleType.h 5092 100 %
res -
RestyleManager.cpp 163021 98 %
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. 25263 95 %
Rule.cpp base class for all rule types in a CSS style sheet 5336 97 %
Rule.h base class for all rule types in a CSS style sheet 4694 100 %
RustCell.h an object with the same layout as a Rust std::cell::Cell<T> 1237 100 %
ServoBindings.h FFI functions for Gecko to call into Servo 4495 -
ServoBindings.toml 47560 -
ServoBindingTypes.h C++ types corresponding to Servo and Gecko types used across bindings, with some annotations to indicate ownership expectations 6609 95 %
ServoBoxedTypeList.inc a list of all Servo Box<T> types used across bindings, for preprocessing 1486 100 %
ServoComputedData.h ServoComputedData and its related types. 4229 100 %
ServoCSSParser.cpp CSS parsing utility functions 4773 100 %
ServoCSSParser.h CSS parsing utility functions 8795 -
ServoCSSRuleList.cpp representation of CSSRuleList for stylo 12074 81 %
ServoCSSRuleList.h representation of CSSRuleList for stylo 3006 81 %
ServoElementSnapshot.cpp 2682 98 %
ServoElementSnapshot.h A bitflags enum class used to determine what data does a ServoElementSnapshot contains. 4854 82 %
ServoElementSnapshotTable.h 620 -
ServoLockedArcTypeList.inc a list of all Servo Arc<Locked<T>> types used across bindings 1050 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. 7148 100 %
ServoStyleConstsInlines.h Some inline functions declared in cbindgen.toml 48655 99 %
ServoStyleSet.cpp 61659 94 %
ServoStyleSet.h The set of style sheets that apply to a document, backed by a Servo Stylist. A ServoStyleSet contains StyleSheets. 27741 100 %
ServoStyleSetInlines.h 778 100 %
ServoTraversalStatistics.h 783 100 %
ServoTypes.h types defined to pass values through Gecko_* and Servo_* FFI functions 4445 100 %
ServoUtils.h some utilities for Gecko to use for Servo initialization and assertions 1412 100 %
ShadowParts.cpp 3895 86 %
ShadowParts.h 1199 100 %
SharedStyleSheetCache.cpp 12080 98 %
SharedStyleSheetCache.h 3828 100 %
SharedSubResourceCache.cpp 6141 91 %
SharedSubResourceCache.h 21770 93 %
SheetLoadData.h Data needed to properly load a stylesheet * ******************************************* 11366 92 %
StreamLoader.cpp nsIRequestObserver implementation 10392 95 %
StreamLoader.h callback method used for ReadSegments 2029 100 %
StyleAnimationValue.cpp Utilities for animation of computed style values 9220 87 %
StyleAnimationValue.h Utilities for animation of computed style values 4436 100 %
StyleColor.cpp 5572 84 %
StyleColorInlines.h Inline functions for StyleColor (aka values::computed::Color) 2196 96 %
StylePreloadKind.h 1724 100 %
StyleSheet.cpp static 49323 94 %
StyleSheet.h Dummy 21653 99 %
StyleSheetInfo.h Struct for data common to CSSStyleSheetInner and ServoStyleSheet. 2718 -
StyleSheetInlines.h 836 89 %
<1%test 100 %
TimelineCollection.cpp static 2234 100 %
TimelineCollection.h 2440 100 %
TimelineManager.cpp 21082 88 %
TimelineManager.h 5868 100 %
tools -
TopLevelImageDocument.css This CSS stylesheet defines the rules to be applied to ImageDocuments that are top level (e.g. not iframes). 1472 -
TopLevelVideoDocument.css This CSS stylesheet defines the rules to be applied to VideoDocuments that are top level (e.g. not iframes). 821 -
typedom 89 %
URLExtraData.cpp thread-safe container of information for resolving url values 1591 100 %
URLExtraData.h thread-safe container of information for resolving url values 2480 100 %