Name Description Size Coverage
AnimatedPropertyIDSet.h 7231 -
AnimationCollection.cpp static 2666 -
AnimationCollection.h 2169 -
AnimationCommon.h Notify the manager that the pres context is going away. 10535 -
AttributeStyles.cpp Data from presentational HTML attributes and style attributes 3454 -
AttributeStyles.h style sheet and style rule processor representing data from presentational HTML attributes 2574 -
BindgenUniquePtr.h 856 -
BuiltinCounterStyleList.inc a list of all builtin counter styles 1775 -
BuiltInStyleSheetList.inc list of user agent style sheets that GlobalStyleSheetCache manages 1482 -
BuiltInStyleSheets.h an identifier for User Agent style sheets 946 -
CachedInheritingStyles.cpp 4534 -
CachedInheritingStyles.h 3548 -
ComputedStyle.cpp the interface (to internal code) for retrieving computed style data 20752 -
ComputedStyle.h the interface (to internal code) for retrieving computed style data 14729 -
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 -
contenteditable.css contenteditable.css is empty, see bug 1941134 258 -
CounterStyleManager.cpp 61886 -
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 -
crashtests -
CSS.cpp DOM object holding utility CSS functions 16967 -
CSS.h DOM object holding utility CSS functions 9833 -
CSSAppearanceBaseRule.cpp 1418 -
CSSAppearanceBaseRule.h 1595 -
CSSContainerRule.cpp virtual 4058 -
CSSContainerRule.h 1830 -
CSSCounterStyleRule.cpp virtual 2703 -
CSSCounterStyleRule.h 1855 -
CSSCustomMediaRule.cpp virtual 3744 -
CSSCustomMediaRule.h 1572 -
CSSEnabledState.h enum for whether a CSS feature (property, pseudo-class, etc.) is enabled in a specific context 1171 -
CSSFontFaceRule.cpp 7355 -
CSSFontFaceRule.h 3448 -
CSSFontFeatureValuesRule.cpp CSSRule implementation 2395 -
CSSFontFeatureValuesRule.h 1800 -
CSSFontPaletteValuesRule.cpp CSSRule implementation 2260 -
CSSFontPaletteValuesRule.h 1697 -
CSSImportRule.cpp virtual 4713 -
CSSImportRule.h 1753 -
CSSKeyframeRule.cpp virtual 6186 -
CSSKeyframeRule.h 1715 -
CSSKeyframesRule.cpp 9966 -
CSSKeyframesRule.h 2030 -
CSSLayerBlockRule.cpp 2128 -
CSSLayerBlockRule.h 1351 -
CSSLayerStatementRule.cpp 2219 -
CSSLayerStatementRule.h 1417 -
CSSMarginRule.cpp nsDOMCSSDeclaration implementation 5963 -
CSSMarginRule.h 3178 -
CSSMediaRule.cpp virtual 3326 -
CSSMediaRule.h 1599 -
CSSMozDocumentRule.cpp virtual 4865 -
CSSMozDocumentRule.h 1652 -
CSSNamespaceRule.cpp 1342 -
CSSNamespaceRule.h 1830 -
CSSNestedDeclarations.cpp 6093 -
CSSNestedDeclarations.h 3721 -
CSSPageRule.cpp nsDOMCSSDeclaration implementation 6696 -
CSSPageRule.h 3555 -
CSSPositionTryRule.cpp 6646 -
CSSPositionTryRule.h 3216 -
CSSPropertyId.h 3801 -
CSSPropertyRule.cpp virtual 2004 -
CSSPropertyRule.h 1603 -
CSSPropFlags.h 2386 -
CSSRuleList.cpp virtual 865 -
CSSRuleList.h mozilla_dom_CSSRuleList_h 1039 -
CSSScopeRule.cpp 2052 -
CSSScopeRule.h 1290 -
CSSStartingStyleRule.cpp 1455 -
CSSStartingStyleRule.h 1582 -
CSSStyleRule.cpp nsDOMCSSDeclaration implementation 14321 -
CSSStyleRule.h 4516 -
CSSSupportsRule.cpp virtual 2337 -
CSSSupportsRule.h 1394 -
CSSValue.h DOM object representing values in DOM computed style 1193 -
CSSViewTransitionRule.cpp 1654 -
CSSViewTransitionRule.h 1598 -
DeclarationBlock.cpp 911 -
DeclarationBlock.h representation of a declaration block in a CSS stylesheet, or of a style attribute 8298 -
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 -
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 -
ErrorReporter.cpp diagnostic reporting for CSS style sheet parser 6849 -
ErrorReporter.h diagnostic reporting for CSS style sheet parser 1899 -
FontFace.cpp 9289 -
FontFace.h Returns and takes ownership of the buffer storing the font data. 4344 -
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. 27658 -
FontFaceImpl.h Returns whether this object is in the specified FontFaceSet. 10368 -
FontFaceSet.cpp static 14984 -
FontFaceSet.h Notification method called by the nsPresContext to indicate that the refresh driver ticked and flushed style and layout. were just flushed. 5525 -
FontFaceSetDocumentImpl.cpp 25842 -
FontFaceSetDocumentImpl.h Notification method called by the nsPresContext to indicate that the refresh driver ticked and flushed style and layout. were just flushed. 3763 -
FontFaceSetImpl.cpp 30009 -
FontFaceSetImpl.h Finds an existing entry in the user font cache or creates a new user font entry for the given FontFace object. 10832 -
FontFaceSetIterator.cpp 2185 -
FontFaceSetIterator.h 1157 -
FontFaceSetWorkerImpl.cpp 11982 -
FontFaceSetWorkerImpl.h 1877 -
FontLoaderUtils.cpp static 7289 -
FontLoaderUtils.h 2526 -
FontPreloader.cpp 1101 -
FontPreloader.h 887 -
GeckoBindings.cpp FFI functions for Servo to call into Gecko 75806 -
GeckoBindings.h FFI functions for Servo to call into Gecko 28701 -
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/. */ 22913 -
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 -
GlobalStyleSheetCache.h 4622 -
GroupRule.cpp internal interface representing CSS style rules that contain other rules, such as @media rules 3705 -
GroupRule.h internal interface representing CSS style rules that contain other rules, such as @media rules 2548 -
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 -
ImageLoader.h NOTE: All methods must be called from the main thread unless otherwise specified. 5388 -
ImportScanner.cpp 6529 -
ImportScanner.h A simple best-effort scanner for @import rules for the HTML parser 3166 -
jar.mn 2191 -
LayerAnimationInfo.cpp static 1455 -
LayerAnimationInfo.h !defined(mozilla_LayerAnimationInfo_h) 3363 -
Loader.cpp loading of CSS style sheets using the network APIs 86160 -
Loader.h loading of CSS style sheets using the network APIs 26145 -
MappedDeclarationsBuilder.cpp 1462 -
MappedDeclarationsBuilder.h Representation of a declaration block used for attribute mapping 7078 -
MediaFeatureChange.h A struct defining a media feature change. 3062 -
MediaList.cpp base class for representation of media lists 5236 -
MediaList.h base class for representation of media lists 2910 -
MediaQueryList.cpp implements DOM interface for querying and observing media queries 4603 -
MediaQueryList.h implements DOM interface for querying and observing media queries 3433 -
moz.build 9625 -
NonCustomCSSPropertyId.h.in 2532 -
nsAnimationManager.cpp 25202 -
nsAnimationManager.h namespace mozilla 4499 -
nsChangeHint.h constants for what needs to be recomputed in response to style changes 21140 -
nsComputedDOMStyle.cpp DOM object returned from element.getComputedStyle() 86467 -
nsComputedDOMStyle.h DOM object returned from element.getComputedStyle() 14982 -
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 7336 -
nsCSSProps.h methods for dealing with CSS properties and tables of the keyword values they accept 9479 -
nsCSSValue.cpp representation of simple property values within CSS declarations 3044 -
nsCSSValue.h representation of simple property values within CSS declarations 4391 -
nsCSSVisitedDependentPropList.h a list of style struct's member variables which can be visited-dependent 1529 -
nsDOMCSSAttrDeclaration.cpp DOM object for element.style 10223 -
nsDOMCSSAttrDeclaration.h DOM object for element.style 3611 -
nsDOMCSSDeclaration.cpp base class for DOM objects for element.style and cssStyleRule.style 14028 -
nsDOMCSSDeclaration.h base class for DOM objects for element.style and cssStyleRule.style 8296 -
nsDOMCSSValueList.cpp DOM object representing lists of values in DOM computed style 1640 -
nsDOMCSSValueList.h DOM object representing lists of values in DOM computed style 1043 -
nsFontFaceLoader.cpp code for loading in @font-face defined font data 12785 -
nsFontFaceLoader.h code for loading in @font-face defined font data 2250 -
nsFontFaceUtils.cpp static 8110 -
nsFontFaceUtils.h helper utilities for working with downloadable fonts 626 -
nsICSSDeclaration.cpp Implementation of non-inline bits of nsICSSDeclaration. 683 -
nsICSSDeclaration.h interface for accessing style declarations using enums instead of strings, for internal use 4937 -
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 15299 -
nsROCSSPrimitiveValue.cpp DOM object representing values in DOM computed style 3812 -
nsROCSSPrimitiveValue.h DOM object representing values in DOM computed style 1864 -
nsStyleAutoArray.h An array of objects, similar to AutoTArray<T,1> but which is memmovable. It always has length >= 1. 2371 -
nsStyleChangeList.cpp a list of the recomputation that needs to be done in response to a style change 2916 -
nsStyleChangeList.h a list of the recomputation that needs to be done in response to a style change 1432 -
nsStyleConsts.h constants used in the style struct data provided by ComputedStyle 10336 -
nsStyleSheetService.cpp implementation of interface for managing user and user-agent style sheets 10020 -
nsStyleSheetService.h implementation of interface for managing user and user-agent style sheets 2154 -
nsStyleStruct.cpp structs that contain the data provided by ComputedStyle, the internal API for computed style data for an element 147333 -
nsStyleStruct.h structs that contain the data provided by ComputedStyle, the internal API for computed style data for an element 89071 -
nsStyleStructFwd.h Forward declarations to avoid including all of nsStyleStruct.h. 1903 -
nsStyleStructInlines.h Inline methods that belong in nsStyleStruct.h, except that they require more headers. 5335 -
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 -
nsStyleTransformMatrix.h A class representing three matrices that can be used for style transforms. 6642 -
nsStyleUtil.cpp static 12535 -
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 -
nsTransitionManager.cpp Code to start and animate CSS transitions. 21761 -
nsTransitionManager.h Code to start and animate CSS transitions. 3571 -
PaintWorkletGlobalScope.cpp 1134 -
PaintWorkletGlobalScope.h 941 -
PaintWorkletImpl.cpp static 1231 -
PaintWorkletImpl.h 965 -
PostTraversalTask.cpp 1126 -
PostTraversalTask.h a task to be performed immediately after a Servo traversal 2191 -
PreferenceSheet.cpp 10490 -
PreferenceSheet.h Some prefable colors for style system use 2987 -
PreloadedStyleSheet.cpp a CSS style sheet returned from nsIStyleSheetService.preloadSheet 2547 -
PreloadedStyleSheet.h a CSS style sheet returned from nsIStyleSheetService.preloadSheet 1872 -
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 -
PseudoStyleType.cpp static 3326 -
PseudoStyleType.h 5066 -
res -
RestyleManager.cpp 157858 -
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 -
Rule.cpp base class for all rule types in a CSS style sheet 5142 -
Rule.h base class for all rule types in a CSS style sheet 4603 -
RustCell.h an object with the same layout as a Rust std::cell::Cell<T> 1237 -
ServoBindings.h FFI functions for Gecko to call into Servo 4495 -
ServoBindings.toml 40816 -
ServoBindingTypes.h C++ types corresponding to Servo and Gecko types used across bindings, with some annotations to indicate ownership expectations 6591 -
ServoBoxedTypeList.inc a list of all Servo Box<T> types used across bindings, for preprocessing 1486 -
ServoComputedData.h ServoComputedData and its related types. 4229 -
ServoCSSParser.cpp CSS parsing utility functions 4124 -
ServoCSSParser.h CSS parsing utility functions 7288 -
ServoCSSRuleList.cpp representation of CSSRuleList for stylo 12088 -
ServoCSSRuleList.h representation of CSSRuleList for stylo 3006 -
ServoElementSnapshot.cpp 2682 -
ServoElementSnapshot.h A bitflags enum class used to determine what data does a ServoElementSnapshot contains. 4854 -
ServoElementSnapshotTable.h 620 -
ServoLockedArcTypeList.inc a list of all Servo Arc<Locked<T>> types used across bindings 1050 -
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. 7311 -
ServoStyleConstsInlines.h Some inline functions declared in cbindgen.toml 46173 -
ServoStyleSet.cpp 60878 -
ServoStyleSet.h The set of style sheets that apply to a document, backed by a Servo Stylist. A ServoStyleSet contains StyleSheets. 26996 -
ServoStyleSetInlines.h 778 -
ServoTraversalStatistics.h 763 -
ServoTypes.h types defined to pass values through Gecko_* and Servo_* FFI functions 4445 -
ServoUtils.h some utilities for Gecko to use for Servo initialization and assertions 1412 -
ShadowParts.cpp 3857 -
ShadowParts.h 1199 -
SharedStyleSheetCache.cpp 10015 -
SharedStyleSheetCache.h 4004 -
SharedSubResourceCache.cpp 6141 -
SharedSubResourceCache.h 21712 -
SheetLoadData.h Data needed to properly load a stylesheet * ******************************************* 11460 -
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 -
StreamLoader.h callback method used for ReadSegments 2029 -
StyleAnimationValue.cpp Utilities for animation of computed style values 9281 -
StyleAnimationValue.h Utilities for animation of computed style values 4473 -
StyleColor.cpp 2410 -
StyleColorInlines.h Inline functions for StyleColor (aka values::computed::Color) 2221 -
StylePreloadKind.h 1724 -
StyleSheet.cpp static 48357 -
StyleSheet.h Dummy 22203 -
StyleSheetInfo.h Struct for data common to CSSStyleSheetInner and ServoStyleSheet. 2481 -
StyleSheetInlines.h 836 -
test -
TimelineCollection.cpp static 2234 -
TimelineCollection.h 2113 -
TimelineManager.cpp 15362 -
TimelineManager.h 5566 -
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 -
URLExtraData.cpp thread-safe container of information for resolving url values 1541 -
URLExtraData.h thread-safe container of information for resolving url values 2480 -