gecko-dev/layout/generic
Daniel Holbert ae8560255c Bug 1876811: Remove nsPresContext's cache for about:config pref "layout.scrollbar.side". r=TYLin
Instead, just directly use the StaticPrefs getter for this pref at the one
usage-site, and remove the now-unnecessary GetCachedIntPref getter and
enum-parameter-type that was previously used to query the value.

This patch doesn't change behavior.

Differential Revision: https://phabricator.services.mozilla.com/D199782
2024-01-27 01:05:27 +00:00
..
crashtests Bug 221154 - Tweak a few crashtest assertion counts. r=dholbert 2024-01-23 09:45:26 +00:00
test Bug 1873732 - remove outdated manifest conditions and use consistent conditions. r=aryx,necko-reviewers,jgilbert,settings-reviewers,credential-management-reviewers,devtools-reviewers,sessionstore-reviewers,dom-storage-reviewers,sgalich,kershaw,nchevobbe,janv,dao 2024-01-25 00:27:05 +00:00
AnonymousContentKey.h
AspectRatio.cpp
AspectRatio.h Bug 1841478 - Use strongly-typed coordinates in the BaseSize constructor. r=botond 2023-07-10 02:59:01 +00:00
AutoCopyListener.h
BRFrame.cpp Bug 1816581 - part 1: Make `CaretAssociationHint` an enum class r=emilio 2023-12-27 04:42:09 +00:00
BlockReflowState.cpp Bug 1856795 - Remove redundant member init r=emilio 2023-10-15 15:29:02 +00:00
BlockReflowState.h Bug 1765615 - Introduce NS_BLOCK_DYNAMIC_BFC state bit. r=layout-reviewers,emilio 2024-01-16 07:58:47 +00:00
CSSAlignUtils.cpp
CSSAlignUtils.h
CSSOrderAwareFrameIterator.cpp
CSSOrderAwareFrameIterator.h
ColumnSetWrapperFrame.cpp Bug 1874823 - Make nsBlockFrame::Init set NS_BLOCK_STATIC_BFC by checking classes. r=layout-reviewers,AlaskanEmily 2024-01-24 12:13:42 +00:00
ColumnSetWrapperFrame.h Bug 1851787 - Plumb a DestroyContext through all functions that can destroy frames. r=dholbert 2023-09-08 15:11:17 +00:00
ColumnUtils.cpp
ColumnUtils.h
FrameClass.py Bug 1364813 - Remove IsFrameOfType, use non-virtual checks. r=jwatt 2023-11-26 22:17:28 +00:00
FrameClasses.py Bug 1867990 - Fix black formatting errors that snuck in due to regression, r=linter-reviewers,taskgraph-reviewers,releng-reviewers,bhearsum,sylvestre 2023-12-04 14:51:39 +00:00
GenerateFrameLists.py Bug 1867990 - Fix black formatting errors that snuck in due to regression, r=linter-reviewers,taskgraph-reviewers,releng-reviewers,bhearsum,sylvestre 2023-12-04 14:51:39 +00:00
JustificationUtils.h
LayoutMessageUtils.h
MathMLTextRunFactory.cpp Bug 1788637 - Remove MathML preferences scriptminsize_attribute and scriptsizemultiplier_attribute. r=emilio 2023-07-24 10:02:24 +00:00
MathMLTextRunFactory.h Bug 1821980: Align mathvariant implementation on MathML Core. r=emilio,jfkthame 2023-07-14 19:44:04 +00:00
MiddleCroppingBlockFrame.cpp Bug 1851868 - Refactor nsIFrame::Destroy to pass a single DestroyContext parameter. r=dholbert 2023-09-07 11:46:30 +00:00
MiddleCroppingBlockFrame.h Bug 1851868 - Refactor nsIFrame::Destroy to pass a single DestroyContext parameter. r=dholbert 2023-09-07 11:46:30 +00:00
PrintedSheetFrame.cpp Bug 1868710. Guard the mixed sheet size code with the correct pref. r=AlaskanEmily 2023-12-08 01:11:19 +00:00
PrintedSheetFrame.h Bug 1833244 p2. Implement sheet orientation switching/rotation for `page-orientation`. r=AlaskanEmily,dholbert 2023-08-22 10:57:55 +00:00
ReflowInput.cpp Bug 1350037 Part 3 - Prevent table caption from honoring justify-*/align-* when table is a grid item. r=dholbert 2023-12-18 22:12:43 +00:00
ReflowInput.h Bug 221154 - Make overflow work on table cells. r=dholbert 2024-01-23 09:45:26 +00:00
ReflowOutput.cpp
ReflowOutput.h Bug 1791961 - layout: Fix C++20 -Wambiguous-reversed-operator warnings. r=dholbert 2023-05-26 04:51:43 +00:00
RubyUtils.cpp
RubyUtils.h
ScrollAnchorContainer.cpp Bug 1875600 - Use nsIFrame::PresShell() to simply some callers. r=layout-reviewers,emilio 2024-01-23 00:30:53 +00:00
ScrollAnchorContainer.h
ScrollAnimationBezierPhysics.cpp
ScrollAnimationBezierPhysics.h
ScrollAnimationMSDPhysics.cpp Bug 1662379, 1846935: apply code formatting via Lando 2023-12-04 01:54:45 +00:00
ScrollAnimationMSDPhysics.h Bug 1846935 - Limit the starting velocity of an MSD animation to ensure it doesn't overshoot. r=mstange 2023-12-04 01:51:15 +00:00
ScrollAnimationPhysics.h
ScrollGeneration.cpp
ScrollGeneration.h
ScrollOrigin.h Bug 1856088 - Handle scroll anchor adjustments as an absolute scroll position updates behind a pref. r=botond 2023-10-25 05:55:26 +00:00
ScrollPositionUpdate.cpp Bug 1856088 - Handle scroll anchor adjustments as an absolute scroll position updates behind a pref. r=botond 2023-10-25 05:55:26 +00:00
ScrollPositionUpdate.h Bug 1856088 - Handle scroll anchor adjustments as an absolute scroll position updates behind a pref. r=botond 2023-10-25 05:55:26 +00:00
ScrollSnap.cpp Bug 1768393 - Filter out snap candidates if snapping to the point makes the snap area outside of the snapport. r=botond 2023-09-12 01:33:19 +00:00
ScrollSnap.h Bug 1768393 - Rename mozilla::SnapTarget to mozilla::SnapDestination. r=botond 2023-09-12 01:33:18 +00:00
ScrollSnapInfo.cpp Bug 1768393 - Introduce SnapPoint to wrap a pair of Maybe<nscoord>. r=botond 2023-09-12 01:33:18 +00:00
ScrollSnapInfo.h Bug 1768393 - Make SnapPosition inherit from ScrollSnapInfo::SnapTarget. r=botond 2023-09-12 01:33:19 +00:00
ScrollSnapTargetId.h Bug 1768393 - Rename mozilla::SnapTarget to mozilla::SnapDestination. r=botond 2023-09-12 01:33:18 +00:00
ScrollVelocityQueue.cpp
ScrollVelocityQueue.h
ScrollbarActivity.cpp Bug 1867201 - Minor non-functional clean-ups to ScrollbarActivity. r=jwatt 2023-12-01 13:59:01 +00:00
ScrollbarActivity.h Bug 1867201 - Minor non-functional clean-ups to ScrollbarActivity. r=jwatt 2023-12-01 13:59:01 +00:00
ScrollbarPreferences.h
SelectionMovementUtils.cpp Bug 1816581 - part 6: Move the static methods used for moving caret or considering caret geometry into new utility class r=emilio 2023-12-27 04:42:12 +00:00
SelectionMovementUtils.h Bug 1816581 - part 6: Move the static methods used for moving caret or considering caret geometry into new utility class r=emilio 2023-12-27 04:42:12 +00:00
StickyScrollContainer.cpp Bug 1856795 - Remove redundant member init r=emilio 2023-10-15 15:29:02 +00:00
StickyScrollContainer.h
TextDrawTarget.h Bug 1841478 - Use strongly-typed coordinates in the BaseSize constructor. r=botond 2023-07-10 02:59:01 +00:00
TextOverflow.cpp Bug 1872545 - Hoist color-font palette cache out of TextRunDrawParams to the nsPresContext or CanvasRenderingContext2D, for greater effectiveness. r=gfx-reviewers,lsalzman 2024-01-04 11:07:44 +00:00
TextOverflow.h
ViewportFrame.cpp Bug 728807 - Adjust containing block origin for fixed positioned elements. r=layout-reviewers,emilio,dholbert 2024-01-26 17:08:04 +00:00
ViewportFrame.h Bug 728807 - Adjust containing block origin for fixed positioned elements. r=layout-reviewers,emilio,dholbert 2024-01-26 17:08:04 +00:00
Visibility.h
WBRFrame.cpp
WritingModes.h Bug 1855617 - Upgrade stylo to bitflags 2. r=emilio 2023-09-28 08:01:16 +00:00
broken-image.png
folder.png
frame-graph.py
jar.mn
moz.build Bug 1816581 - part 6: Move the static methods used for moving caret or considering caret geometry into new utility class r=emilio 2023-12-27 04:42:12 +00:00
nsAbsoluteContainingBlock.cpp Bug 1364813 - Remove IsFrameOfType, use non-virtual checks. r=jwatt 2023-11-26 22:17:28 +00:00
nsAbsoluteContainingBlock.h Bug 1851787 - Plumb a DestroyContext through all functions that can destroy frames. r=dholbert 2023-09-08 15:11:17 +00:00
nsAtomicContainerFrame.h
nsBackdropFrame.cpp
nsBackdropFrame.h
nsBlockDebugFlags.h
nsBlockFrame.cpp Bug 1758391 - Rename `text-wrap` to `text-wrap-style`, and create the `text-wrap` shorthand. r=firefox-style-system-reviewers,emilio 2024-01-26 09:40:03 +00:00
nsBlockFrame.h Bug 1874826 - Avoid reconstruction due to change to block formatting context. r=layout-reviewers,emilio 2024-01-23 10:09:57 +00:00
nsBlockReflowContext.cpp Bug 1765615 - Introduce NS_BLOCK_DYNAMIC_BFC state bit. r=layout-reviewers,emilio 2024-01-16 07:58:47 +00:00
nsBlockReflowContext.h
nsCanvasFrame.cpp Bug 1875600 - Use nsIFrame::PresShell() to simply some callers. r=layout-reviewers,emilio 2024-01-23 00:30:53 +00:00
nsCanvasFrame.h Bug 1364813 - Remove IsFrameOfType, use non-virtual checks. r=jwatt 2023-11-26 22:17:28 +00:00
nsColumnSetFrame.cpp Bug 1867784 - Force reflow all kids in the last column balancing reflow. r=layout-reviewers,dholbert 2023-12-10 03:16:55 +00:00
nsColumnSetFrame.h Bug 1851787 - Plumb a DestroyContext through all functions that can destroy frames. r=dholbert 2023-09-08 15:11:17 +00:00
nsContainerFrame.cpp Bug 1875600 - Use nsIFrame::PresShell() to simply some callers. r=layout-reviewers,emilio 2024-01-23 00:30:53 +00:00
nsContainerFrame.h Bug 1364813 - Remove IsFrameOfType, use non-virtual checks. r=jwatt 2023-11-26 22:17:28 +00:00
nsContainerFrameInlines.h
nsDirection.h
nsFirstLetterFrame.cpp Bug 1364813 - Remove IsFrameOfType, use non-virtual checks. r=jwatt 2023-11-26 22:17:28 +00:00
nsFirstLetterFrame.h Bug 1364813 - Remove IsFrameOfType, use non-virtual checks. r=jwatt 2023-11-26 22:17:28 +00:00
nsFlexContainerFrame.cpp Bug 1874336 Part 1 - Use ApplyMinMaxBSize() and ApplyMinMaxISize() more. r=layout-reviewers,jfkthame 2024-01-12 21:25:39 +00:00
nsFlexContainerFrame.h Bug 1744363 Part 2 - Make nsFlexContainerFrame::ReflowChildren() return nsReflowStatus of children. r=dholbert 2023-12-06 05:16:50 +00:00
nsFloatManager.cpp Bug 1842277 - Compute <basic-shape-rect> to the equivalent inset() function. r=devtools-reviewers,emilio 2023-07-12 20:16:47 +00:00
nsFloatManager.h Bug 1765615 - Introduce NS_BLOCK_DYNAMIC_BFC state bit. r=layout-reviewers,emilio 2024-01-16 07:58:47 +00:00
nsFontInflationData.cpp
nsFontInflationData.h
nsFrameList.cpp Bug 1865012 Part 2 - Add nsFrameList::RemoveLastChild, and destroy frame list in reverse order. r=dholbert 2024-01-23 23:15:02 +00:00
nsFrameList.h Bug 1865012 Part 2 - Add nsFrameList::RemoveLastChild, and destroy frame list in reverse order. r=dholbert 2024-01-23 23:15:02 +00:00
nsFrameSelection.cpp Bug 1816581 - part 6: Move the static methods used for moving caret or considering caret geometry into new utility class r=emilio 2023-12-27 04:42:12 +00:00
nsFrameSelection.h Bug 1816581 - part 6: Move the static methods used for moving caret or considering caret geometry into new utility class r=emilio 2023-12-27 04:42:12 +00:00
nsFrameSetFrame.cpp Bug 1839922 - Remove usage of {Has,Get}Attr(kNameSpaceID_None, ..). r=edgar 2023-06-23 10:01:32 +00:00
nsFrameSetFrame.h
nsFrameState.cpp
nsFrameState.h
nsFrameStateBits.h Bug 1765615 - Introduce NS_BLOCK_DYNAMIC_BFC state bit. r=layout-reviewers,emilio 2024-01-16 07:58:47 +00:00
nsGfxScrollFrame.cpp Bug 1876811: Remove nsPresContext's cache for about:config pref "layout.scrollbar.side". r=TYLin 2024-01-27 01:05:27 +00:00
nsGfxScrollFrame.h Bug 1875600 - Remove unused gfxContext parameter for IntrinsicScrollbarGutterSizeAtInlineEdges(). r=hiro 2024-01-23 00:30:54 +00:00
nsGridContainerFrame.cpp Bug 1874336 Part 1 - Use ApplyMinMaxBSize() and ApplyMinMaxISize() more. r=layout-reviewers,jfkthame 2024-01-12 21:25:39 +00:00
nsGridContainerFrame.h Bug 1800563: Inhibit out-of-flow grid containers from being subgrids. r=TYLin 2023-12-20 02:03:04 +00:00
nsHTMLCanvasFrame.cpp Bug 1863846 convert MediaInfo::Rotation to WrRotation before creating a WebRender command r=aosmond 2023-11-27 19:40:47 +00:00
nsHTMLCanvasFrame.h Bug 1364813 - Remove IsFrameOfType, use non-virtual checks. r=jwatt 2023-11-26 22:17:28 +00:00
nsHTMLParts.h Bug 1765615 - Remove flags parameter from NS_NewComboboxControlFrame/NS_NewSelectsAreaFrame. r=layout-reviewers,emilio 2024-01-15 15:35:50 +00:00
nsIAnonymousContentCreator.h
nsIFrame.cpp Bug 1852478 - Convert CSS `white-space` into a shorthand that expands to `white-space-collapse` and `text-wrap-mode` longhands. r=firefox-style-system-reviewers,emilio 2024-01-26 09:40:02 +00:00
nsIFrame.h Bug 1865012 Part 4 - Remove PageValuesProperty copy in frame continuations. r=dholbert 2024-01-23 23:15:02 +00:00
nsIFrameInlines.h
nsILineIterator.cpp
nsILineIterator.h Bug 1820290 - Make `nsIFrame` treat out-of-flow things as word separators r=emilio 2023-11-21 08:05:18 +00:00
nsIScrollPositionListener.h
nsIScrollableFrame.h Bug 1875199 - Move documentation of two methods in nsHTMLScrollFrame to nsIScrollableFrame. r=layout-reviewers,emilio DONTBUILD 2024-01-18 16:54:38 +00:00
nsIStatefulFrame.h
nsImageFrame.cpp Bug 1875600 - Use nsIFrame::PresShell() to simply some callers. r=layout-reviewers,emilio 2024-01-23 00:30:53 +00:00
nsImageFrame.h Bug 1364813 - Remove IsFrameOfType, use non-virtual checks. r=jwatt 2023-11-26 22:17:28 +00:00
nsImageMap.cpp Bug 1839922 - Remove usage of {Has,Get}Attr(kNameSpaceID_None, ..). r=edgar 2023-06-23 10:01:32 +00:00
nsImageMap.h
nsInlineFrame.cpp Bug 1851868 - Refactor nsIFrame::Destroy to pass a single DestroyContext parameter. r=dholbert 2023-09-07 11:46:30 +00:00
nsInlineFrame.h Bug 1364813 - Remove IsFrameOfType, use non-virtual checks. r=jwatt 2023-11-26 22:17:28 +00:00
nsIntervalSet.cpp
nsIntervalSet.h
nsLeafFrame.cpp
nsLeafFrame.h Bug 1364813 - Remove IsFrameOfType, use non-virtual checks. r=jwatt 2023-11-26 22:17:28 +00:00
nsLineBox.cpp Backed out 4 changesets (bug 1865012) for causing mochitest failure on test_gencontent.html CLOSED TREE 2024-01-23 02:17:49 +02:00
nsLineBox.h Bug 1856795 - Remove redundant member init r=emilio 2023-10-15 15:29:02 +00:00
nsLineLayout.cpp Bug 1364813 - Remove IsFrameOfType, use non-virtual checks. r=jwatt 2023-11-26 22:17:28 +00:00
nsLineLayout.h Bug 1855583: Empty text line should not give line height even with `white-space: pre`. r=layout-reviewers,emilio 2023-11-20 23:24:54 +00:00
nsPageContentFrame.cpp Bug 1865012 Part 3 - Remove FirstContinuation overrides for nsPageFrame and nsPageContentFrame. r=dholbert 2024-01-23 23:15:02 +00:00
nsPageContentFrame.h Bug 1865012 Part 3 - Remove FirstContinuation overrides for nsPageFrame and nsPageContentFrame. r=dholbert 2024-01-23 23:15:02 +00:00
nsPageFrame.cpp Bug 1865012 Part 3 - Remove FirstContinuation overrides for nsPageFrame and nsPageContentFrame. r=dholbert 2024-01-23 23:15:02 +00:00
nsPageFrame.h Bug 1865012 Part 3 - Remove FirstContinuation overrides for nsPageFrame and nsPageContentFrame. r=dholbert 2024-01-23 23:15:02 +00:00
nsPageSequenceFrame.cpp Bug 1833244 p2. Implement sheet orientation switching/rotation for `page-orientation`. r=AlaskanEmily,dholbert 2023-08-22 10:57:55 +00:00
nsPageSequenceFrame.h Bug 1830900. Move multiple pages-per-sheet grid calculations to be per-sheet, not per-print. r=AlaskanEmily 2023-05-04 22:49:01 +00:00
nsPlaceholderFrame.cpp Bug 1851787 - Plumb a DestroyContext through all functions that can destroy frames. r=dholbert 2023-09-08 15:11:17 +00:00
nsPlaceholderFrame.h Bug 1851868 - Refactor nsIFrame::Destroy to pass a single DestroyContext parameter. r=dholbert 2023-09-07 11:46:30 +00:00
nsQueryFrame.h
nsRubyBaseContainerFrame.cpp Bug 1364813 - Remove IsFrameOfType, use non-virtual checks. r=jwatt 2023-11-26 22:17:28 +00:00
nsRubyBaseContainerFrame.h Bug 1364813 - Remove IsFrameOfType, use non-virtual checks. r=jwatt 2023-11-26 22:17:28 +00:00
nsRubyBaseFrame.cpp
nsRubyBaseFrame.h
nsRubyContentFrame.cpp Bug 1364813 - Remove IsFrameOfType, use non-virtual checks. r=jwatt 2023-11-26 22:17:28 +00:00
nsRubyContentFrame.h Bug 1364813 - Remove IsFrameOfType, use non-virtual checks. r=jwatt 2023-11-26 22:17:28 +00:00
nsRubyFrame.cpp Bug 1364813 - Remove IsFrameOfType, use non-virtual checks. r=jwatt 2023-11-26 22:17:28 +00:00
nsRubyFrame.h Bug 1364813 - Remove IsFrameOfType, use non-virtual checks. r=jwatt 2023-11-26 22:17:28 +00:00
nsRubyTextContainerFrame.cpp Bug 1364813 - Remove IsFrameOfType, use non-virtual checks. r=jwatt 2023-11-26 22:17:28 +00:00
nsRubyTextContainerFrame.h Bug 1364813 - Remove IsFrameOfType, use non-virtual checks. r=jwatt 2023-11-26 22:17:28 +00:00
nsRubyTextFrame.cpp
nsRubyTextFrame.h
nsSplittableFrame.cpp Bug 1865012 Part 1 - Make accessing first-continuation and first-in-flow constant time. r=dholbert 2024-01-23 23:15:01 +00:00
nsSplittableFrame.h Bug 1865012 Part 3 - Remove FirstContinuation overrides for nsPageFrame and nsPageContentFrame. r=dholbert 2024-01-23 23:15:02 +00:00
nsSubDocumentFrame.cpp Bug 1624118 - Fix various issues with view handling when loading <object> / <embed> as subdocuments. r=longsonr 2024-01-22 13:02:33 +00:00
nsSubDocumentFrame.h Bug 1624118 - Fix various issues with view handling when loading <object> / <embed> as subdocuments. r=longsonr 2024-01-22 13:02:33 +00:00
nsTextFrame.cpp Bug 1852478 - Convert CSS `white-space` into a shorthand that expands to `white-space-collapse` and `text-wrap-mode` longhands. r=firefox-style-system-reviewers,emilio 2024-01-26 09:40:02 +00:00
nsTextFrame.h Bug 1874897 - Revert Bug 1873530 Part 3 to fix performance regression. r=dholbert 2024-01-17 05:14:35 +00:00
nsTextFrameUtils.cpp Bug 1834320 - Don't apply justification spacing when there are further tabs on the line. r=layout-reviewers,emilio 2023-11-03 09:06:29 +00:00
nsTextFrameUtils.h Bug 1834320 - Don't apply justification spacing when there are further tabs on the line. r=layout-reviewers,emilio 2023-11-03 09:06:29 +00:00
nsTextPaintStyle.cpp Bug 1873680 - Use a strongly-typed enum class instead of raw integer indexes for selection style lookup in nsTextPaintStyle. r=layout-reviewers,emilio 2024-01-09 18:06:12 +00:00
nsTextPaintStyle.h Bug 1873680 - Use a strongly-typed enum class instead of raw integer indexes for selection style lookup in nsTextPaintStyle. r=layout-reviewers,emilio 2024-01-09 18:06:12 +00:00
nsTextRunTransformations.cpp Bug 1852811 - Tighten up assertions in TransformString, and make it clear that the parallel arrays have the same length. r=hiro 2023-09-19 13:34:19 +00:00
nsTextRunTransformations.h Bug 1788637 - Remove MathML preferences scriptminsize_attribute and scriptsizemultiplier_attribute. r=emilio 2023-07-24 10:02:24 +00:00
nsVideoFrame.cpp Bug 1863846 change VideoInfo::Rotation to non-nested enum class VideoRotation so that it can be forward declared r=aosmond,media-playback-reviewers,padenot 2023-11-29 01:44:45 +00:00
nsVideoFrame.h Bug 1364813 - Remove IsFrameOfType, use non-virtual checks. r=jwatt 2023-11-26 22:17:28 +00:00