gecko-dev/layout/base
Ting-Yu Lin 6abef7f28c Bug 1671527 Part 4 - Add assertion to check a float containing block candidate is handled before processing its children. r=emilio
Call MaybePushFloatContainingBlock() before some of
ConstructFramesFromItemList()'s caller to enforce the invariant that a
float containing block candidate is handled before processing its
children. Most of them handle nsIFrame::eXULBox frame like nsMenuFrame
that forbid float descendants.

The assertion condition only requires us to call
MaybePushFloatContainingBlock() if aParentFrame forbids float
descendants or is a float containing block, because it is a waste if
aParentFrame has nothing to do with floats, e.g. aParentFrame is
nsInlineFrame or nsCanvasFrame.

Note: ProcessChildren() calls ConstructFramesFromItemList() internally,
so adding the assertion in ConstructFramesFromItemList() is sufficient.

Differential Revision: https://phabricator.services.mozilla.com/D120741
2021-07-23 22:52:06 +00:00
..
crashtests Bug 1671527 Part 3 - Reparent floats when creating non-column-span wrapper frames. r=emilio 2021-07-23 22:52:05 +00:00
gtest
tests Bug 1663475 - Paint caret geometry from the containing block. r=mats 2021-07-23 12:50:31 +00:00
AccessibleCaret.cpp Bug 1685421 - Part 2: Stop using NS_ERROR_DOM_HIERARCHY_REQUEST_ERR in nsINode; r=smaug 2021-06-02 13:43:39 +00:00
AccessibleCaret.h
AccessibleCaretEventHub.cpp
AccessibleCaretEventHub.h
AccessibleCaretLogger.h
AccessibleCaretManager.cpp Bug 1519636 - Reformat recent changes to the Google coding style r=andi,necko-reviewers 2021-02-15 08:49:20 +00:00
AccessibleCaretManager.h
ArenaObjectID.h
AutoProfilerStyleMarker.h
CaretAssociationHint.h
DisplayPortUtils.cpp Bug 1721537 - Split out WindowRenderer base class from LayerManager. r=miko 2021-07-22 22:58:57 +00:00
DisplayPortUtils.h Bug 1720804 - Part 1: Move majority of the display list code inside mozilla namespace r=mattwoodrow 2021-07-19 11:28:20 +00:00
FrameProperties.h
GeckoMVMContext.cpp
GeckoMVMContext.h Bug 1696717 - Mark GeckoMVMContext final. r=hiro 2021-03-07 21:46:00 +00:00
GeometryUtils.cpp Bug 1709200 - Rename nsContentUtils::GetRootDocument to GetInProcessSubtreeRootDocument; r=kmag 2021-05-05 09:42:20 +00:00
GeometryUtils.h
LayoutConstants.h Bug 1674302 Part 2 - Use StyleSizeOverrides to replace ComputeSizeFlag::UseAutoISize. r=dholbert 2021-02-18 05:45:24 +00:00
LayoutLogging.cpp
LayoutLogging.h
LayoutTelemetryTools.cpp
LayoutTelemetryTools.h
MVMContext.h
MediaEmulationData.h
MobileViewportManager.cpp Bug 1696717 - Ignore viewport meta in fullscreen. r=botond 2021-03-09 03:28:02 +00:00
MobileViewportManager.h
MotionPathUtils.cpp
MotionPathUtils.h
OverflowChangedTracker.h
PositionedEventTargeting.cpp Bug 1704062 - Fix include-what-you-use error in PositionedEventTargeting.cpp. r=tnikkel 2021-05-27 04:32:10 +00:00
PositionedEventTargeting.h
PresShell.cpp Bug 1721537 - Split out WindowRenderer base class from LayerManager. r=miko 2021-07-22 22:58:57 +00:00
PresShell.h Bug 1721537 - Split out WindowRenderer base class from LayerManager. r=miko 2021-07-22 22:58:57 +00:00
PresShellForwards.h Bug 1701928 - Selection scrolling should not ignore scroll-{margin,padding}. r=hiro,masayuki 2021-04-02 12:14:19 +00:00
PresShellInlines.h Bug 1699742 - Remove MOZ_GECKO_PROFILER ifdefs that are no longer needed, r=gerald. 2021-03-22 16:29:52 +00:00
PresState.ipdlh Bug 1689147 - Part 1: Add extended attribute syntax to IPDL, r=mccr8 2021-02-09 16:50:21 +00:00
RelativeTo.h
RestyleManager.cpp Bug 1542807 part 1 - Create generated content and use normal box construction for list-style-type/list-style-image ::markers. r=emilio 2021-06-14 01:22:04 +00:00
RestyleManager.h Bug 708901 - Migrate to nsTHashSet in layout. r=emilio 2021-03-24 17:56:46 +00:00
ScrollStyles.cpp
ScrollStyles.h
ScrollTypes.h
ShapeUtils.cpp Bug 1704742 - Fix percent basis of shape radii. r=TYLin 2021-04-14 09:29:37 +00:00
ShapeUtils.h Bug 1704742 - Fix percent basis of shape radii. r=TYLin 2021-04-14 09:29:37 +00:00
StackArena.cpp
StackArena.h
StaticPresData.cpp Bug 1716841 - Update font-size-adjust keywords to match CSSWG resolution in csswg-drafts/#6288. r=emilio 2021-07-07 11:58:40 +00:00
StaticPresData.h Bug 1716045 - Unify font-family storage. r=mats,jfkthame 2021-06-18 19:35:50 +00:00
SurfaceFromElementResult.h
TouchManager.cpp Bug 1184468 - Use nsBaseHashtable::Values. r=xpcom-reviewers,nika 2021-03-24 17:56:49 +00:00
TouchManager.h Bug 1634281 - Use nsTHashMap instead of nsDataHashtable. r=xpcom-reviewers,necko-reviewers,jgilbert,nika,valentin 2021-03-10 10:47:47 +00:00
UnitTransforms.h
Units.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
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 1700064. Disable double tap to zoom inside pdf.js. r=botond 2021-03-22 21:45:40 +00:00
ZoomConstraintsClient.h
moz.build
nsAutoLayoutPhase.cpp
nsAutoLayoutPhase.h
nsBidi.cpp
nsBidi.h
nsBidiPresUtils.cpp Bug 1713491 - Return std::pair from nsIFrame::GetOffsets r=emilio 2021-06-11 23:54:06 +00:00
nsBidiPresUtils.h
nsCSSColorUtils.cpp
nsCSSColorUtils.h Bug 1476524 - Don't require so much contrast for selection background-against-background checks. r=jfkthame 2021-04-13 16:29:14 +00:00
nsCSSFrameConstructor.cpp Bug 1671527 Part 4 - Add assertion to check a float containing block candidate is handled before processing its children. r=emilio 2021-07-23 22:52:06 +00:00
nsCSSFrameConstructor.h Bug 1717922 - Blockify outside markers at used value time rather than at computed value time. r=jfkthame 2021-07-15 11:23:19 +00:00
nsCaret.cpp Bug 1663475 - Paint caret geometry from the containing block. r=mats 2021-07-23 12:50:31 +00:00
nsCaret.h Bug 1663475 - Paint caret geometry from the containing block. r=mats 2021-07-23 12:50:31 +00:00
nsChangeHint.h Bug 1698445 - background-position changes should be throttable. r=hiro 2021-03-17 23:07:25 +00:00
nsCompatibility.h
nsCounterManager.cpp Bug 1542807 part 1 - Create generated content and use normal box construction for list-style-type/list-style-image ::markers. r=emilio 2021-06-14 01:22:04 +00:00
nsCounterManager.h Bug 1542807 part 1 - Create generated content and use normal box construction for list-style-type/list-style-image ::markers. r=emilio 2021-06-14 01:22:04 +00:00
nsDocumentViewer.cpp Bug 1718184 - pt 3. Use TimeDuration more in CCGCScheduler r=nika 2021-07-13 01:42:32 +00:00
nsFrameManager.cpp
nsFrameManager.h
nsFrameTraversal.cpp Bug 1713521 - layout/base/nsFrameTraversal.cpp: do not use 'else' after 'break'. r=emilio 2021-06-28 15:06:15 +00:00
nsFrameTraversal.h
nsGenConList.cpp Bug 1691913 - Rename nsBaseHashtable::Put to InsertOrUpdate. r=xpcom-reviewers,necko-reviewers,jgilbert,dragana,nika 2021-02-26 09:11:46 +00:00
nsGenConList.h Bug 1542807 part 1 - Create generated content and use normal box construction for list-style-type/list-style-image ::markers. r=emilio 2021-06-14 01:22:04 +00:00
nsIDocumentViewerPrint.h
nsIFrameTraversal.h
nsILayoutHistoryState.idl
nsIPercentBSizeObserver.h
nsIPreloadedStyleSheet.idl
nsIReflowCallback.h
nsIStyleSheetService.idl
nsLayoutDebugger.cpp Bug 1720711 - Remove most nsDisplayItem::GetAbove() calls r=mattwoodrow 2021-07-16 10:55:03 +00:00
nsLayoutHistoryState.cpp Bug 1184468 - Use nsTHashtable::Keys where possible. r=xpcom-reviewers,nika 2021-03-24 17:56:50 +00:00
nsLayoutUtils.cpp Bug 1717684, remove the popupRangeParent and popupRangeOffset properties in document and just use the cached event in the PendingPopup, r=emilio 2021-07-22 19:50:10 +00:00
nsLayoutUtils.h Bug 1720804 - Part 1: Move majority of the display list code inside mozilla namespace r=mattwoodrow 2021-07-19 11:28:20 +00:00
nsPresArena.cpp
nsPresArena.h Bug 1634281 - Remove unused nsDataHashtable.h includes. r=xpcom-reviewers,nika 2021-03-03 08:58:52 +00:00
nsPresArenaObjectList.h
nsPresContext.cpp Bug 1718755 - Ensure global theme/font pref changes are handled regardless of the pres context being alive. r=jfkthame 2021-07-20 14:10:59 +00:00
nsPresContext.h Bug 1720804 - Part 1: Move majority of the display list code inside mozilla namespace r=mattwoodrow 2021-07-19 11:28:20 +00:00
nsPresContextInlines.h
nsQuoteList.cpp
nsQuoteList.h
nsRefreshDriver.cpp Bug 1721537 - Split out WindowRenderer base class from LayerManager. r=miko 2021-07-22 22:58:57 +00:00
nsRefreshDriver.h Bug 1717991 - Remove ifdefs around code that adds profiler markers with custom marker schemas, r=gerald. 2021-06-25 13:28:01 +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