Cap aspect-ratio's automatic minimum size by the maximum size.
See https://drafts.csswg.org/css-sizing-4/#aspect-ratio-minimum
The flex container and grid container have already considered max sizes clamping
when computing their sizes. Therefore, flex-aspect-ratio-043.html
,
flex-aspect-ratio-044.html
, and grid-aspect-ratio-042.html
already pass on
the current Nightly without this patch.
flex-aspect-ratio-043.html
andflex-aspect-ratio-044.html
are adapted from
flex-aspect-ratio-040.html
andflex-aspect-ratio-041.html
.grid-aspect-ratio-042.html
is adapted fromgrid-aspect-ratio-039.html
.fieldset-element-002.html
is adapted fromfieldset-element-001.html
.
Differential Revision: https://phabricator.services.mozilla.com/D215296
bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1905463
gecko-commit: e14640934441ee25efd14a44fe54ac4f72119861
gecko-reviewers: layout-reviewers, emilio