gecko-dev/layout/generic
Daniel Holbert c2ab752d47 Bug 1659005 part 4: Check for page-range-skipped pages for tab-modal print preview, and group them as unpainted additional children on the nearest PrintedSheetFrame. r=TYLin
For now, we *only* use this new page-skipping code during print preview, via a
PresContext::IsScreen() check.  There's a separate legacy codepath that we'll
continue to use for skipping pages during actual printing; see e.g.
nsPageSequenceFrame::DetermineWhetherToPrintPage().  I intend to replace that
codepath soon, but for now I'm leaving it intact, in the interests of making
this patch minimally invasive & low-risk for beta uplift.

Differential Revision: https://phabricator.services.mozilla.com/D87394
2020-08-29 00:58:14 +00:00
..
crashtests Bug 1531609 part 1 - Rename overflow:-moz-hidden-unscrollable to overflow:clip. r=emilio 2020-08-01 01:56:58 +00:00
test Backed out 5 changesets (bug 1623764) for WPT failures in /editing/run/forwarddelete.html. CLOSED TREE 2020-08-10 09:07:48 +03:00
AnonymousContentKey.h
AspectRatio.h Bug 1639963 - Calculate inline size and block size based on aspect-ratio. r=emilio 2020-08-17 06:26:19 +00:00
AutoCopyListener.h
BlockReflowInput.cpp Bug 1639963 - Update the API of nsIFrame::ComputeSize for aspect-ratio. r=emilio 2020-08-17 06:57:56 +00:00
BlockReflowInput.h Bug 1574046 Part 5 - Prevent BlockReflowInput::ClearFloat from returning nscoord_MAX. r=dbaron 2020-06-16 18:33:02 +00:00
BRFrame.cpp Bug 1652017 - Remove unnecessary includes from nsIFrame.h. r=emilio 2020-07-15 13:48:35 +00:00
broken-image.png
ColumnSetWrapperFrame.cpp Bug 1648010 - Replace uses of NS_LITERAL_STRING/NS_LITERAL_CSTRING macros by _ns literals. r=geckoview-reviewers,jgilbert,agi,hsivonen,froydnj 2020-07-01 08:29:29 +00:00
ColumnSetWrapperFrame.h
ColumnUtils.cpp Bug 1646224 - Use mozilla::Length rather than nscoord to store font sizes. r=heycam,jfkthame 2020-06-22 09:45:40 +00:00
ColumnUtils.h
CSSAlignUtils.cpp
CSSAlignUtils.h
CSSOrderAwareFrameIterator.cpp Bug 1650245 Part 2 - Use nsTArray::StableSort() in CSSOrderAwareFrameIteratorT. r=dholbert,sg 2020-07-06 17:11:24 +00:00
CSSOrderAwareFrameIterator.h Bug 1650245 Part 2 - Use nsTArray::StableSort() in CSSOrderAwareFrameIteratorT. r=dholbert,sg 2020-07-06 17:11:24 +00:00
DetailsFrame.cpp Bug 1638928 Part 2 - Rename nsIFrame's GetChildLists() to ChildLists(). r=mats 2020-05-19 12:37:37 +00:00
DetailsFrame.h Bug 1648010 - Replace uses of NS_LITERAL_STRING/NS_LITERAL_CSTRING macros by _ns literals. r=geckoview-reviewers,jgilbert,agi,hsivonen,froydnj 2020-07-01 08:29:29 +00:00
folder.png
frame-graph.py
FrameChildList.cpp Bug 1635319 Part 5 - Remove unused FrameChildListIterator and FrameChildListArrayIterator. r=mats 2020-05-18 01:15:40 +00:00
FrameChildList.h Bug 1635319 Part 6 - Use EmplaceBack instead of AppendElement to append a FrameChildList into an array. r=mats 2020-05-18 01:15:42 +00:00
FrameClass.py
FrameClasses.py Bug 1652278 part 1: Add stub implementation for new frame class "PrintedSheetFrame", to represent an individual printed sheet of paper. r=TYLin 2020-08-04 02:00:10 +00:00
GenerateFrameLists.py Bug 1620035 - Convert GenerateFrameLists.py to py3; r=firefox-build-system-reviewers,rstewart 2020-03-05 17:05:34 +00:00
jar.mn
JustificationUtils.h
loading-image.png
MathMLTextRunFactory.cpp Bug 1646224 - Use mozilla::Length rather than nscoord to store font sizes. r=heycam,jfkthame 2020-06-22 09:45:40 +00:00
MathMLTextRunFactory.h
moz.build Bug 1652278 part 1: Add stub implementation for new frame class "PrintedSheetFrame", to represent an individual printed sheet of paper. r=TYLin 2020-08-04 02:00:10 +00:00
nsAbsoluteContainingBlock.cpp Bug 1637130 - Rename visual overflow to ink overflow. r=dbaron 2020-07-20 20:17:36 +00:00
nsAbsoluteContainingBlock.h
nsAtomicContainerFrame.h Bug 1630704 - Part 27: Remove nsFrame from inheritance chain r=emilio 2020-07-06 22:29:42 +00:00
nsBackdropFrame.cpp Bug 1648010 - Replace uses of NS_LITERAL_STRING/NS_LITERAL_CSTRING macros by _ns literals. r=geckoview-reviewers,jgilbert,agi,hsivonen,froydnj 2020-07-01 08:29:29 +00:00
nsBackdropFrame.h Bug 1630704 - Part 28: Remove nsFrame r=emilio 2020-07-06 22:38:11 +00:00
nsBlockDebugFlags.h
nsBlockFrame.cpp Bug 1639963 - Apply Automatic content-based minimum sizes for aspect-ratio. r=emilio 2020-08-17 07:02:25 +00:00
nsBlockFrame.h Bug 1637130 - Rename visual overflow to ink overflow. r=dbaron 2020-07-20 20:17:36 +00:00
nsBlockReflowContext.cpp Bug 1647525 - Use HasAnyStateBits() in remaining layout files r=emilio 2020-06-28 01:00:19 +00:00
nsBlockReflowContext.h Bug 1652017 - Remove unnecessary includes for expensive nsIFrame.h. r=emilio 2020-07-15 13:44:39 +00:00
nsBulletFrame.cpp Bug 1637130 - Rename visual overflow to ink overflow. r=dbaron 2020-07-20 20:17:36 +00:00
nsBulletFrame.h Bug 1630704 - Part 28: Remove nsFrame r=emilio 2020-07-06 22:38:11 +00:00
nsCanvasFrame.cpp Bug 1637130 - Rename visual overflow to ink overflow. r=dbaron 2020-07-20 20:17:36 +00:00
nsCanvasFrame.h Bug 1614550. Don't ifdef nsDisplayCanvasBackgroundColor::WriteDebugInfo on MOZ_DUMP_PAINTING. r=miko 2020-02-11 12:17:34 +00:00
nsColumnSetFrame.cpp Bug 1658198 - Provide a minimum starting value for extraBlockSize in FindBestBalanceBSize. r=heycam 2020-08-16 00:46:30 +00:00
nsColumnSetFrame.h Bug 1648010 - Replace uses of NS_LITERAL_STRING/NS_LITERAL_CSTRING macros by _ns literals. r=geckoview-reviewers,jgilbert,agi,hsivonen,froydnj 2020-07-01 08:29:29 +00:00
nsContainerFrame.cpp Bug 1412687 Part 2 - Consider an overflow container's scrollable overflow when deciding whether to reflow it. r=dholbert 2020-08-20 22:29:59 +00:00
nsContainerFrame.h Bug 1637130 - Rename visual overflow to ink overflow. r=dbaron 2020-07-20 20:17:36 +00:00
nsDirection.h
nsFirstLetterFrame.cpp Bug 1639963 - Update the API of nsIFrame::ComputeSize for aspect-ratio. r=emilio 2020-08-17 06:57:56 +00:00
nsFirstLetterFrame.h Bug 1639963 - Update the API of nsIFrame::ComputeSize for aspect-ratio. r=emilio 2020-08-17 06:57:56 +00:00
nsFlexContainerFrame.cpp Bug 1633031 Part 3 - Remove unused parameters from DoFlexLayout(), ComputeMainSize(), and ComputeCrossSize(). r=dholbert 2020-08-19 21:10:48 +00:00
nsFlexContainerFrame.h Bug 1633031 Part 3 - Remove unused parameters from DoFlexLayout(), ComputeMainSize(), and ComputeCrossSize(). r=dholbert 2020-08-19 21:10:48 +00:00
nsFloatManager.cpp Bug 1574046 Part 2 - Move calling nsFloatManager::ClearContinues to BlockReflowInput::ClearFloats(). r=dbaron 2020-05-27 04:44:42 +00:00
nsFloatManager.h Bug 1574046 Part 5 - Prevent BlockReflowInput::ClearFloat from returning nscoord_MAX. r=dbaron 2020-06-16 18:33:02 +00:00
nsFontInflationData.cpp Bug 1647525 - Use HasAnyStateBits() in nsFontInflationData r=emilio 2020-06-27 13:16:49 +00:00
nsFontInflationData.h Bug 1647525 - Use HasAnyStateBits() in nsFontInflationData r=emilio 2020-06-27 13:16:49 +00:00
nsFrameList.cpp Bug 1652188 - Return struct from nsILineIterator::GetLine() r=emilio 2020-07-13 18:36:30 +00:00
nsFrameList.h Bug 1645429 - Use std::reverse_iterator instead of mozilla::ReverseIterator where possible. r=froydnj 2020-06-16 10:14:01 +00:00
nsFrameSelection.cpp Bug 1656041 - Part 2: Return a struct from GetFrameFromDirection r=emilio 2020-08-04 15:23:47 +00:00
nsFrameSelection.h Bug 1630704 - Part 27: Remove nsFrame from inheritance chain r=emilio 2020-07-06 22:29:42 +00:00
nsFrameSetFrame.cpp Bug 1648010 - Replace uses of NS_LITERAL_STRING/NS_LITERAL_CSTRING macros by _ns literals. r=geckoview-reviewers,jgilbert,agi,hsivonen,froydnj 2020-07-01 08:29:29 +00:00
nsFrameSetFrame.h Bug 1613985 - Use default for equivalent-to-default constructors/destructors in layout. r=dholbert 2020-03-17 09:38:32 +00:00
nsFrameState.cpp Bug 1659005 part 4: Check for page-range-skipped pages for tab-modal print preview, and group them as unpainted additional children on the nearest PrintedSheetFrame. r=TYLin 2020-08-29 00:58:14 +00:00
nsFrameState.h
nsFrameStateBits.h Bug 1659005 part 4: Check for page-range-skipped pages for tab-modal print preview, and group them as unpainted additional children on the nearest PrintedSheetFrame. r=TYLin 2020-08-29 00:58:14 +00:00
nsGfxScrollFrame.cpp Bug 1661356 - Change nsLayoutUtils::ComputeScrollMetadata() to take a scrollport size instead of a scrollport rect. r=kats 2020-08-27 01:40:19 +00:00
nsGfxScrollFrame.h Bug 1661755 - Don't store a NotSpecified value, use the equivalent None value instead. r=tnikkel 2020-08-28 20:34:41 +00:00
nsGridContainerFrame.cpp Bug 1654992 - Use std::move instead of SwapElements where possible. r=froydnj 2020-08-04 11:27:07 +00:00
nsGridContainerFrame.h Bug 1648673 - Remove duplicate CSSOrderAwareFrameIteratorT typedefs in nsGridContainerFrame.h r=dholbert 2020-06-26 16:51:40 +00:00
nsHTMLCanvasFrame.cpp Bug 1639963 - Support aspect-ratio for HTML canvas. r=emilio 2020-08-17 07:14:21 +00:00
nsHTMLCanvasFrame.h Bug 1639963 - Update the API of nsIFrame::ComputeSize for aspect-ratio. r=emilio 2020-08-17 06:57:56 +00:00
nsHTMLParts.h Bug 1652278 part 1: Add stub implementation for new frame class "PrintedSheetFrame", to represent an individual printed sheet of paper. r=TYLin 2020-08-04 02:00:10 +00:00
nsIAnonymousContentCreator.h
nsIFrame.cpp Backed out changeset d8a3ede94c32 (bug 1660363) for bc failures on browser_modal_print.js . CLOSED TREE 2020-08-27 06:08:03 +03:00
nsIFrame.h Bug 1639963 - Update the API of nsIFrame::ComputeSize for aspect-ratio. r=emilio 2020-08-17 06:57:56 +00:00
nsIFrameInlines.h Bug 1335552 - Make nsIFrame::SynthesizeBaselineBOffsetFromBorderBox do something reasonable with orthogonal writing modes. r=dholbert 2020-07-10 15:39:07 +00:00
nsILineIterator.h Backed out 5 changesets (bug 1623764) for WPT failures in /editing/run/forwarddelete.html. CLOSED TREE 2020-08-10 09:07:48 +03:00
nsImageFrame.cpp Bug 1639963 - Drop redundant check of auto in nsImageFrame. r=emilio 2020-08-17 07:08:16 +00:00
nsImageFrame.h Bug 1639963 - Update the API of nsIFrame::ComputeSize for aspect-ratio. r=emilio 2020-08-17 06:57:56 +00:00
nsImageMap.cpp Bug 1648010 - Replace uses of NS_LITERAL_STRING/NS_LITERAL_CSTRING macros by _ns literals. r=geckoview-reviewers,jgilbert,agi,hsivonen,froydnj 2020-07-01 08:29:29 +00:00
nsImageMap.h
nsInlineFrame.cpp Bug 1639963 - Update the API of nsIFrame::ComputeSize for aspect-ratio. r=emilio 2020-08-17 06:57:56 +00:00
nsInlineFrame.h Bug 1639963 - Update the API of nsIFrame::ComputeSize for aspect-ratio. r=emilio 2020-08-17 06:57:56 +00:00
nsIntervalSet.cpp
nsIntervalSet.h
nsIObjectFrame.h
nsIScrollableFrame.h Bug 1656802. Make visual viewport only layout scrollbars affect the composition bounds/visual viewport. r=emilio,kats 2020-08-07 11:40:52 +00:00
nsIScrollPositionListener.h
nsIStatefulFrame.h
nsLeafFrame.cpp Bug 1613985 - Use default for equivalent-to-default constructors/destructors in layout. r=dholbert 2020-03-17 09:38:32 +00:00
nsLeafFrame.h Bug 1630704 - Part 28: Remove nsFrame r=emilio 2020-07-06 22:38:11 +00:00
nsLineBox.cpp Backed out 5 changesets (bug 1623764) for WPT failures in /editing/run/forwarddelete.html. CLOSED TREE 2020-08-10 09:07:48 +03:00
nsLineBox.h Bug 1637130 - Update the comment for overflow areas in nsLineBox. r=dbaron 2020-07-20 22:07:09 +00:00
nsLineLayout.cpp Bug 1637130 - Rename visual overflow to ink overflow. r=dbaron 2020-07-20 20:17:36 +00:00
nsLineLayout.h
nsPageContentFrame.cpp Bug 1655608 part 2: Modernize naming of ReflowOutput variables/parameters, throughout nsPage*Frame classes. r=TYLin 2020-07-28 22:11:26 +00:00
nsPageContentFrame.h Bug 1655608 part 2: Modernize naming of ReflowOutput variables/parameters, throughout nsPage*Frame classes. r=TYLin 2020-07-28 22:11:26 +00:00
nsPageFrame.cpp Bug 1660502 part 2: Rename nsSharedPageData::mTotNumPages to mRawNumPages, for consistency. r=TYLin 2020-08-24 23:53:27 +00:00
nsPageFrame.h Bug 1660166 followup: Mark nsPageFrame::GetPageNum as 'const'. r=TYLin 2020-08-20 15:05:54 +00:00
nsPageSequenceFrame.cpp Bug 1659005 part 2: Make nsPageSequenceFrame determine its page range information earlier on, at the start of reflow. r=TYLin 2020-08-28 22:27:42 +00:00
nsPageSequenceFrame.h Bug 1659005 part 1: Move nsPageSequenceFrame's page-range-specific members into nsSharedPrintData. r=TYLin 2020-08-28 22:27:34 +00:00
nsPlaceholderFrame.cpp Bug 1630704 - Part 27: Remove nsFrame from inheritance chain r=emilio 2020-07-06 22:29:42 +00:00
nsPlaceholderFrame.h Bug 1630704 - Part 28: Remove nsFrame r=emilio 2020-07-06 22:38:11 +00:00
nsPluginFrame.cpp Bug 1630704 - Part 27: Remove nsFrame from inheritance chain r=emilio 2020-07-06 22:29:42 +00:00
nsPluginFrame.h Bug 1630704 - Part 28: Remove nsFrame r=emilio 2020-07-06 22:38:11 +00:00
nsQueryFrame.h Bug 1625138 - Part 40: Replace remaining mozilla::IsSame with std::is_same. r=froydnj 2020-03-28 13:57:21 +00:00
nsRubyBaseContainerFrame.cpp Bug 1639963 - Update the API of nsIFrame::ComputeSize for aspect-ratio. r=emilio 2020-08-17 06:57:56 +00:00
nsRubyBaseContainerFrame.h Bug 1639963 - Update the API of nsIFrame::ComputeSize for aspect-ratio. r=emilio 2020-08-17 06:57:56 +00:00
nsRubyBaseFrame.cpp Bug 1648010 - Replace uses of NS_LITERAL_STRING/NS_LITERAL_CSTRING macros by _ns literals. r=geckoview-reviewers,jgilbert,agi,hsivonen,froydnj 2020-07-01 08:29:29 +00:00
nsRubyBaseFrame.h
nsRubyContentFrame.cpp
nsRubyContentFrame.h
nsRubyFrame.cpp Bug 1648010 - Replace uses of NS_LITERAL_STRING/NS_LITERAL_CSTRING macros by _ns literals. r=geckoview-reviewers,jgilbert,agi,hsivonen,froydnj 2020-07-01 08:29:29 +00:00
nsRubyFrame.h
nsRubyTextContainerFrame.cpp Bug 1648010 - Replace uses of NS_LITERAL_STRING/NS_LITERAL_CSTRING macros by _ns literals. r=geckoview-reviewers,jgilbert,agi,hsivonen,froydnj 2020-07-01 08:29:29 +00:00
nsRubyTextContainerFrame.h Bug 1647525 - Use HasAnyStateBits() in remaining layout files r=emilio 2020-06-28 01:00:19 +00:00
nsRubyTextFrame.cpp Bug 1648010 - Replace uses of NS_LITERAL_STRING/NS_LITERAL_CSTRING macros by _ns literals. r=geckoview-reviewers,jgilbert,agi,hsivonen,froydnj 2020-07-01 08:29:29 +00:00
nsRubyTextFrame.h Bug 1647525 - Use HasAnyStateBits() in remaining layout files r=emilio 2020-06-28 01:00:19 +00:00
nsSplittableFrame.cpp Bug 1630704 - Part 27: Remove nsFrame from inheritance chain r=emilio 2020-07-06 22:29:42 +00:00
nsSplittableFrame.h Bug 1630704 - Part 28: Remove nsFrame r=emilio 2020-07-06 22:38:11 +00:00
nsSubDocumentFrame.cpp Bug 1639963 - Define the default size for replaced elements. r=dholbert 2020-08-17 07:10:39 +00:00
nsSubDocumentFrame.h Bug 1639963 - Update the API of nsIFrame::ComputeSize for aspect-ratio. r=emilio 2020-08-17 06:57:56 +00:00
nsTextFrame.cpp Backed out 7 changesets (bug 1518999) for causing browsertime failures. CLOSED TREE 2020-08-28 06:27:11 +03:00
nsTextFrame.h Bug 1639963 - Update the API of nsIFrame::ComputeSize for aspect-ratio. r=emilio 2020-08-17 06:57:56 +00:00
nsTextFrameUtils.cpp Bug 1657437 - Don't treat lone CRs as segment breaks. r=jfkthame 2020-08-08 16:21:35 +00:00
nsTextFrameUtils.h Bug 1655394 - Add a Dump Text Runs command to the Layout Debugger. r=TYLin,jfkthame 2020-07-29 22:31:19 +00:00
nsTextRunTransformations.cpp Bug 1655364 - Rename gfxShapedText::SetGlyphs to SetDetailedGlyphs and make it just set glyph information, not clobber character-type flags. r=heycam 2020-07-30 11:48:06 +00:00
nsTextRunTransformations.h Bug 1626570 - Improve handling of copying arrays in layout/generic/. r=jfkthame 2020-05-05 10:11:01 +00:00
nsVideoFrame.cpp Backed out 7 changesets (bug 1518999) for causing browsertime failures. CLOSED TREE 2020-08-28 06:27:11 +03:00
nsVideoFrame.h Bug 1639963 - Update the API of nsIFrame::ComputeSize for aspect-ratio. r=emilio 2020-08-17 06:57:56 +00:00
PrintedSheetFrame.cpp Bug 1659005 part 4: Check for page-range-skipped pages for tab-modal print preview, and group them as unpainted additional children on the nearest PrintedSheetFrame. r=TYLin 2020-08-29 00:58:14 +00:00
PrintedSheetFrame.h Bug 1652278 part 2: Flesh out PrintedSheetFrame implementation so that it serves as the container for nsPageFrame. r=TYLin 2020-08-05 03:28:32 +00:00
ReflowInput.cpp Bug 1639963 - Apply Automatic content-based minimum sizes for aspect-ratio. r=emilio 2020-08-17 07:02:25 +00:00
ReflowInput.h Bug 1639963 - Apply Automatic content-based minimum sizes for aspect-ratio. r=emilio 2020-08-17 07:02:25 +00:00
ReflowOutput.cpp Bug 1637130 - Rename visual overflow to ink overflow. r=dbaron 2020-07-20 20:17:36 +00:00
ReflowOutput.h Bug 1637130 - Rename visual overflow to ink overflow. r=dbaron 2020-07-20 20:17:36 +00:00
RubyUtils.cpp Bug 1613349 - Rename nsIFrame::DeleteProperty to RemoveProperty. r=dholbert 2020-02-06 16:06:49 +00:00
RubyUtils.h
ScrollAnchorContainer.cpp Bug 1650502 - Plumb whether an async APZ animation is in progress via RepaintRequest. r=botond 2020-08-02 16:58:29 +00:00
ScrollAnchorContainer.h Bug 1520581 - Allow to select scroll anchors inside nested scroll frames. r=dholbert 2020-04-13 20:58:14 +00:00
ScrollAnimationBezierPhysics.cpp
ScrollAnimationBezierPhysics.h
ScrollAnimationMSDPhysics.cpp
ScrollAnimationMSDPhysics.h
ScrollAnimationPhysics.h Bug 1613985 - Use default for equivalent-to-default constructors/destructors in layout. r=dholbert 2020-03-17 09:38:32 +00:00
ScrollbarActivity.cpp Bug 1660378 - part 9: Avoid QI for getting nsStyledElement pointer r=smaug 2020-08-26 05:29:06 +00:00
ScrollbarActivity.h Bug 1656117 - Reduce include dependencies on nsRefreshDriver.h. r=mstange 2020-08-04 21:17:50 +00:00
ScrollbarPreferences.h
ScrollOrigin.h Bug 1643042 - Introduce an None scroll origin. r=tnikkel 2020-06-05 09:44:10 +00:00
ScrollSnap.cpp
ScrollSnap.h Bug 1613192: Fix non-unified build bustage in layout/{base,generic} directories. r=TYLin 2020-02-04 19:34:51 +00:00
ScrollVelocityQueue.cpp Bug 1613985 - Use default for equivalent-to-default constructors/destructors in gfx. r=jrmuizel 2020-03-04 15:39:20 +00:00
ScrollVelocityQueue.h
StickyScrollContainer.cpp Bug 1637130 - Rename visual overflow to ink overflow. r=dbaron 2020-07-20 20:17:36 +00:00
StickyScrollContainer.h
TextDrawTarget.h Bug 1622360 - Unwind super sketchy changes to glyph atlas code. r=jrmuizel 2020-04-01 13:40:00 +00:00
TextOverflow.cpp Bug 1637130 - Rename visual overflow to ink overflow. r=dbaron 2020-07-20 20:17:36 +00:00
TextOverflow.h Bug 1637130 - Rename visual overflow to ink overflow. r=dbaron 2020-07-20 20:17:36 +00:00
ViewportFrame.cpp Bug 1656385 - Remove redundant IsBResize() in ViewportFrame::Reflow(). r=emilio 2020-07-31 17:37:20 +00:00
ViewportFrame.h Bug 1613985 - Use default for equivalent-to-default constructors/destructors in layout. r=dholbert 2020-03-17 09:38:32 +00:00
Visibility.h
WBRFrame.cpp Bug 1630704 - Part 28: Remove nsFrame r=emilio 2020-07-06 22:38:11 +00:00
WritingModes.h Bug 1639963 - Calculate inline size and block size based on aspect-ratio. r=emilio 2020-08-17 06:26:19 +00:00