fune/layout/generic
David Shin e9eaa316b3 Bug 1815729: Replace GetCaretBaseline with GetCaretBlockAxisMetrics. r=emilio
Callers of `GetCaretBaseline` just use it to get offset and size of the caret, so
refactor the shared logic. In the call sites, delay conversion of logical to physical
rect to reduce variable shuffling.

Differential Revision: https://phabricator.services.mozilla.com/D169210
2023-02-24 17:26:44 +00:00
..
crashtests Bug 1816574 - Force fit the content in nested multicol when ReflowConfig::mForceAuto is true. r=emilio 2023-02-22 19:21:04 +00:00
test Bug 1805414 - Remove nsMenuFrame and nsMenuParent. r=smaug,Jamie,desktop-theme-reviewers,settings-reviewers,dao 2023-01-04 19:01:13 +00:00
AnonymousContentKey.h
AspectRatio.cpp
AspectRatio.h Bug 1786568 - AspectRatio invalidation should check mUseBoxSizing as well. r=emilio 2022-09-21 23:17:25 +00:00
AutoCopyListener.h
BlockReflowState.cpp Bug 1805597 - Place a float with insufficient available inline-size below current line regarless of its clearance value. r=jfkthame,layout-reviewers 2023-02-13 19:12:10 +00:00
BlockReflowState.h Bug 1792134 Part 6 - More rename and clean up related to StyleClear. r=emilio 2022-09-29 03:40:56 +00:00
BRFrame.cpp Bug 1811311 - Part 3: Refactor GetNaturalBaselineBOffset to return Maybe<nscoord>. r=layout-reviewers,emilio 2023-02-23 14:53:27 +00:00
broken-image.png
ColumnSetWrapperFrame.cpp Bug 1799732 Part 3 - Convert FrameChildListID to enum class. r=emilio 2022-11-12 04:38:53 +00:00
ColumnSetWrapperFrame.h Bug 1798373 Part 7 - Change nsContainerFrame::InsertFrames() to take rvalue reference of nsFrameList. r=emilio 2022-11-01 21:15:55 +00:00
ColumnUtils.cpp
ColumnUtils.h
CSSAlignUtils.cpp
CSSAlignUtils.h
CSSOrderAwareFrameIterator.cpp
CSSOrderAwareFrameIterator.h Bug 1799732 Part 2 - Flatten the namespace for FrameChildList and co. by removing namespace layout. r=emilio 2022-11-12 04:38:53 +00:00
folder.png
frame-graph.py
FrameClass.py Bug 1758564 - Allow rendering children of <img>'s shadow root. r=dholbert 2022-03-10 05:11:38 +00:00
FrameClasses.py Bug 1815229 - Remove nsImageBoxFrame. r=tnikkel,layout-reviewers 2023-02-21 17:36:11 +00:00
GenerateFrameLists.py Bug 1790816 - Reformat layout/ with isort. r=linter-reviewers,ahal DONTBUILD 2022-11-24 17:23:27 +00:00
jar.mn Bug 1817360 - Remove browser.display.show_loading_image_placeholder. r=tnikkel 2023-02-17 09:25:20 +00:00
JustificationUtils.h
LayoutMessageUtils.h Bug 1595491 - Part 1: Make <embed> and <object> behave more like <iframe>. r=smaug,emilio 2022-08-16 16:42:58 +00:00
MathMLTextRunFactory.cpp Bug 1808757 - [refactor] Migrate defines to constexpr vars r=emilio 2023-01-09 09:03:42 +00:00
MathMLTextRunFactory.h Bug 1797805: Run clang-format on layout directory. r=dshin 2022-10-27 17:50:45 +00:00
moz.build Bug 1799407 - Move definitions in FrameChildList.h/cpp into nsFrameList.h/cpp. r=emilio 2022-11-07 18:59:10 +00:00
nsAbsoluteContainingBlock.cpp Bug 1803377 - Rename the values of the IntrinsicDirty enum r=emilio 2022-12-02 12:27:31 +00:00
nsAbsoluteContainingBlock.h Bug 1799732 Part 3 - Convert FrameChildListID to enum class. r=emilio 2022-11-12 04:38:53 +00:00
nsAtomicContainerFrame.h
nsBackdropFrame.cpp
nsBackdropFrame.h
nsBlockDebugFlags.h Bug 1323517 Part 2 - Remove float debug log that requires manual #define. r=jfkthame 2022-07-07 19:01:54 +00:00
nsBlockFrame.cpp Bug 1811311 - Part 3: Refactor GetNaturalBaselineBOffset to return Maybe<nscoord>. r=layout-reviewers,emilio 2023-02-23 14:53:27 +00:00
nsBlockFrame.h Bug 1811311 - Part 3: Refactor GetNaturalBaselineBOffset to return Maybe<nscoord>. r=layout-reviewers,emilio 2023-02-23 14:53:27 +00:00
nsBlockReflowContext.cpp Bug 1792134 Part 6 - More rename and clean up related to StyleClear. r=emilio 2022-09-29 03:40:56 +00:00
nsBlockReflowContext.h Bug 1777627 Part 2 - Remove aIsAdjacentWithBStart argument on nsBlockReflowContext::ReflowBlock(). r=emilio 2022-07-05 23:43:52 +00:00
nsCanvasFrame.cpp Bug 1379458 - The ScrollParentId should match the ASR tree. r=botond,tnikkel,mstange 2022-12-27 14:08:51 +00:00
nsCanvasFrame.h Bug 1800238 - Make popups position: fixed rather than position: absolute. r=TYLin 2022-11-12 21:10:18 +00:00
nsColumnSetFrame.cpp Bug 1816574 - Force fit the content in nested multicol when ReflowConfig::mForceAuto is true. r=emilio 2023-02-22 19:21:04 +00:00
nsColumnSetFrame.h Bug 1809764 Part 2 - Ignore "break-inside:avoid" for content in a nested top-of-page multicol in last balancing reflow. r=emilio 2023-02-07 07:44:12 +00:00
nsContainerFrame.cpp Bug 1818591 - Remove -moz-box special-casing of min-size properties. r=dholbert 2023-02-23 22:47:20 +00:00
nsContainerFrame.h Bug 1813960 - Move nsContainerFrame::SyncWindowProperties to PresShell. r=smaug 2023-02-02 13:37:02 +00:00
nsContainerFrameInlines.h
nsDirection.h
nsFirstLetterFrame.cpp Bug 1811311 - Part 3: Refactor GetNaturalBaselineBOffset to return Maybe<nscoord>. r=layout-reviewers,emilio 2023-02-23 14:53:27 +00:00
nsFirstLetterFrame.h Bug 1811311 - Part 3: Refactor GetNaturalBaselineBOffset to return Maybe<nscoord>. r=layout-reviewers,emilio 2023-02-23 14:53:27 +00:00
nsFlexContainerFrame.cpp Bug 1811311 - Part 3: Refactor GetNaturalBaselineBOffset to return Maybe<nscoord>. r=layout-reviewers,emilio 2023-02-23 14:53:27 +00:00
nsFlexContainerFrame.h Bug 1811311 - Part 3: Refactor GetNaturalBaselineBOffset to return Maybe<nscoord>. r=layout-reviewers,emilio 2023-02-23 14:53:27 +00:00
nsFloatManager.cpp Bug 1815404 - Replace most uses of gfxContext::CreateOrNull with stack-allocated contexts. r=gfx-reviewers,lsalzman 2023-02-21 07:28:25 +00:00
nsFloatManager.h Bug 1792134 Part 6 - More rename and clean up related to StyleClear. r=emilio 2022-09-29 03:40:56 +00:00
nsFontInflationData.cpp Bug 1744009 - Simplify combobox <select> code. r=mconley,dholbert 2022-01-17 11:10:05 +00:00
nsFontInflationData.h
nsFrameList.cpp Bug 1799732 Part 3 - Convert FrameChildListID to enum class. r=emilio 2022-11-12 04:38:53 +00:00
nsFrameList.h Bug 1799732 Part 3 - Convert FrameChildListID to enum class. r=emilio 2022-11-12 04:38:53 +00:00
nsFrameSelection.cpp Bug 1810403: Allow nsRanges to be in multiple Selections. r=masayuki 2023-02-21 12:25:28 +00:00
nsFrameSelection.h Bug 1803355: Basic implementation of Custom Highlight API. r=edgar,emilio 2023-01-27 11:42:18 +00:00
nsFrameSetFrame.cpp Bug 1799732 Part 3 - Convert FrameChildListID to enum class. r=emilio 2022-11-12 04:38:53 +00:00
nsFrameSetFrame.h Bug 1798373 Part 5 - Change nsContainerFrame::SetInitialChildList() to take rvalue reference of nsFrameList. r=emilio 2022-11-01 21:15:54 +00:00
nsFrameState.cpp
nsFrameState.h
nsFrameStateBits.h Bug 1799343 - Simplify XUL popup handling. r=TYLin 2022-11-09 20:38:04 +00:00
nsGfxScrollFrame.cpp Bug 1811311 - Part 3: Refactor GetNaturalBaselineBOffset to return Maybe<nscoord>. r=layout-reviewers,emilio 2023-02-23 14:53:27 +00:00
nsGfxScrollFrame.h Bug 1811311 - Part 3: Refactor GetNaturalBaselineBOffset to return Maybe<nscoord>. r=layout-reviewers,emilio 2023-02-23 14:53:27 +00:00
nsGridContainerFrame.cpp Bug 1811311 - Part 3: Refactor GetNaturalBaselineBOffset to return Maybe<nscoord>. r=layout-reviewers,emilio 2023-02-23 14:53:27 +00:00
nsGridContainerFrame.h Bug 1811311 - Part 3: Refactor GetNaturalBaselineBOffset to return Maybe<nscoord>. r=layout-reviewers,emilio 2023-02-23 14:53:27 +00:00
nsHTMLCanvasFrame.cpp Bug 1651129 - Convert uses of mState to various StateBits methods and make mState private r=emilio 2023-02-15 21:35:46 +00:00
nsHTMLCanvasFrame.h Bug 1802225 - Remove class Layer. r=tnikkel 2022-11-29 01:52:01 +00:00
nsHTMLParts.h Bug 1740365 Part 1 - Use CSS page name when constructing nsPageContentFrames and computed page content style r=dholbert,emilio 2022-11-10 23:43:48 +00:00
nsIAnonymousContentCreator.h
nsIFrame.cpp Bug 1815729: Replace GetCaretBaseline with GetCaretBlockAxisMetrics. r=emilio 2023-02-24 17:26:44 +00:00
nsIFrame.h Bug 1815729: Replace GetCaretBaseline with GetCaretBlockAxisMetrics. r=emilio 2023-02-24 17:26:44 +00:00
nsIFrameInlines.h Bug 1811311 - Part 2: Extract SynthesizeBaselineBOffsetFrom* out of nsIFrame. r=emilio 2023-02-23 14:53:27 +00:00
nsILineIterator.cpp Bug 1792333 - Factor out the "find closest frame in the line" checks. r=dholbert 2022-10-02 07:06:46 +00:00
nsILineIterator.h Bug 1793375 - Rename nsILineIterator::GetDirection to IsLineIteratorFlowRTL. r=dholbert 2022-10-03 11:00:39 +00:00
nsImageFrame.cpp Bug 1818432 - Provide intrinsic size from theme for xul images that are themed but don't have any images. r=tnikkel,layout-reviewers 2023-02-23 12:49:12 +00:00
nsImageFrame.h Bug 1815229 - Remove nsImageBoxFrame. r=tnikkel,layout-reviewers 2023-02-21 17:36:11 +00:00
nsImageMap.cpp Bug 1665151 - Part 2: Expose custom element default accessibility attributes. r=edgar,Jamie,credential-management-reviewers,sgalich 2022-11-02 14:50:56 +00:00
nsImageMap.h Bug 1751473 Part 2 - Use CSSIntPoint instead of nsIntPoint in image event handling code. r=emilio 2022-01-22 01:07:19 +00:00
nsInlineFrame.cpp Bug 1811311 - Part 3: Refactor GetNaturalBaselineBOffset to return Maybe<nscoord>. r=layout-reviewers,emilio 2023-02-23 14:53:27 +00:00
nsInlineFrame.h Bug 1811311 - Part 3: Refactor GetNaturalBaselineBOffset to return Maybe<nscoord>. r=layout-reviewers,emilio 2023-02-23 14:53:27 +00:00
nsIntervalSet.cpp
nsIntervalSet.h
nsIScrollableFrame.h Bug 1794056 - Use static pref version of scroll distance prefs. r=hiro,TYLin 2022-10-06 23:56:58 +00:00
nsIScrollPositionListener.h
nsIStatefulFrame.h
nsLeafFrame.cpp
nsLeafFrame.h
nsLineBox.cpp Bug 1792333 - Factor out the "find closest frame in the line" checks. r=dholbert 2022-10-02 07:06:46 +00:00
nsLineBox.h Bug 1793375 - Rename nsILineIterator::GetDirection to IsLineIteratorFlowRTL. r=dholbert 2022-10-03 11:00:39 +00:00
nsLineLayout.cpp Bug 1814626 - Expose line-height resolution to style, and use it from ToResolvedValue. r=jfkthame 2023-02-14 22:36:31 +00:00
nsLineLayout.h Bug 1758018 Part 1 - Rename the helpers testing "position:relative" or "position:sticky". r=emilio 2022-03-04 03:02:00 +00:00
nsPageContentFrame.cpp Bug 1802238 - Don't allow using mixed page sizes when printing unless layout.css.allow-mixed-page-sizes is set r=dholbert 2022-12-06 21:24:29 +00:00
nsPageContentFrame.h Bug 1803861 - Implement nsPageFrame::FirstContinuation and nsPageContentFrame::FirstContinuation with constant complexity r=dholbert 2022-12-06 00:07:09 +00:00
nsPageFrame.cpp Bug 1673987 - Implement page-orientation in @page rules for multiple pages-per-sheet. r=AlaskanEmily 2023-02-10 00:56:35 +00:00
nsPageFrame.h Bug 1814047 - Make buttons not ignore the "print backgrounds" setting. r=jfkthame,layout-reviewers 2023-01-31 22:22:58 +00:00
nsPageSequenceFrame.cpp Bug 1815404 - Remove refcounting from gfxContext. r=gfx-reviewers,lsalzman 2023-02-21 07:28:24 +00:00
nsPageSequenceFrame.h Bug 1673987 - Implement page-orientation in @page rules for multiple pages-per-sheet. r=AlaskanEmily 2023-02-10 00:56:35 +00:00
nsPlaceholderFrame.cpp Bug 1799732 Part 3 - Convert FrameChildListID to enum class. r=emilio 2022-11-12 04:38:53 +00:00
nsPlaceholderFrame.h Bug 1799343 - Simplify XUL popup handling. r=TYLin 2022-11-09 20:38:04 +00:00
nsQueryFrame.h
nsRubyBaseContainerFrame.cpp Bug 1811311 - Part 3: Refactor GetNaturalBaselineBOffset to return Maybe<nscoord>. r=layout-reviewers,emilio 2023-02-23 14:53:27 +00:00
nsRubyBaseContainerFrame.h Bug 1811311 - Part 3: Refactor GetNaturalBaselineBOffset to return Maybe<nscoord>. r=layout-reviewers,emilio 2023-02-23 14:53:27 +00:00
nsRubyBaseFrame.cpp
nsRubyBaseFrame.h
nsRubyContentFrame.cpp
nsRubyContentFrame.h
nsRubyFrame.cpp
nsRubyFrame.h
nsRubyTextContainerFrame.cpp Bug 1799732 Part 3 - Convert FrameChildListID to enum class. r=emilio 2022-11-12 04:38:53 +00:00
nsRubyTextContainerFrame.h Bug 1798373 Part 7 - Change nsContainerFrame::InsertFrames() to take rvalue reference of nsFrameList. r=emilio 2022-11-01 21:15:55 +00:00
nsRubyTextFrame.cpp
nsRubyTextFrame.h
nsSplittableFrame.cpp
nsSplittableFrame.h Bug 1803861 - Implement nsPageFrame::FirstContinuation and nsPageContentFrame::FirstContinuation with constant complexity r=dholbert 2022-12-06 00:07:09 +00:00
nsSubDocumentFrame.cpp Bug 1379458 - The ScrollParentId should match the ASR tree. r=botond,tnikkel,mstange 2022-12-27 14:08:51 +00:00
nsSubDocumentFrame.h Bug 1802225 - Remove class Layer. r=tnikkel 2022-11-29 01:52:01 +00:00
nsTextFrame.cpp Bug 1811311 - Part 3: Refactor GetNaturalBaselineBOffset to return Maybe<nscoord>. r=layout-reviewers,emilio 2023-02-23 14:53:27 +00:00
nsTextFrame.h Bug 1811311 - Part 3: Refactor GetNaturalBaselineBOffset to return Maybe<nscoord>. r=layout-reviewers,emilio 2023-02-23 14:53:27 +00:00
nsTextFrameUtils.cpp Bug 1744009 - Simplify combobox <select> code. r=mconley,dholbert 2022-01-17 11:10:05 +00:00
nsTextFrameUtils.h Bug 1744009 - Simplify combobox <select> code. r=mconley,dholbert 2022-01-17 11:10:05 +00:00
nsTextRunTransformations.cpp Bug 1799346 - [refactor] Remove unused nsStylePage and nsStyleText defines r=emilio 2022-11-07 00:28:48 +00:00
nsTextRunTransformations.h Bug 1747922 - Rename StyleMathMLMathVariant -> StyleMathVariant. 2021-12-30 02:35:54 +01:00
nsVideoFrame.cpp Bug 1651129 - Convert uses of mState to various StateBits methods and make mState private r=emilio 2023-02-15 21:35:46 +00:00
nsVideoFrame.h Bug 1783069 - Make aspect-ratio work on <video> properly. r=boris,Oriol,layout-reviewers 2022-08-16 12:20:15 +00:00
PrintedSheetFrame.cpp Bug 1673987 - Implement page-orientation in @page rules for multiple pages-per-sheet. r=AlaskanEmily 2023-02-10 00:56:35 +00:00
PrintedSheetFrame.h
ReflowInput.cpp Bug 1804794 - Do not allow CSS named page breaks except in specific subtrees. r=dholbert 2023-02-22 23:49:51 +00:00
ReflowInput.h Bug 1804794 - Do not allow CSS named page breaks except in specific subtrees. r=dholbert 2023-02-22 23:49:51 +00:00
ReflowOutput.cpp Bug 1800907 - Do not UnionRect empty rects in OverflowAreas::Union*. r=jwatt 2022-12-13 15:23:35 +00:00
ReflowOutput.h Bug 1770729 - Fix IntersectionObserver overflow: clip on zero-sized elements. r=jwatt 2022-05-23 13:52:48 +00:00
RubyUtils.cpp
RubyUtils.h
ScrollAnchorContainer.cpp Bug 1808077 - Shrink back ScrollFrameHelper. r=hiro 2023-01-17 02:06:53 +00:00
ScrollAnchorContainer.h Bug 1808077 - Shrink back ScrollFrameHelper. r=hiro 2023-01-17 02:06:53 +00:00
ScrollAnimationBezierPhysics.cpp
ScrollAnimationBezierPhysics.h
ScrollAnimationMSDPhysics.cpp Bug 1759958 - Implement ScrollAnimationMSDPhysics::ApplyContentShift() correctly. r=hiro 2022-03-18 05:13:59 +00:00
ScrollAnimationMSDPhysics.h Bug 1759958 - Implement ScrollAnimationMSDPhysics::ApplyContentShift() correctly. r=hiro 2022-03-18 05:13:59 +00:00
ScrollAnimationPhysics.h Bug 1759958 - Add comments to clarify the purpose of ScrollAnimationPhysics::Update() and ApplyContentShift(). r=hiro 2022-03-18 05:13:59 +00:00
ScrollbarActivity.cpp Bug 1756831. When considering mousemoves over scroll frames to show overlay scrollbars rejects mousemove over content descendants that aren't frame descandants. r=emilio 2022-03-22 15:31:45 +00:00
ScrollbarActivity.h
ScrollbarPreferences.h
ScrollGeneration.cpp Bug 1571758 - Introduce scroll generation in APZC and SampledAPZCState and inform it to the scrollable frame on the main-thread via RepaintRequest. r=botond 2022-01-31 09:40:33 +00:00
ScrollGeneration.h Bug 1767131: run clang-format on the layout/ directory. r=emilio DONTBUILD 2022-04-30 15:25:29 +00:00
ScrollOrigin.h
ScrollPositionUpdate.cpp Bug 1774537 - Propagate snap target ids for async scroll operations triggered on the main-thread, but will be processed in APZ. r=botond 2022-07-15 06:47:37 +00:00
ScrollPositionUpdate.h Bug 1774537 - Propagate snap target ids for async scroll operations triggered on the main-thread, but will be processed in APZ. r=botond 2022-07-15 06:47:37 +00:00
ScrollSnap.cpp Bug 1791606 - Downgrade the assertion when we found multiple SnapTargets for the same focused content. r=emilio 2022-10-31 22:58:12 +00:00
ScrollSnap.h Bug 1777649 - Factor out some utility functions for scroll snap. r=botond 2022-07-31 22:51:56 +00:00
ScrollSnapTargetId.h Bug 1774537 - Propagate last snap target id(s) from APZ to the content. r=botond 2022-07-15 06:47:37 +00:00
ScrollVelocityQueue.cpp
ScrollVelocityQueue.h
StickyScrollContainer.cpp Bug 1472602 - Sticky/relative position fixes in nsTableWrapperFrame. r=dholbert 2022-05-23 23:40:42 +00:00
StickyScrollContainer.h
TextDrawTarget.h Bug 1816299 - Try to avoid sending entirely-clipped glyph runs to a TextDrawTarget. r=gfx-reviewers,lsalzman 2023-02-14 08:10:14 +00:00
TextOverflow.cpp Bug 1815404 - Replace most uses of gfxContext::CreateOrNull with stack-allocated contexts. r=gfx-reviewers,lsalzman 2023-02-21 07:28:25 +00:00
TextOverflow.h Bug 1797211: Make TextOverflow's default constructor private (as a nudge towards its static factory method). r=dshin 2022-10-27 17:58:06 +00:00
ViewportFrame.cpp Bug 1379458 - The ScrollParentId should match the ASR tree. r=botond,tnikkel,mstange 2022-12-27 14:08:51 +00:00
ViewportFrame.h Bug 1799732 Part 3 - Convert FrameChildListID to enum class. r=emilio 2022-11-12 04:38:53 +00:00
Visibility.h
WBRFrame.cpp
WritingModes.h Bug 1769512 - Implement overflow-clip-margin: <length>. r=jwatt 2022-05-23 07:21:43 +00:00