Name Description Size Coverage
AnimatedPropertyIDSet.h 7231 94 %
AnimationCollection.cpp static 2666 100 %
AnimationCollection.h 2169 100 %
AnimationCommon.h Notify the manager that the pres context is going away. 10535 92 %
AttributeStyles.cpp Data from presentational HTML attributes and style attributes 3477 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 4534 100 %
CachedInheritingStyles.h 3548 100 %
ComputedStyle.cpp the interface (to internal code) for retrieving computed style data 21035 97 %
ComputedStyle.h the interface (to internal code) for retrieving computed style data 14597 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 61886 88 %
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. 6820 73 %
crashtests -
CSS.cpp DOM object holding utility CSS functions 17126 65 %
CSS.h DOM object holding utility CSS functions 9833 -
CSSAppearanceBaseRule.cpp 1539 70 %
CSSAppearanceBaseRule.h 1716 36 %
CSSContainerRule.cpp virtual 2855 83 %
CSSContainerRule.h 1573 100 %
CSSCounterStyleRule.cpp virtual 2703 86 %
CSSCounterStyleRule.h 1855 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 3448 100 %
CSSFontFeatureValuesRule.cpp CSSRule implementation 2395 41 %
CSSFontFeatureValuesRule.h 1800 100 %
CSSFontPaletteValuesRule.cpp CSSRule implementation 2260 72 %
CSSFontPaletteValuesRule.h 1697 80 %
CSSImportRule.cpp virtual 4713 84 %
CSSImportRule.h 1753 100 %
CSSKeyframeRule.cpp virtual 6186 79 %
CSSKeyframeRule.h 1715 100 %
CSSKeyframesRule.cpp 9966 83 %
CSSKeyframesRule.h 2030 100 %
CSSLayerBlockRule.cpp 2128 73 %
CSSLayerBlockRule.h 1351 100 %
CSSLayerStatementRule.cpp 2219 81 %
CSSLayerStatementRule.h 1417 100 %
CSSMarginRule.cpp nsDOMCSSDeclaration implementation 5963 0 %
CSSMarginRule.h 3178 0 %
CSSMediaRule.cpp virtual 3326 80 %
CSSMediaRule.h 1599 100 %
CSSMozDocumentRule.cpp virtual 4865 48 %
CSSMozDocumentRule.h 1652 100 %
CSSNamespaceRule.cpp 1342 71 %
CSSNamespaceRule.h 1830 92 %
CSSNestedDeclarations.cpp 6093 75 %
CSSNestedDeclarations.h 3721 91 %
CSSPageRule.cpp nsDOMCSSDeclaration implementation 6696 87 %
CSSPageRule.h 3555 90 %
CSSPositionTryRule.cpp 6646 86 %
CSSPositionTryRule.h 3216 80 %
CSSPropertyId.h 3801 92 %
CSSPropertyRule.cpp virtual 2004 81 %
CSSPropertyRule.h 1603 100 %
CSSPropFlags.h 2386 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 36 %
CSSStyleRule.cpp nsDOMCSSDeclaration implementation 14289 91 %
CSSStyleRule.h 4519 90 %
CSSSupportsRule.cpp virtual 2337 76 %
CSSSupportsRule.h 1394 100 %
CSSValue.h DOM object representing values in DOM computed style 1193 100 %
DeclarationBlock.cpp 911 0 %
DeclarationBlock.h representation of a declaration block in a CSS stylesheet, or of a style attribute 8279 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. 676 -
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 6849 92 %
ErrorReporter.h diagnostic reporting for CSS style sheet parser 1899 100 %
FontFace.cpp 9592 88 %
FontFace.h Returns and takes ownership of the buffer storing the font data. 4341 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. 27571 94 %
FontFaceImpl.h Returns whether this object is in the specified FontFaceSet. 10319 100 %
FontFaceSet.cpp static 14964 94 %
FontFaceSet.h Notification method called by the nsPresContext to indicate that the refresh driver ticked and flushed style and layout. were just flushed. 5525 100 %
FontFaceSetDocumentImpl.cpp 25796 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 30385 89 %
FontFaceSetImpl.h Finds an existing entry in the user font cache or creates a new user font entry for the given FontFace object. 10730 50 %
FontFaceSetIterator.cpp 2185 68 %
FontFaceSetIterator.h 1157 100 %
FontFaceSetWorkerImpl.cpp 11982 75 %
FontFaceSetWorkerImpl.h 1877 100 %
FontLoaderUtils.cpp static 7289 95 %
FontLoaderUtils.h 2526 -
FontPreloader.cpp 1101 100 %
FontPreloader.h 887 100 %
GeckoBindings.cpp FFI functions for Servo to call into Gecko 76339 86 %
GeckoBindings.h FFI functions for Servo to call into Gecko 28763 -
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 22067 87 %
GlobalStyleSheetCache.h 4622 100 %
GroupRule.cpp internal interface representing CSS style rules that contain other rules, such as @media rules 3705 87 %
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). 27244 92 %
ImageLoader.h NOTE: All methods must be called from the main thread unless otherwise specified. 5388 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 86228 97 %
Loader.h loading of CSS style sheets using the network APIs 26144 100 %
MappedDeclarationsBuilder.cpp 1833 80 %
MappedDeclarationsBuilder.h Representation of a declaration block used for attribute mapping 7078 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 9561 -
NonCustomCSSPropertyId.h.in 2532 -
nsAnimationManager.cpp 19129 97 %
nsAnimationManager.h namespace mozilla 3627 100 %
nsChangeHint.h constants for what needs to be recomputed in response to style changes 21140 100 %
nsComputedDOMStyle.cpp DOM object returned from element.getComputedStyle() 85628 87 %
nsComputedDOMStyle.h DOM object returned from element.getComputedStyle() 14903 94 %
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 7336 93 %
nsCSSProps.h methods for dealing with CSS properties and tables of the keyword values they accept 9479 92 %
nsCSSValue.cpp representation of simple property values within CSS declarations 3044 23 %
nsCSSValue.h representation of simple property values within CSS declarations 4391 100 %
nsCSSVisitedDependentPropList.h a list of style struct's member variables which can be visited-dependent 1529 -
nsDOMCSSAttrDeclaration.cpp DOM object for element.style 10223 98 %
nsDOMCSSAttrDeclaration.h DOM object for element.style 3611 94 %
nsDOMCSSDeclaration.cpp base class for DOM objects for element.style and cssStyleRule.style 12681 91 %
nsDOMCSSDeclaration.h base class for DOM objects for element.style and cssStyleRule.style 7641 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 12623 86 %
nsFontFaceLoader.h code for loading in @font-face defined font data 2250 50 %
nsFontFaceUtils.cpp static 8110 87 %
nsFontFaceUtils.h helper utilities for working with downloadable fonts 626 -
nsICSSDeclaration.cpp Implementation of non-inline bits of nsICSSDeclaration. 683 100 %
nsICSSDeclaration.h interface for accessing style declarations using enums instead of strings, for internal use 4937 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 15011 89 %
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. 2371 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 1431 20 %
nsStyleConsts.h constants used in the style struct data provided by ComputedStyle 10359 -
nsStyleSheetService.cpp implementation of interface for managing user and user-agent style sheets 10020 81 %
nsStyleSheetService.h implementation of interface for managing user and user-agent style sheets 2154 100 %
nsStyleStruct.cpp structs that contain the data provided by ComputedStyle, the internal API for computed style data for an element 147723 93 %
nsStyleStruct.h structs that contain the data provided by ComputedStyle, the internal API for computed style data for an element 88711 96 %
nsStyleStructFwd.h Forward declarations to avoid including all of nsStyleStruct.h. 1903 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. 24542 90 %
nsStyleTransformMatrix.h A class representing three matrices that can be used for style transforms. 6642 100 %
nsStyleUtil.cpp static 12554 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. 6697 100 %
nsTransitionManager.cpp Code to start and animate CSS transitions. 21752 98 %
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 1714 78 %
PostTraversalTask.h a task to be performed immediately after a Servo traversal 3772 70 %
PreferenceSheet.cpp 10490 98 %
PreferenceSheet.h Some prefable colors for style system use 2987 100 %
PreloadedStyleSheet.cpp a CSS style sheet returned from nsIStyleSheetService.preloadSheet 2547 98 %
PreloadedStyleSheet.h a CSS style sheet returned from nsIStyleSheetService.preloadSheet 1872 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. 3142 100 %
PseudoStyleType.cpp static 3326 94 %
PseudoStyleType.h 5066 100 %
res -
RestyleManager.cpp 158180 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. 25013 95 %
Rule.cpp base class for all rule types in a CSS style sheet 5135 97 %
Rule.h base class for all rule types in a CSS style sheet 4603 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 4453 -
ServoBindings.toml 40804 -
ServoBindingTypes.h C++ types corresponding to Servo and Gecko types used across bindings, with some annotations to indicate ownership expectations 6556 94 %
ServoBoxedTypeList.inc a list of all Servo Box<T> types used across bindings, for preprocessing 1486 100 %
ServoComputedData.h ServoComputedData and its related types. 4113 100 %
ServoCSSParser.cpp CSS parsing utility functions 4124 100 %
ServoCSSParser.h CSS parsing utility functions 7288 -
ServoCSSRuleList.cpp representation of CSSRuleList for stylo 11927 82 %
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. 4877 76 %
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. 7046 100 %
ServoStyleConstsInlines.h Some inline functions declared in cbindgen.toml 45871 94 %
ServoStyleSet.cpp 60983 93 %
ServoStyleSet.h The set of style sheets that apply to a document, backed by a Servo Stylist. A ServoStyleSet contains StyleSheets. 26911 100 %
ServoStyleSetInlines.h 778 100 %
ServoTraversalStatistics.h 808 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 3857 86 %
ShadowParts.h 1199 100 %
SharedStyleSheetCache.cpp 10015 99 %
SharedStyleSheetCache.h 4004 100 %
SharedSubResourceCache.cpp 6141 91 %
SharedSubResourceCache.h 21741 89 %
SheetLoadData.h Data needed to properly load a stylesheet * ******************************************* 11460 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. 1728 -
StreamLoader.cpp nsIRequestObserver implementation 10328 91 %
StreamLoader.h callback method used for ReadSegments 2029 100 %
StyleAnimationValue.cpp Utilities for animation of computed style values 9281 87 %
StyleAnimationValue.h Utilities for animation of computed style values 4473 100 %
StyleColor.cpp 2410 92 %
StyleColorInlines.h Inline functions for StyleColor (aka values::computed::Color) 2221 96 %
StylePreloadKind.h 1724 100 %
StyleSheet.cpp static 49151 92 %
StyleSheet.h Dummy 22593 99 %
StyleSheetInfo.h Struct for data common to CSSStyleSheetInner and ServoStyleSheet. 2481 -
StyleSheetInlines.h 813 78 %
test 0 %
TimelineCollection.cpp static 2234 100 %
TimelineCollection.h 2095 100 %
TimelineManager.cpp 14686 90 %
TimelineManager.h 5626 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 81 %
URLExtraData.cpp thread-safe container of information for resolving url values 1541 100 %
URLExtraData.h thread-safe container of information for resolving url values 2480 100 %