mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-08-19 02:43:07 +09:00
Issue #2510 - Unprefix -moz-fit-content
No aliasing since this has been out for a while. Devtools db regenerated with `mach devtools-css-db` Resolves #2510
This commit is contained in:
parent
a3826565a7
commit
c77b4b0bad
8 changed files with 26 additions and 27 deletions
|
|
@ -179,7 +179,7 @@ GetISizeInfo(nsRenderingContext *aRenderingContext,
|
|||
if (!aIsCell || maxISize.GetIntValue() == NS_STYLE_WIDTH_AVAILABLE) {
|
||||
maxISize.SetNoneValue();
|
||||
} else if (maxISize.GetIntValue() == NS_STYLE_WIDTH_FIT_CONTENT) {
|
||||
// for 'max-inline-size', '-moz-fit-content' is like
|
||||
// for 'max-inline-size', 'fit-content' is like
|
||||
// 'max-content'
|
||||
maxISize.SetIntValue(NS_STYLE_WIDTH_MAX_CONTENT,
|
||||
eStyleUnit_Enumerated);
|
||||
|
|
@ -206,7 +206,7 @@ GetISizeInfo(nsRenderingContext *aRenderingContext,
|
|||
if (!aIsCell || minISize.GetIntValue() == NS_STYLE_WIDTH_AVAILABLE) {
|
||||
minISize.SetCoordValue(0);
|
||||
} else if (minISize.GetIntValue() == NS_STYLE_WIDTH_FIT_CONTENT) {
|
||||
// for 'min-inline-size', '-moz-fit-content' is like
|
||||
// for 'min-inline-size', 'fit-content' is like
|
||||
// 'min-content'
|
||||
minISize.SetIntValue(NS_STYLE_WIDTH_MIN_CONTENT,
|
||||
eStyleUnit_Enumerated);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue