gecko-dev/layout/generic
Timothy Nikkel bb82df49f5 Bug 1691879. Fix expiry with minimal display ports. r=botond
In RemoveDisplayPortCallback

https://searchfox.org/mozilla-central/rev/7067bbd8194f4346ec59d77c33cd88f06763e090/layout/generic/nsGfxScrollFrame.cpp#2588

we don't remove a regular display port and install a minimal display port if mIsScrollParent is true on the scroll frame. mIsScrollParent gets set to true if any child scroll frame has a display port of any time (minimal or otherwise).

We want to expire a regular display port and replace it with a minimal display port if it only contains minimal display ports (or no display ports).

This was caught while I was updating gfx/layers/apz/test/mochitest/test_layerization.html for the new activate all scroll frames code (bug 1691878).

Differential Revision: https://phabricator.services.mozilla.com/D104648
2021-02-11 08:58:06 +00:00
..
crashtests Bug 1676970 - Always consider text controls has independent selection r=emilio 2021-02-02 00:09:59 +00:00
test Bug 1685491 - part 2: Fix all new oranges caused by the previous patch r=smaug 2021-02-02 03:02:53 +00:00
AnonymousContentKey.h
AspectRatio.cpp Bug 1683424 - Add UseBoxSizing for AspectRatio class, and fix non-replaced element usage. r=TYLin 2020-12-23 22:42:55 +00:00
AspectRatio.h Bug 1683424 - Add UseBoxSizing for AspectRatio class, and fix non-replaced element usage. r=TYLin 2020-12-23 22:42:55 +00:00
AutoCopyListener.h
BRFrame.cpp
BlockReflowInput.cpp Bug 1686603 Part 2 - Add StyleSizeOverrides parameter to ReflowInput's constructor & co. to override data from style system data. r=dholbert 2021-01-26 02:47:40 +00:00
BlockReflowInput.h Bug 1677635 Part 4 - Rename nsOverflowAreas to OverflowAreas, and move it into mozilla namespace. r=layout-reviewers,emilio 2020-11-18 00:08:12 +00:00
CSSAlignUtils.cpp Bug 1209710 - Use convenience methods to simplify CSSAlignUtils::AlignJustifySelf(). r=layout-reviewers,jfkthame 2020-11-04 11:12:50 +00:00
CSSAlignUtils.h
CSSOrderAwareFrameIterator.cpp Bug 1411372 - Remove bogus XUL box sorting. r=TYLin 2020-10-28 19:10:00 +00:00
CSSOrderAwareFrameIterator.h Bug 1411372 - Remove bogus XUL box sorting. r=TYLin 2020-10-28 19:10:00 +00:00
ColumnSetWrapperFrame.cpp
ColumnSetWrapperFrame.h
ColumnUtils.cpp
ColumnUtils.h
DetailsFrame.cpp
DetailsFrame.h
FrameChildList.cpp
FrameChildList.h
FrameClass.py Bug 1654103: Standardize on Black for Python code in `mozilla-central`. 2020-10-26 18:34:53 +00:00
FrameClasses.py Bug 1683748 - Support Grid/Flex/Table/Column layout for the rendered legend of a fieldset. r=emilio 2021-01-30 13:47:10 +00:00
GenerateFrameLists.py Bug 1654103: Standardize on Black for Python code in `mozilla-central`. 2020-10-26 18:34:53 +00:00
JustificationUtils.h
LayoutMessageUtils.h Bug 1654080 - Use PBackground for syncing SessionStorageCache and use LSWriteOptimizer to send data changes; r=dom-workers-and-storage-reviewers,janv,nika 2020-10-14 00:19:33 +00:00
MathMLTextRunFactory.cpp Bug 1684497 - Hoist ResetGlyphRuns out of the conditional statement. r=heycam 2021-01-05 21:53:40 +00:00
MathMLTextRunFactory.h
PrintedSheetFrame.cpp Bug 1669905 part 1: Adjust PrintedSheetFrame::BuildDisplayList to avoid clipping nsPageFrame children. r=TYLin 2021-01-05 02:26:57 +00:00
PrintedSheetFrame.h Bug 1670068 part 1: When printing in pages-per-sheet mode, be sure we don't place any of the pages into the sheet's "unwriteable margin" area. r=TYLin 2020-12-08 00:00:02 +00:00
ReflowInput.cpp Bug 1689504 Part 4 - Set zero margins for table frame in ComputeMargin(). r=emilio 2021-02-08 10:28:19 +00:00
ReflowInput.h Bug 1689504 Part 4 - Set zero margins for table frame in ComputeMargin(). r=emilio 2021-02-08 10:28:19 +00:00
ReflowOutput.cpp Bug 1677642 - Add a wpt testing an empty box doesn't contribute to parent's scrollable overflow area. r=emilio 2020-11-20 01:13:05 +00:00
ReflowOutput.h Bug 1677635 Part 4 - Rename nsOverflowAreas to OverflowAreas, and move it into mozilla namespace. r=layout-reviewers,emilio 2020-11-18 00:08:12 +00:00
RubyUtils.cpp
RubyUtils.h
ScrollAnchorContainer.cpp
ScrollAnchorContainer.h
ScrollAnimationBezierPhysics.cpp
ScrollAnimationBezierPhysics.h
ScrollAnimationMSDPhysics.cpp
ScrollAnimationMSDPhysics.h
ScrollAnimationPhysics.h
ScrollOrigin.h
ScrollPositionUpdate.cpp Bug 1662019 - Encapsulate the ScrollGeneration::New calls a bit more. r=tnikkel 2020-11-13 22:58:13 +00:00
ScrollPositionUpdate.h Bug 1662019 - Encapsulate the ScrollGeneration::New calls a bit more. r=tnikkel 2020-11-13 22:58:13 +00:00
ScrollSnap.cpp
ScrollSnap.h
ScrollVelocityQueue.cpp
ScrollVelocityQueue.h
ScrollbarActivity.cpp Bug 1682003 - Avoid UTF-8 -> UTF-16 conversion during CSSOM serialization. r=heycam 2020-12-17 14:04:35 +00:00
ScrollbarActivity.h
ScrollbarPreferences.h
StickyScrollContainer.cpp
StickyScrollContainer.h
TextDrawTarget.h
TextOverflow.cpp
TextOverflow.h
ViewportFrame.cpp Bug 1688004 - Build top layer items for XUL documents that don't have scrollframes. r=miko 2021-01-25 00:31:30 +00:00
ViewportFrame.h Bug 1688004 - Build top layer items for XUL documents that don't have scrollframes. r=miko 2021-01-25 00:31:30 +00:00
Visibility.h
WBRFrame.cpp
WritingModes.h Bug 1519636 - Reformat with clang-format-11 to the Google coding style r=andi,sg,geckoview-reviewers,snorp 2020-11-18 09:05:59 +00:00
broken-image.png
folder.png
frame-graph.py Bug 1654103: Standardize on Black for Python code in `mozilla-central`. 2020-10-26 18:34:53 +00:00
jar.mn
loading-image.png
moz.build Bug 1687239 part 2 - Remove plugin support from layout/. r=emilio 2021-01-25 11:53:49 +00:00
nsAbsoluteContainingBlock.cpp Bug 1679819 Part 2 - Compute abs-pos elements' available block-size, and pass it to ReflowInput's constructor. r=layout-reviewers,emilio 2020-12-01 05:56:47 +00:00
nsAbsoluteContainingBlock.h Bug 1677635 Part 4 - Rename nsOverflowAreas to OverflowAreas, and move it into mozilla namespace. r=layout-reviewers,emilio 2020-11-18 00:08:12 +00:00
nsAtomicContainerFrame.h
nsBackdropFrame.cpp Bug 1686603 Part 2 - Add StyleSizeOverrides parameter to ReflowInput's constructor & co. to override data from style system data. r=dholbert 2021-01-26 02:47:40 +00:00
nsBackdropFrame.h Bug 1686603 Part 2 - Add StyleSizeOverrides parameter to ReflowInput's constructor & co. to override data from style system data. r=dholbert 2021-01-26 02:47:40 +00:00
nsBlockDebugFlags.h
nsBlockFrame.cpp Bug 1686603 Part 2 - Add StyleSizeOverrides parameter to ReflowInput's constructor & co. to override data from style system data. r=dholbert 2021-01-26 02:47:40 +00:00
nsBlockFrame.h Bug 1679931 Part 1 - Remove unused nsReflowStatus parameter in nsBlockFrame::ReflowPushedFloats(). r=emilio 2020-12-03 00:24:56 +00:00
nsBlockReflowContext.cpp Bug 1663232 - Don't delete a child's next-in-flow if it's going to be reflow again due to clearance. r=emilio 2020-12-07 12:45:38 +00:00
nsBlockReflowContext.h Bug 1677635 Part 4 - Rename nsOverflowAreas to OverflowAreas, and move it into mozilla namespace. r=layout-reviewers,emilio 2020-11-18 00:08:12 +00:00
nsBulletFrame.cpp Bug 1686220 - Restore bullet image load priority boost which was lost in bug 1685078. r=jrmuizel 2021-01-16 17:05:41 +00:00
nsBulletFrame.h Bug 1685078 - Correctly keep sync-decoding images. 2021-01-08 16:20:23 +01:00
nsCanvasFrame.cpp Bug 1599606 - Don't interleave a non-scrolled canvas background color item and a fixed canvas background image with a scrolled background-color item. r=mattwoodrow 2021-02-02 16:09:12 +00:00
nsCanvasFrame.h
nsColumnSetFrame.cpp Bug 1677635 Part 4 - Rename nsOverflowAreas to OverflowAreas, and move it into mozilla namespace. r=layout-reviewers,emilio 2020-11-18 00:08:12 +00:00
nsColumnSetFrame.h
nsContainerFrame.cpp Bug 1690706 - Move caption-side outside of mako. r=TYLin 2021-02-07 12:33:45 +00:00
nsContainerFrame.h Bug 1686603 Part 2 - Add StyleSizeOverrides parameter to ReflowInput's constructor & co. to override data from style system data. r=dholbert 2021-01-26 02:47:40 +00:00
nsDirection.h
nsFirstLetterFrame.cpp Bug 1688503 - nsFirstLetterFrame.cpp: do not use 'else' after 'return' r=sylvestre 2021-01-28 17:26:04 +00:00
nsFirstLetterFrame.h Bug 1686603 Part 2 - Add StyleSizeOverrides parameter to ReflowInput's constructor & co. to override data from style system data. r=dholbert 2021-01-26 02:47:40 +00:00
nsFlexContainerFrame.cpp Bug 1690713 - Add FLEX_LOG to print main/cross size overrides. r=dholbert 2021-02-04 05:07:36 +00:00
nsFlexContainerFrame.h Bug 1585485 Part 1 - Remove StyleSize, StyleMaxSize, and StyleFlexBasis typedefs in classes. r=dholbert 2020-12-16 23:44:06 +00:00
nsFloatManager.cpp
nsFloatManager.h
nsFontInflationData.cpp
nsFontInflationData.h
nsFrameList.cpp
nsFrameList.h
nsFrameSelection.cpp Bug 1671768 - Part 4: Use MOZ_CAN_RUN_SCRIPT for Selection::RemoveAllRanges r=masayuki 2021-02-03 21:52:48 +00:00
nsFrameSelection.h Bug 1671768 - Part 4: Use MOZ_CAN_RUN_SCRIPT for Selection::RemoveAllRanges r=masayuki 2021-02-03 21:52:48 +00:00
nsFrameSetFrame.cpp
nsFrameSetFrame.h
nsFrameState.cpp
nsFrameState.h
nsFrameStateBits.h Bug 1596356 - Remove XUL absolute positioning attribute code. r=emilio 2020-11-04 18:35:34 +00:00
nsGfxScrollFrame.cpp Bug 1691879. Fix expiry with minimal display ports. r=botond 2021-02-11 08:58:06 +00:00
nsGfxScrollFrame.h Bug 1691879. Fix expiry with minimal display ports. r=botond 2021-02-11 08:58:06 +00:00
nsGridContainerFrame.cpp Bug 1527734 - Use ReflowInput::mContainingBlockSize instead of GridItemCBSizeProperty(). r=mats 2021-02-09 00:59:39 +00:00
nsGridContainerFrame.h Bug 1667594 - Avoid including nsLayoutUtils.h in nsContainerFrame.h. r=emilio 2020-09-26 18:19:14 +00:00
nsHTMLCanvasFrame.cpp Bug 1686603 Part 2 - Add StyleSizeOverrides parameter to ReflowInput's constructor & co. to override data from style system data. r=dholbert 2021-01-26 02:47:40 +00:00
nsHTMLCanvasFrame.h Bug 1686603 Part 2 - Add StyleSizeOverrides parameter to ReflowInput's constructor & co. to override data from style system data. r=dholbert 2021-01-26 02:47:40 +00:00
nsHTMLParts.h Bug 1683748 - Support Grid/Flex/Table/Column layout for the rendered legend of a fieldset. r=emilio 2021-01-30 13:47:10 +00:00
nsIAnonymousContentCreator.h Bug 1678062 - Remove unnecessary includes. r=andi 2020-11-23 16:12:02 +00:00
nsIFrame.cpp Bug 1667501 - Add an nsIFrame::IsFrameOfType bit to say whether frames support aspect-ratio. r=TYLin 2021-02-11 00:19:58 +00:00
nsIFrame.h Bug 1667501 - Add an nsIFrame::IsFrameOfType bit to say whether frames support aspect-ratio. r=TYLin 2021-02-11 00:19:58 +00:00
nsIFrameInlines.h Bug 1411372 - Remove bogus XUL box sorting. r=TYLin 2020-10-28 19:10:00 +00:00
nsILineIterator.h
nsIScrollPositionListener.h
nsIScrollableFrame.h Bug 1690433. Update code that looks for the presence of a display port for new minimal display ports. r=botond 2021-02-04 11:16:59 +00:00
nsIStatefulFrame.h
nsImageFrame.cpp Bug 1686603 Part 2 - Add StyleSizeOverrides parameter to ReflowInput's constructor & co. to override data from style system data. r=dholbert 2021-01-26 02:47:40 +00:00
nsImageFrame.h Bug 1686603 Part 2 - Add StyleSizeOverrides parameter to ReflowInput's constructor & co. to override data from style system data. r=dholbert 2021-01-26 02:47:40 +00:00
nsImageMap.cpp
nsImageMap.h
nsInlineFrame.cpp Bug 1686603 Part 2 - Add StyleSizeOverrides parameter to ReflowInput's constructor & co. to override data from style system data. r=dholbert 2021-01-26 02:47:40 +00:00
nsInlineFrame.h Bug 1667501 - Add an nsIFrame::IsFrameOfType bit to say whether frames support aspect-ratio. r=TYLin 2021-02-11 00:19:58 +00:00
nsIntervalSet.cpp
nsIntervalSet.h
nsLeafFrame.cpp Bug 1686603 Part 2 - Add StyleSizeOverrides parameter to ReflowInput's constructor & co. to override data from style system data. r=dholbert 2021-01-26 02:47:40 +00:00
nsLeafFrame.h Bug 1686603 Part 2 - Add StyleSizeOverrides parameter to ReflowInput's constructor & co. to override data from style system data. r=dholbert 2021-01-26 02:47:40 +00:00
nsLineBox.cpp Bug 1677635 Part 4 - Rename nsOverflowAreas to OverflowAreas, and move it into mozilla namespace. r=layout-reviewers,emilio 2020-11-18 00:08:12 +00:00
nsLineBox.h Bug 1677635 Part 4 - Rename nsOverflowAreas to OverflowAreas, and move it into mozilla namespace. r=layout-reviewers,emilio 2020-11-18 00:08:12 +00:00
nsLineLayout.cpp Bug 1686326 - [quirks] Apply line-height quirk code in both quirks and limited-quirks mode in all places. r=jfkthame 2021-01-16 10:47:50 +00:00
nsLineLayout.h Bug 1677635 Part 4 - Rename nsOverflowAreas to OverflowAreas, and move it into mozilla namespace. r=layout-reviewers,emilio 2020-11-18 00:08:12 +00:00
nsPageContentFrame.cpp Bug 1689789 part 1 - Ensure we don't have any overflow areas for pdf.js content. r=jfkthame 2021-02-05 19:39:31 +00:00
nsPageContentFrame.h Bug 1640197 - Part 4: Create more pages for vertical overflow r=dholbert,mats 2020-10-28 18:33:52 +00:00
nsPageFrame.cpp Bug 1685231: Fix the typo "ot" in various code-comments (to "to", "of", or "not"). r=mccr8 2021-01-06 04:54:51 +00:00
nsPageFrame.h Bug 1631452 part 2: Add the pages-per-sheet info to nsSharedPageData and use it to control the number of pages that end up on a PrintedSheetFrame. r=TYLin,mattwoodrow 2020-10-13 23:30:42 +00:00
nsPageSequenceFrame.cpp Bug 1686494 part 2: When gathering printed canvas elements for PDF.js, skip canvases on pages that aren't in the user's custom print range. r=TYLin 2021-01-15 19:39:09 +00:00
nsPageSequenceFrame.h Bug 1686494 part 1: Change return type of nsPageSequence::GetCurrentSheetFrame to the actual concrete type, PrintedSheetFrame*, instead of nsIFrame*. r=TYLin 2021-01-15 18:17:47 +00:00
nsPlaceholderFrame.cpp Bug 1682882 - Don't crash when trying to figure out the parent style of a node about to be reframed. r=heycam 2020-12-23 03:01:19 +00:00
nsPlaceholderFrame.h
nsQueryFrame.h
nsRubyBaseContainerFrame.cpp Bug 1667501 - Add an nsIFrame::IsFrameOfType bit to say whether frames support aspect-ratio. r=TYLin 2021-02-11 00:19:58 +00:00
nsRubyBaseContainerFrame.h Bug 1686603 Part 2 - Add StyleSizeOverrides parameter to ReflowInput's constructor & co. to override data from style system data. r=dholbert 2021-01-26 02:47:40 +00:00
nsRubyBaseFrame.cpp
nsRubyBaseFrame.h
nsRubyContentFrame.cpp
nsRubyContentFrame.h
nsRubyFrame.cpp Bug 1678098 - Remove redundant writing mode conversion after calling ReflowOutput::Size(). r=mats 2020-11-19 00:29:45 +00:00
nsRubyFrame.h
nsRubyTextContainerFrame.cpp Bug 1667501 - Add an nsIFrame::IsFrameOfType bit to say whether frames support aspect-ratio. r=TYLin 2021-02-11 00:19:58 +00:00
nsRubyTextContainerFrame.h
nsRubyTextFrame.cpp
nsRubyTextFrame.h
nsSplittableFrame.cpp Bug 1677917 - Change BlockReflowInput's skipsides setup to be sane. r=mats,TYLin 2020-11-30 17:49:04 +00:00
nsSplittableFrame.h Bug 1519636 - Reformat recent changes to the Google coding style r=andi 2020-12-07 10:17:57 +00:00
nsSubDocumentFrame.cpp Bug 1686603 Part 2 - Add StyleSizeOverrides parameter to ReflowInput's constructor & co. to override data from style system data. r=dholbert 2021-01-26 02:47:40 +00:00
nsSubDocumentFrame.h Bug 1686603 Part 2 - Add StyleSizeOverrides parameter to ReflowInput's constructor & co. to override data from style system data. r=dholbert 2021-01-26 02:47:40 +00:00
nsTextFrame.cpp Bug 92176 - Make the ::first-letter pseudo respect the Dutch 'ij' digraph and treat it as a unit. r=dholbert 2021-01-28 11:46:53 +00:00
nsTextFrame.h Bug 1686603 Part 2 - Add StyleSizeOverrides parameter to ReflowInput's constructor & co. to override data from style system data. r=dholbert 2021-01-26 02:47:40 +00:00
nsTextFrameUtils.cpp
nsTextFrameUtils.h
nsTextRunTransformations.cpp Bug 1684497 - Hoist ResetGlyphRuns out of the conditional statement. r=heycam 2021-01-05 21:53:40 +00:00
nsTextRunTransformations.h
nsVideoFrame.cpp Bug 1686603 Part 2 - Add StyleSizeOverrides parameter to ReflowInput's constructor & co. to override data from style system data. r=dholbert 2021-01-26 02:47:40 +00:00
nsVideoFrame.h Bug 1686603 Part 2 - Add StyleSizeOverrides parameter to ReflowInput's constructor & co. to override data from style system data. r=dholbert 2021-01-26 02:47:40 +00:00