mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-08 00:07:30 +09:00
CSS - Grid - transferred min-size contribution of percentage size grid item with an intrinsic ratio
This commit is contained in:
parent
b9bbb5d201
commit
8d256442ca
6 changed files with 199 additions and 31 deletions
|
|
@ -1378,6 +1378,10 @@ public:
|
|||
* width, its 'width', 'min-width', and 'max-width' properties (or 'height'
|
||||
* variations if that's what matches aAxis) and its padding, border and margin
|
||||
* in the corresponding dimension.
|
||||
* @param aPercentageBasis an optional percentage basis (in aFrame's WM).
|
||||
* Pass NS_UNCONSTRAINEDSIZE if the basis is indefinite in either/both axes.
|
||||
* If you pass Nothing() a percentage basis will be calculated from aFrame's
|
||||
* ancestors' computed size in the relevant axis, if needed.
|
||||
* @param aMarginBoxMinSizeClamp make the result fit within this margin-box
|
||||
* size by reducing the *content size* (flooring at zero). This is used for:
|
||||
* https://drafts.csswg.org/css-grid/#min-size-auto
|
||||
|
|
@ -1396,6 +1400,7 @@ public:
|
|||
nsRenderingContext* aRenderingContext,
|
||||
nsIFrame* aFrame,
|
||||
IntrinsicISizeType aType,
|
||||
const mozilla::Maybe<mozilla::LogicalSize>& aPercentageBasis = mozilla::Nothing(),
|
||||
uint32_t aFlags = 0,
|
||||
nscoord aMarginBoxMinSizeClamp = NS_MAXSIZE);
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue