gecko-dev/layout/base
Ting-Yu Lin 451290249c Bug 1377072 - Include child frame's overflow area locating at its normal position into parent's overflow. r=dholbert
When a position:sticky element "sticks" in the scroll container's scrollport, we
compute its containing block's overflow areas by including its overflow areas
located at its relative position. This makes the element's normal position
unreachable because its overflow areas located at its "normal position" might
not be within its containing block's overflow areas. Block frame doesn't have
this problem because `nsLineBox` always includes the element's normal position
rect in its own rect.

Therefore, when including a sticky child frame's overflow area into its parent's
overflow area, the overflow areas located at its normal position should be
included as well. This behavior is consistent with a relatively positioned child
frame. (A position:relative frame's normal position is always reachable when
scrolling, at least in both axes that grow positively.)

Differential Revision: https://phabricator.services.mozilla.com/D140373
2022-03-05 22:27:22 +00:00
..
crashtests Bug 1746989 - Use NSToCoordRoundWithClamp in nsLayoutUtils::TransformRect to avoid undefined behavior in conversions from float to int. r=TYLin 2022-03-02 06:18:58 +00:00
gtest Bug 1731371: Remove REQUIRES_UNIFIED_BUILD declaration from layout subdirectories that don't need it. r=emilio 2021-09-19 04:03:41 +00:00
tests Bug 1756118 followup: add a test to be sure refresh driver stops ticking when resize observer is unregistered. r=smaug 2022-02-24 00:30:52 +00:00
AccessibleCaret.cpp Bug 1580394 - Add an InsertAnonymousContent version which tries to update layout synchronously if needed. r=nchevobbe,smaug 2021-12-02 08:39:22 +00:00
AccessibleCaret.h
AccessibleCaretEventHub.cpp
AccessibleCaretEventHub.h
AccessibleCaretLogger.h
AccessibleCaretManager.cpp Bug 1740853 - part 3: Redesign `nsContentUtils::ComparePoints_Fix*()` as taking `int64_t` for the offset r=smaug 2021-12-09 17:06:18 +00:00
AccessibleCaretManager.h
ArenaObjectID.h
AutoProfilerStyleMarker.h Bug 1738627 - profiler_thread_is_being_profiled_for_markers - r=canaltinova 2021-11-08 23:59:35 +00:00
CaretAssociationHint.h
DisplayPortUtils.cpp Bug 1753881. Simplify a few IsVisualViewportOffsetSet callers. r=botond 2022-02-27 13:09:27 +00:00
DisplayPortUtils.h Bug 1733747. Remove remaining critical display port code. r=botond 2022-01-17 10:29:44 +00:00
FrameProperties.h Bug 1591366 - Always reserve 64 bits for frame property value r=dholbert 2021-09-20 19:52:46 +00:00
GeckoMVMContext.cpp Bug 1730741 part 2: Add includes and forward-decls to fix non-unified-build bustage in layout/base, and remove REQUIRES_UNIFIED_BUILD declaration. r=emilio 2021-09-15 18:48:17 +00:00
GeckoMVMContext.h
GeometryUtils.cpp Bug 1746794 - Make more nsLayoutUtils functions SVG-text aware. r=layout-reviewers,jfkthame 2022-01-28 16:50:14 +00:00
GeometryUtils.h
LayoutConstants.h
LayoutLogging.cpp
LayoutLogging.h
LayoutTelemetryTools.cpp
LayoutTelemetryTools.h
MVMContext.h
MediaEmulationData.h
MobileViewportManager.cpp Bug 1730741 part 1: Export MobileViewportManager's LazyLogModule in a more structured way. r=botond 2021-09-15 18:48:16 +00:00
MobileViewportManager.h Bug 1730741 part 1: Export MobileViewportManager's LazyLogModule in a more structured way. r=botond 2021-09-15 18:48:16 +00:00
MotionPathUtils.cpp Bug 1730741 part 2: Add includes and forward-decls to fix non-unified-build bustage in layout/base, and remove REQUIRES_UNIFIED_BUILD declaration. r=emilio 2021-09-15 18:48:17 +00:00
MotionPathUtils.h
OverflowChangedTracker.h
PositionedEventTargeting.cpp Bug 1733384 - Make inert not modify the computed style. r=sefeng,layout-reviewers,jfkthame 2021-10-07 17:00:36 +00:00
PositionedEventTargeting.h
PresShell.cpp Bug 1757577 - Fix non-unified-build bustage in layout/base/PresShell.cpp; r=layout-reviewers,jfkthame 2022-03-04 12:40:23 +00:00
PresShell.h Bug 1756762. When the root scroll frame is destroyed, reset the visual viewport offset on it's presshell. r=botond 2022-03-01 01:51:27 +00:00
PresShellForwards.h Bug 1722346 - Only append to the end/top of the display list r=mstange 2022-02-21 16:50:22 +00:00
PresShellInlines.h
PresState.ipdlh
RelativeTo.h
RestyleManager.cpp Bug 1758018 Part 2 - Add helpers testing only "position:relative", and adapt them at some callsites. r=emilio 2022-03-04 03:02:01 +00:00
RestyleManager.h
ScrollStyles.cpp
ScrollStyles.h
ScrollTypes.h Bug 1739541 - Introduce APZScrollAnimationType and use it in RepaintRequest and ScrollFrameHelopr instead of a boolean representing whether there's an animation or not. r=botond 2021-11-09 09:19:26 +00:00
ShapeUtils.cpp
ShapeUtils.h
StackArena.cpp
StackArena.h
StaticPresData.cpp Bug 1739464 - Simplify language-dependent font fallback code. r=jfkthame 2021-11-19 16:11:55 +00:00
StaticPresData.h Bug 1519636 - Reformat recent changes to the Google coding style. r=sylvestre 2021-12-05 19:04:18 +00:00
SurfaceFromElementResult.h
TouchManager.cpp Bug 1455514 - part 1: Add accessors and static helper methods to retrieve `nsINode` or its concrete classes from `EventTarget` r=smaug 2021-11-02 13:03:43 +00:00
TouchManager.h Bug 1733727 part 2: Use StaticAutoPtr to manage lifetime of various "sFoo" static global variables in layout. r=jfkthame 2021-10-02 18:59:11 +00:00
UnitTransforms.h Bug 1732600. Pass down transform to ancestor scale to child processes. r=botond 2021-10-05 09:28:57 +00:00
Units.h Bug 1757106 - Clean up menu popup rect handling. r=stransky 2022-03-01 01:06:37 +00:00
ViewportUtils.cpp Bug 1720176 - Get Matrix4x4Typed::Decompose() to compile for non-Unknown matrix types. r=jrmuizel 2021-07-19 18:37:37 +00:00
ViewportUtils.h Bug 1712400 - Account for the resolution in the enclosing document when positioning and sizing the drag preview image when dragging content in a nested content process. r=hiro 2021-07-10 17:23:20 +00:00
WordMovementType.h
ZoomConstraintsClient.cpp Bug 1742985 - Ensure ZoomConstraints get refreshed after GPU process restart. r=tnikkel 2022-01-07 13:27:48 +00:00
ZoomConstraintsClient.h
moz.build Bug 1738401 - Remove -Wno-shadow warning suppressions. r=firefox-build-system-reviewers,glandium 2021-12-01 06:40:04 +00:00
nsAutoLayoutPhase.cpp
nsAutoLayoutPhase.h
nsBidiPresUtils.cpp Bug 1719554 - Unify nsCharType as intl::BidiClass; r=platform-i18n-reviewers,jfkthame,gregtatum 2021-12-06 18:15:49 +00:00
nsBidiPresUtils.h Bug 1719554 - Unify nsCharType as intl::BidiClass; r=platform-i18n-reviewers,jfkthame,gregtatum 2021-12-06 18:15:49 +00:00
nsCSSColorUtils.cpp
nsCSSColorUtils.h
nsCSSFrameConstructor.cpp Bug 1755808 - constify some of nsCSSFrameConstructor::AddFrameConstructionItemsInternal r=emilio 2022-02-16 23:15:27 +00:00
nsCSSFrameConstructor.h Bug 1744009 - Simplify combobox <select> code. r=mconley,dholbert 2022-01-17 11:10:05 +00:00
nsCaret.cpp Bug 1744877 - Remove --disable-xul. r=Gijs 2021-12-08 21:37:11 +00:00
nsCaret.h Bug 1738057 - Split out BidiEmbeddingLevel into its own file; r=platform-i18n-reviewers,dminor 2021-11-16 15:11:58 +00:00
nsChangeHint.h Bug 1730351 - Don't use NS_IsHintSubset unnecessarily in some places. r=layout-reviewers,jfkthame 2021-09-29 10:16:10 +00:00
nsCompatibility.h
nsCounterManager.cpp Bug 1745506 - Add missing initialization of an INCREMENT node that isn't in a scope, nor first in the list. r=emilio 2021-12-12 18:44:39 +00:00
nsCounterManager.h Bug 1706346 part 2 - [css-lists] Implement the counter value calculations for 'reversed(<counter-name>)'. r=emilio 2021-11-14 03:49:36 +00:00
nsDocumentViewer.cpp Bug 1704178. Remove platform print.tab_modal.enabled=false code. r=bobowen 2022-01-28 15:52:51 +00:00
nsFrameManager.cpp
nsFrameManager.h
nsFrameTraversal.cpp Bug 1730741 part 2: Add includes and forward-decls to fix non-unified-build bustage in layout/base, and remove REQUIRES_UNIFIED_BUILD declaration. r=emilio 2021-09-15 18:48:17 +00:00
nsFrameTraversal.h
nsGenConList.cpp Bug 1730741 part 2: Add includes and forward-decls to fix non-unified-build bustage in layout/base, and remove REQUIRES_UNIFIED_BUILD declaration. r=emilio 2021-09-15 18:48:17 +00:00
nsGenConList.h Bug 1724880 - Add a layout-debugger menu item that dumps CounterManager data. r=emilio 2021-08-10 23:15:31 +00:00
nsIDocumentViewerPrint.h
nsIFrameTraversal.h Bug 1730741 part 2: Add includes and forward-decls to fix non-unified-build bustage in layout/base, and remove REQUIRES_UNIFIED_BUILD declaration. r=emilio 2021-09-15 18:48:17 +00:00
nsILayoutHistoryState.idl
nsIPercentBSizeObserver.h
nsIPreloadedStyleSheet.idl
nsIReflowCallback.h
nsIStyleSheetService.idl
nsLayoutDebugger.cpp Bug 1751587 - Fix compiler warning r=emilio 2022-01-24 14:48:13 +00:00
nsLayoutHistoryState.cpp
nsLayoutUtils.cpp Bug 1377072 - Include child frame's overflow area locating at its normal position into parent's overflow. r=dholbert 2022-03-05 22:27:22 +00:00
nsLayoutUtils.h Bug 1754662. Refactor nsLayoutUtils::GetPopupFrameForEventCoordinates. r=emilio 2022-02-12 09:41:50 +00:00
nsPresArena.cpp Bug 1726291 - Remove FrameLayerBuilder. r=miko 2021-08-23 03:07:31 +00:00
nsPresArena.h
nsPresArenaObjectList.h Bug 1726291 - Remove FrameLayerBuilder. r=miko 2021-08-23 03:07:31 +00:00
nsPresContext.cpp Bug 1725363 - Replace PL_strcasecmp with nsCRT::strcasecmp layout/ r=tnikkel 2022-01-26 09:57:46 +00:00
nsPresContext.h Backed out changeset 8739b71b8bd9 (bug 1740499) as requested by smaug 2022-01-20 22:21:32 +02:00
nsPresContextInlines.h
nsQuoteList.cpp Bug 1752649 - Use GetInFlowParent when retrieving language to be used for quote marks from the element's context. r=dholbert 2022-01-31 11:55:43 +00:00
nsQuoteList.h
nsRefreshDriver.cpp Bug 1757822 - Restore pre-bug 1676760 runnable priority in non-e10s mode. r=smaug 2022-03-03 18:11:30 +00:00
nsRefreshDriver.h Bug 1754562, make parent process' idle detection be aware of active RefreshDrivers in the other processes, r=mstange 2022-02-26 22:37:03 +00:00
nsRefreshObservers.cpp Bug 1716481 - Improve ManagedPostRefreshObserver. r=smaug 2021-06-24 22:05:12 +00:00
nsRefreshObservers.h Bug 1716481 - Improve ManagedPostRefreshObserver. r=smaug 2021-06-24 22:05:12 +00:00
nsStyleChangeList.cpp
nsStyleChangeList.h
nsStyleSheetService.cpp
nsStyleSheetService.h