fune/layout/style
Emilio Cobos Álvarez 665c208b48 Bug 1830746 - Rework -x-text-zoom to allow disabling text zoom and min-font-size separately. r=jfkthame,layout-reviewers
And use it instead of explicit document checks. This centralizes where
we check for it.

IsChromeDoc is relatively cheap, but this bug wants to also check for
PDF.js which is a bit more expensive.

No behavior change.

Differential Revision: https://phabricator.services.mozilla.com/D176940
2023-05-03 15:02:40 +00:00
..
crashtests Bug 1821416 - Drop the element property usage from ScrollTimelineSet. r=emilio 2023-03-16 20:00:00 +00:00
res Bug 1825808 - Popover: Complete ShowPopover and HidePopover, r=emilio 2023-05-02 11:29:20 +00:00
test Bug 1830746 - Rework -x-text-zoom to allow disabling text zoom and min-font-size separately. r=jfkthame,layout-reviewers 2023-05-03 15:02:40 +00:00
tools
AnimationCollection.cpp Bug 1807003 - Centralize animation data in slots. r=smaug,firefox-animation-reviewers,boris 2023-02-15 14:12:33 +00:00
AnimationCollection.h Bug 1807003 - Centralize animation data in slots. r=smaug,firefox-animation-reviewers,boris 2023-02-15 14:12:33 +00:00
AnimationCommon.h Bug 1660405 - Move away from mozilla::IsNaN in favor of std::isnan. r=nbp,media-playback-reviewers,sergesanspaille,padenot 2023-03-22 11:35:33 +00:00
BindingStyleRule.cpp
BindingStyleRule.h
BuiltinCounterStyleList.h Bug 1803968 - [refactor] Migrate NS_STYLE_LIST_STYLE_* defines r=emilio 2022-12-07 09:58:22 +00:00
CachedInheritingStyles.cpp
CachedInheritingStyles.h
ComputedStyle.cpp Bug 1817641 - Convert RGBA to AbsoluteColor for computed/animated/resolved CSS colors r=emilio 2023-03-07 11:28:15 +00:00
ComputedStyle.h Bug 1815552 - Make positioned table parts deal correctly with switching position without being reframed. r=TYLin,layout-reviewers 2023-03-01 19:04:17 +00:00
ComputedStyleInlines.h Bug 1826001 - Change SVGUtils::IsInSVGTextSubtree into a member function on nsIFrame r=emilio 2023-04-02 21:17:07 +00:00
contenteditable.css
CounterStyleManager.cpp Bug 1801264 - Fix cyclic counter style show incorrectly when starting from negative value. r=emilio 2023-02-10 12:16:07 +00:00
CounterStyleManager.h Bug 1808995 - Handle @counter-style fallback behavior for the prefix and suffix descriptors. r=emilio 2023-01-28 14:06:12 +00:00
CSS.cpp Bug 1803355: Basic implementation of Custom Highlight API. r=edgar,emilio 2023-01-27 11:42:18 +00:00
CSS.h Bug 1803355: Basic implementation of Custom Highlight API. r=edgar,emilio 2023-01-27 11:42:18 +00:00
CSSContainerRule.cpp
CSSContainerRule.h
CSSCounterStyleRule.cpp
CSSCounterStyleRule.h
CSSEnabledState.h
CSSFontFaceRule.cpp
CSSFontFaceRule.h
CSSFontFeatureValuesRule.cpp
CSSFontFeatureValuesRule.h
CSSFontPaletteValuesRule.cpp
CSSFontPaletteValuesRule.h
CSSImportRule.cpp Bug 1829590 - Add CSSImportRule supportsText attribute r=emilio 2023-04-27 22:46:41 +00:00
CSSImportRule.h Bug 1829590 - Add CSSImportRule supportsText attribute r=emilio 2023-04-27 22:46:41 +00:00
CSSKeyframeRule.cpp
CSSKeyframeRule.h
CSSKeyframesRule.cpp Bug 1789776: Add indexed getter and length property to CSSKeyframesRule; r=emilio 2022-11-21 09:41:51 +00:00
CSSKeyframesRule.h Bug 1789776: Add indexed getter and length property to CSSKeyframesRule; r=emilio 2022-11-21 09:41:51 +00:00
CSSLayerBlockRule.cpp
CSSLayerBlockRule.h
CSSLayerStatementRule.cpp
CSSLayerStatementRule.h
CSSMediaRule.cpp
CSSMediaRule.h
CSSMozDocumentRule.cpp
CSSMozDocumentRule.h
CSSNamespaceRule.cpp
CSSNamespaceRule.h
CSSPageRule.cpp
CSSPageRule.h
CSSPropFlags.h
CSSRuleList.cpp
CSSRuleList.h
CSSStyleRule.cpp
CSSStyleRule.h
CSSSupportsRule.cpp
CSSSupportsRule.h
CSSValue.h
DeclarationBlock.cpp
DeclarationBlock.h
designmode.css
DocumentMatchingFunction.h
DocumentStyleRootIterator.cpp
DocumentStyleRootIterator.h
ErrorReporter.cpp
ErrorReporter.h
extra-bindgen-flags.in
FontFace.cpp Bug 1811950 - Allow WorkerGlobalScope.fonts to fail. r=aosmond,webidl,saschanaz 2023-04-11 13:44:53 +00:00
FontFace.h Bug 1820280 - Enable chrome rules in Thunderbird's about:3pane. r=aleca,dholbert 2023-03-09 20:19:08 +00:00
FontFaceImpl.cpp Bug 1798591. r=jfkthame 2022-12-14 17:50:54 +00:00
FontFaceImpl.h Bug 1798591. r=jfkthame 2022-12-14 17:50:54 +00:00
FontFaceSet.cpp Bug 1811950 - Allow WorkerGlobalScope.fonts to fail. r=aosmond,webidl,saschanaz 2023-04-11 13:44:53 +00:00
FontFaceSet.h
FontFaceSetDocumentImpl.cpp Bug 1798591. r=jfkthame 2022-12-14 17:50:54 +00:00
FontFaceSetDocumentImpl.h
FontFaceSetImpl.cpp Bug 1818417 - Tweak nsFontFaceLoader destruction to be more consistent. r=jfkthame 2023-02-24 17:37:23 +00:00
FontFaceSetImpl.h Bug 1818417 - Tweak nsFontFaceLoader destruction to be more consistent. r=jfkthame 2023-02-24 17:37:23 +00:00
FontFaceSetIterator.cpp Bug 1805931, part 2 - Automated removal of uses of ROOT and UNROOT CC macros. r=smaug 2022-12-15 19:45:01 +00:00
FontFaceSetIterator.h
FontFaceSetWorkerImpl.cpp Bug 1818417 - Tweak nsFontFaceLoader destruction to be more consistent. r=jfkthame 2023-02-24 17:37:23 +00:00
FontFaceSetWorkerImpl.h Bug 1798591. r=jfkthame 2022-12-14 17:50:54 +00:00
FontPreloader.cpp Bug 1823686 - Share URLExtraData between SVG attribute mapping and style attribute. r=smaug 2023-03-22 14:54:43 +00:00
FontPreloader.h Bug 1771867 - Early Hints Phase 2 - Part 4: Pass early hint preload to fetch and font preloader r=necko-reviewers,valentin 2022-12-02 16:15:54 +00:00
GeckoBindings.cpp Bug 1830746 - Rework -x-text-zoom to allow disabling text zoom and min-font-size separately. r=jfkthame,layout-reviewers 2023-05-03 15:02:40 +00:00
GeckoBindings.h Bug 1794628 - Implement inverted-colors media feature r=geckoview-reviewers,morgan,emilio,m_kato,cmartin 2023-04-11 13:34:00 +00:00
GenerateCompositorAnimatableProperties.py
GenerateComputedDOMStyleGenerated.py
GenerateCountedUnknownProperties.py
GenerateCSSPropertyID.py
GenerateCSSPropsGenerated.py
GenerateServoCSSPropList.py
GlobalStyleSheetCache.cpp Bug 1823686 - Share URLExtraData between SVG attribute mapping and style attribute. r=smaug 2023-03-22 14:54:43 +00:00
GlobalStyleSheetCache.h
GroupRule.cpp
GroupRule.h
ImageDocument.css Bug 1461610. In image documents change the cursor to zoom in/out based on full zoom. r=emilio 2022-11-17 00:39:33 +00:00
ImageLoader.cpp Bug 1803377 - Rename the values of the IntrinsicDirty enum r=emilio 2022-12-02 12:27:31 +00:00
ImageLoader.h
ImportScanner.cpp Bug 1827941 - Do not preload nonmatching @import supports() r=emilio 2023-04-25 07:22:29 +00:00
ImportScanner.h Bug 1827941 - Do not preload nonmatching @import supports() r=emilio 2023-04-25 07:22:29 +00:00
jar.mn Bug 1823525 - Replace noscript.css stylesheet with scripting media query in html.css r=emilio 2023-03-28 08:01:50 +00:00
LayerAnimationInfo.cpp
LayerAnimationInfo.h
Loader.cpp Bug 1808323 - Add telemetry for the page load time and the time to first paint for sites that supports Early Hints response, r=manuel,necko-reviewers,valentin 2023-05-02 08:08:44 +00:00
Loader.h Bug 1771867 - Early Hints Phase 2 - Part 6: Pass early hint preload to style preloader r=necko-reviewers,valentin 2022-12-02 16:15:55 +00:00
MappedDeclarations.cpp
MappedDeclarations.h
MediaFeatureChange.h Bug 1576298 - Remove DeviceSizeIsPageSize from nsDocShell and nsPresContext. r=emilio 2023-04-03 17:11:24 +00:00
MediaList.cpp
MediaList.h
MediaQueryList.cpp
MediaQueryList.h
moz.build Bug 1814786 - Part 4: Introduce TimelineCollection and TimelineManager. r=emilio 2023-03-07 23:57:54 +00:00
nsAnimationManager.cpp Bug 1808410 - Part 3: Create timeline for view(). r=emilio 2023-05-02 22:47:29 +00:00
nsAnimationManager.h
nsComputedDOMStyle.cpp Bug 1814786 - Part 5: Factor out the conversion between (Element, PseudoStyleType) pair and Element. r=hiro 2023-03-07 23:57:55 +00:00
nsComputedDOMStyle.h Bug 1814626 - Expose line-height resolution to style, and use it from ToResolvedValue. r=jfkthame 2023-02-14 22:36:31 +00:00
nsCSSAnonBoxes.cpp
nsCSSAnonBoxes.h
nsCSSAnonBoxList.h
nsCSSCounterDescList.h
nsCSSFontDescList.h
nsCSSPropertyID.h.in
nsCSSPropertyIDSet.h
nsCSSProps.cpp
nsCSSProps.h
nsCSSPseudoElementList.h Bug 1803355: Basic implementation of Custom Highlight API. r=edgar,emilio 2023-01-27 11:42:18 +00:00
nsCSSPseudoElements.cpp
nsCSSPseudoElements.h Bug 1803355: Basic implementation of Custom Highlight API. r=edgar,emilio 2023-01-27 11:42:18 +00:00
nsCSSValue.cpp Bug 1660405 - Move away from mozilla::IsNaN in favor of std::isnan. r=nbp,media-playback-reviewers,sergesanspaille,padenot 2023-03-22 11:35:33 +00:00
nsCSSValue.h Bug 1660405 - Move away from mozilla::IsNaN in favor of std::isnan. r=nbp,media-playback-reviewers,sergesanspaille,padenot 2023-03-22 11:35:33 +00:00
nsCSSVisitedDependentPropList.h
nsDOMCSSAttrDeclaration.cpp
nsDOMCSSAttrDeclaration.h
nsDOMCSSDeclaration.cpp
nsDOMCSSDeclaration.h
nsDOMCSSValueList.cpp
nsDOMCSSValueList.h
nsFontFaceLoader.cpp Bug 1809753 - Part 4: Remove unnecessary GetMainThreadEventTarget, r=mccr8 2023-01-16 23:14:12 +00:00
nsFontFaceLoader.h
nsFontFaceUtils.cpp Bug 1826001 - Change SVGUtils::IsInSVGTextSubtree into a member function on nsIFrame r=emilio 2023-04-02 21:17:07 +00:00
nsFontFaceUtils.h
nsHTMLCSSStyleSheet.cpp
nsHTMLCSSStyleSheet.h
nsHTMLStyleSheet.cpp
nsHTMLStyleSheet.h
nsICSSDeclaration.cpp
nsICSSDeclaration.h
nsICSSLoaderObserver.h
nsMediaFeatures.cpp Bug 1828423 - Cut CSS prefers-contrast over to RFPTarget. r=tjr 2023-04-21 09:45:23 +00:00
nsROCSSPrimitiveValue.cpp
nsROCSSPrimitiveValue.h
nsStyleAutoArray.h
nsStyleConsts.h Bug 1826629 - Implement CSS and rendering (but not copy/paste) support for the (non-standard) -webkit-text-security property. r=dholbert 2023-04-18 11:47:07 +00:00
nsStyleStruct.cpp Bug 1830746 - Rework -x-text-zoom to allow disabling text zoom and min-font-size separately. r=jfkthame,layout-reviewers 2023-05-03 15:02:40 +00:00
nsStyleStruct.h Bug 1830746 - Rework -x-text-zoom to allow disabling text zoom and min-font-size separately. r=jfkthame,layout-reviewers 2023-05-03 15:02:40 +00:00
nsStyleStructFwd.h
nsStyleStructInlines.h Bug 1826001 - Change SVGUtils::IsInSVGTextSubtree into a member function on nsIFrame r=emilio 2023-04-02 21:17:07 +00:00
nsStyleStructList.h
nsStyleTransformMatrix.cpp Bug 1519636 - Reformat recent changes to the Google coding style. r=glandium 2023-02-13 15:02:07 +00:00
nsStyleTransformMatrix.h
nsStyleUtil.cpp Bug 1121792 - Use more complete BCP47/RFC4647 language-range matching rather than simple prefix-dash match for the :lang() pseudo. r=emilio 2023-04-12 21:46:46 +00:00
nsStyleUtil.h Bug 1121792 - Use more complete BCP47/RFC4647 language-range matching rather than simple prefix-dash match for the :lang() pseudo. r=emilio 2023-04-12 21:46:46 +00:00
nsTransitionManager.cpp Bug 1816915 - Clean up EffectSet APIs. r=firefox-animation-reviewers,boris 2023-02-15 20:39:16 +00:00
nsTransitionManager.h
PaintWorkletGlobalScope.cpp Bug 1804093 - Part 5: Eliminate WorkerPrincipal and WorkletPrincipals, r=asuth 2022-12-12 22:08:36 +00:00
PaintWorkletGlobalScope.h
PaintWorkletImpl.cpp
PaintWorkletImpl.h
PostTraversalTask.cpp
PostTraversalTask.h
PreferenceSheet.cpp Bug 1820280 - Be consistent for which URIs we expose chrome rules. r=dshin 2023-03-07 20:22:23 +00:00
PreferenceSheet.h
PreloadedStyleSheet.cpp
PreloadedStyleSheet.h
PseudoStyleType.cpp
PseudoStyleType.h
Rule.cpp
Rule.h
RustCell.h
ServoArcTypeList.h
ServoBindings.h
ServoBindings.toml Bug 1830746 - Rework -x-text-zoom to allow disabling text zoom and min-font-size separately. r=jfkthame,layout-reviewers 2023-05-03 15:02:40 +00:00
ServoBindingTypes.h
ServoBoxedTypeList.h
ServoComputedData.h
ServoComputedDataInlines.h
ServoCSSParser.cpp
ServoCSSParser.h
ServoCSSPropList.mako.py Bug 1814626 - Expose line-height resolution to style, and use it from ToResolvedValue. r=jfkthame 2023-02-14 22:36:31 +00:00
ServoCSSRuleList.cpp
ServoCSSRuleList.h
ServoElementSnapshot.cpp
ServoElementSnapshot.h
ServoElementSnapshotTable.h
ServoStyleConstsForwards.h
ServoStyleConstsInlines.h Bug 1824246 - Use auto as the initial value for view-timeline-inset. r=emilio 2023-03-24 19:16:42 +00:00
ServoStyleSet.cpp Bug 1828534 - Separate page style getter in ServoStyleSet r=emilio 2023-04-21 18:54:30 +00:00
ServoStyleSet.h Bug 1828534 - Separate page style getter in ServoStyleSet r=emilio 2023-04-21 18:54:30 +00:00
ServoStyleSetInlines.h
ServoTraversalStatistics.h
ServoTypes.h Bug 1814786 - Part 6: Create timeline objects when mutating scroll-timeline property. r=emilio 2023-03-07 23:57:55 +00:00
ServoUtils.h
ShadowParts.cpp
ShadowParts.h
SharedStyleSheetCache.cpp Bug 1807879 - Remove MOZ_DIAGNOSTIC_ASSERT_ENABLED for mSheetCompleteCalled and mIntentionallyDropped, r=emilio DONTBUILD 2022-12-29 10:44:54 +00:00
SharedStyleSheetCache.h
SharedSubResourceCache.h Bug 1799200 - Sync-load <link rel=stylesheet> on chrome documents' shadow trees. r=smaug 2022-12-09 15:22:14 +00:00
SheetLoadData.h Bug 1807879 - Remove MOZ_DIAGNOSTIC_ASSERT_ENABLED for mSheetCompleteCalled and mIntentionallyDropped, r=emilio DONTBUILD 2022-12-29 10:44:54 +00:00
SheetParsingMode.h
StreamLoader.cpp
StreamLoader.h
StyleAnimationValue.cpp Bug 1276351 - Move away from mozilla::tuple to std::tuple. r=necko-reviewers,sergesanspaille 2023-03-27 07:20:25 +00:00
StyleAnimationValue.h
StyleColor.cpp Bug 1813481 - Allow 'none' keyword in color components r=emilio,supply-chain-reviewers,devtools-reviewers 2023-03-16 11:50:55 +00:00
StyleColorInlines.h Bug 1822041 - Color interpolation takes none keyword into account r=emilio,layout-reviewers 2023-03-19 10:09:53 +00:00
StylePreloadKind.h
StyleSheet.cpp Bug 1823686 - Share URLExtraData between SVG attribute mapping and style attribute. r=smaug 2023-03-22 14:54:43 +00:00
StyleSheet.h
StyleSheetInfo.h
StyleSheetInlines.h
TimelineCollection.cpp Bug 1737920 - Part 1: Create ViewTimeline when specifying view-timeline property. r=emilio 2023-04-12 20:52:02 +00:00
TimelineCollection.h Bug 1814786 - Part 6: Create timeline objects when mutating scroll-timeline property. r=emilio 2023-03-07 23:57:55 +00:00
TimelineManager.cpp Bug 1737920 - Part 1: Create ViewTimeline when specifying view-timeline property. r=emilio 2023-04-12 20:52:02 +00:00
TimelineManager.h Bug 1737920 - Part 1: Create ViewTimeline when specifying view-timeline property. r=emilio 2023-04-12 20:52:02 +00:00
TopLevelImageDocument.css Bug 1802818 - Make overscroll gutter on top level image documents look nicer by setting a fixed background r=emilio 2022-11-28 08:25:25 +00:00
TopLevelVideoDocument.css
URLExtraData.cpp Bug 1820280 - Expose chrome CSS to about: pages except srcdoc/blank. r=necko-reviewers,valentin,smaug 2023-03-24 09:29:48 +00:00
URLExtraData.h Bug 1820280 - Enable chrome rules in Thunderbird's about:3pane. r=aleca,dholbert 2023-03-09 20:19:08 +00:00
UserAgentStyleSheetID.h
UserAgentStyleSheetList.h Bug 1823525 - Replace noscript.css stylesheet with scripting media query in html.css r=emilio 2023-03-28 08:01:50 +00:00