Dactyloidae/layout/generic
Gaming4JC e4c397f0d9 Issue #1230 - Part 1: Fix Back-computing percentages for intrinsic sizing in Layout CSS-Grid
List of relevant patches applied:

1398537 part 2 - [css-multicol] Implement percentages for 'column-gap' (Gecko part).

1434478 part 1 - [css-grid] Stop back-computing percentage grid gaps when the percentage basis is indefinite. Treat them as zero sized instead.

1434478 part 2 - Stop back-computing percentage padding/margin when the percentage basis is indefinite. Treat them as zero sized instead.

1434478 part 3 - Remove IntrinsicISizeOffsetData::hPctPadding/hPctMargin members since they are now unused.

1434478 part 4 - Factor out constants like NS_UNCONSTRAINEDSIZE so they can be used in headers without needing nsIFrame.h (idempotent patch).

1434478 part 5 - Create nsLayoutUtils::ResolveToLength for resolving CSS <length-percentage> (idempotent patch).

1434478 part 6 - Propagate a percentage basis to nsIFrame::IntrinsicISizeOffsets for resolving padding/margin.

This is needed only for CSS Grid since in other cases we're only using IntrinsicISizeOffsets in the inline-axis and the percentage basis is always indefinite for *intrinsic sizing*. When calculating the intrinsic size of grid items in the grid container's block axis however, we do have a definite size for the grid area in the inline-axis and it should be used per: https://drafts.csswg.org/css-grid/#algo-overview "2. Next, the track sizing algorithm resolves the sizes of the grid rows, using the grid column sizes calculated in the previous step." (Percentage padding/margin for grid items is always resolved against the grid area's inline-size nowadays.)
2019-10-05 07:22:11 +08:00
..
crashtests
test Issue #1233 - Part 2: Update Reftests 2019-10-05 07:22:08 +08:00
AsyncScrollBase.cpp
AsyncScrollBase.h
BlockReflowInput.cpp
BlockReflowInput.h
broken-image.png
CSSAlignUtils.cpp
CSSAlignUtils.h
DetailsFrame.cpp
DetailsFrame.h
folder.png
frame-graph.py
FrameChildList.cpp
FrameChildList.h
jar.mn
JustificationUtils.h
loading-image.png
MathMLTextRunFactory.cpp
MathMLTextRunFactory.h
moz.build
nsAbsoluteContainingBlock.cpp Handle the special case of a flex frame being the absolute containing block correctly from the CSS align code 2019-03-16 07:06:10 +08:00
nsAbsoluteContainingBlock.h
nsAtomicContainerFrame.h
nsAutoCopyListener.h
nsBackdropFrame.cpp
nsBackdropFrame.h
nsBlockDebugFlags.h
nsBlockFrame.cpp Attach FrameProperties to each frame instead of using a shared hashtable 2019-07-05 21:32:14 +08:00
nsBlockFrame.h Attach FrameProperties to each frame instead of using a shared hashtable 2019-07-05 21:32:14 +08:00
nsBlockReflowContext.cpp
nsBlockReflowContext.h
nsBRFrame.cpp
nsBulletFrame.cpp Attach FrameProperties to each frame instead of using a shared hashtable 2019-07-05 21:32:14 +08:00
nsBulletFrame.h
nsCanvasFrame.cpp Attach FrameProperties to each frame instead of using a shared hashtable 2019-07-05 21:32:14 +08:00
nsCanvasFrame.h Attach FrameProperties to each frame instead of using a shared hashtable 2019-07-05 21:32:14 +08:00
nsColumnSetFrame.cpp Issue #1230 - Part 1: Fix Back-computing percentages for intrinsic sizing in Layout CSS-Grid 2019-10-05 07:22:11 +08:00
nsColumnSetFrame.h
nsContainerFrame.cpp Iterate the frame property list once to collect which child list properties we have 2019-07-12 16:56:00 +08:00
nsContainerFrame.h Attach FrameProperties to each frame instead of using a shared hashtable 2019-07-05 21:32:14 +08:00
nsDirection.h
nsFirstLetterFrame.cpp
nsFirstLetterFrame.h
nsFlexContainerFrame.cpp Attach FrameProperties to each frame instead of using a shared hashtable 2019-07-05 21:32:14 +08:00
nsFlexContainerFrame.h
nsFloatManager.cpp Attach FrameProperties to each frame instead of using a shared hashtable 2019-07-05 21:32:14 +08:00
nsFloatManager.h
nsFontInflationData.cpp Attach FrameProperties to each frame instead of using a shared hashtable 2019-07-05 21:32:14 +08:00
nsFontInflationData.h
nsFrame.cpp Issue #1230 - Part 1: Fix Back-computing percentages for intrinsic sizing in Layout CSS-Grid 2019-10-05 07:22:11 +08:00
nsFrame.h Issue #1230 - Part 1: Fix Back-computing percentages for intrinsic sizing in Layout CSS-Grid 2019-10-05 07:22:11 +08:00
nsFrameIdList.h
nsFrameList.cpp
nsFrameList.h
nsFrameSelection.h
nsFrameSetFrame.cpp
nsFrameSetFrame.h
nsFrameState.cpp
nsFrameState.h
nsFrameStateBits.h
nsFrameUtil.cpp
nsGfxScrollFrame.cpp Make sure we remove our RefreshDriver observers in CompleteAsyncScroll. 2019-02-16 00:18:37 +08:00
nsGfxScrollFrame.h Make sure we remove our RefreshDriver observers in CompleteAsyncScroll. 2019-02-16 00:18:37 +08:00
nsGridContainerFrame.cpp Issue #1230 - Part 1: Fix Back-computing percentages for intrinsic sizing in Layout CSS-Grid 2019-10-05 07:22:11 +08:00
nsGridContainerFrame.h Attach FrameProperties to each frame instead of using a shared hashtable 2019-07-05 21:32:14 +08:00
nsHTMLCanvasFrame.cpp
nsHTMLCanvasFrame.h
nsHTMLParts.h
nsIAnonymousContentCreator.h
nsIFrame.h Issue #1230 - Part 1: Fix Back-computing percentages for intrinsic sizing in Layout CSS-Grid 2019-10-05 07:22:11 +08:00
nsIFrameInlines.h
nsIFrameUtil.h
nsILineIterator.h
nsImageFrame.cpp
nsImageFrame.h
nsImageMap.cpp
nsImageMap.h
nsInlineFrame.cpp
nsInlineFrame.h
nsIntervalSet.cpp
nsIntervalSet.h
nsIObjectFrame.h
nsIPageSequenceFrame.h
nsIScrollableFrame.h
nsIScrollPositionListener.h
nsIStatefulFrame.h
nsLeafFrame.cpp
nsLeafFrame.h
nsLineBox.cpp
nsLineBox.h Remove 18 yo OS/2 and AIX bustage workaround. 2019-04-04 20:26:32 +08:00
nsLineLayout.cpp Attach FrameProperties to each frame instead of using a shared hashtable 2019-07-05 21:32:14 +08:00
nsLineLayout.h
nsPageContentFrame.cpp
nsPageContentFrame.h
nsPageFrame.cpp
nsPageFrame.h
nsPlaceholderFrame.cpp Attach FrameProperties to each frame instead of using a shared hashtable 2019-07-05 21:32:14 +08:00
nsPlaceholderFrame.h
nsPluginFrame.cpp
nsPluginFrame.h
nsQueryFrame.h
nsRubyBaseContainerFrame.cpp
nsRubyBaseContainerFrame.h
nsRubyBaseFrame.cpp
nsRubyBaseFrame.h
nsRubyContentFrame.cpp
nsRubyContentFrame.h
nsRubyFrame.cpp
nsRubyFrame.h
nsRubyTextContainerFrame.cpp
nsRubyTextContainerFrame.h
nsRubyTextFrame.cpp
nsRubyTextFrame.h
nsSelection.cpp Remove NS_IMPL_CYCLE_COLLECTION_TRAVERSE_SCRIPT_OBJECTS 2019-02-16 00:27:49 +08:00
nsSimplePageSequenceFrame.cpp
nsSimplePageSequenceFrame.h
nsSplittableFrame.cpp
nsSplittableFrame.h
nsSubDocumentFrame.cpp
nsSubDocumentFrame.h
nsTextFrame.cpp Attach FrameProperties to each frame instead of using a shared hashtable 2019-07-05 21:32:14 +08:00
nsTextFrame.h
nsTextFrameUtils.cpp
nsTextFrameUtils.h
nsTextRunTransformations.cpp
nsTextRunTransformations.h
nsVideoFrame.cpp
nsVideoFrame.h
nsViewportFrame.cpp
nsViewportFrame.h
ReflowInput.cpp Attach FrameProperties to each frame instead of using a shared hashtable 2019-07-05 21:32:14 +08:00
ReflowInput.h Bug 958714 Simplify percent-margin/padding resolution code to pass around a single length as the percent basis 2019-02-16 00:09:08 +08:00
ReflowOutput.cpp
ReflowOutput.h
RubyUtils.cpp Attach FrameProperties to each frame instead of using a shared hashtable 2019-07-05 21:32:14 +08:00
RubyUtils.h
ScrollbarActivity.cpp
ScrollbarActivity.h
ScrollSnap.cpp
ScrollSnap.h
ScrollVelocityQueue.cpp
ScrollVelocityQueue.h
Selection.h Bug 1216885 - Make nsISelectionPrivate not inherit from nsISelection 2019-02-15 23:55:08 +08:00
SelectionChangeListener.h
StickyScrollContainer.cpp Attach FrameProperties to each frame instead of using a shared hashtable 2019-07-05 21:32:14 +08:00
StickyScrollContainer.h
TextOverflow.cpp
TextOverflow.h
Visibility.h
WritingModes.h