github web-platform-tests/wpt merge_pr_46954

latest releases: merge_pr_49470, epochs/three_hourly/2024-12-03_06H, epochs/six_hourly/2024-12-03_06H...
6 months ago

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 and flex-aspect-ratio-044.html are adapted from
    flex-aspect-ratio-040.html and flex-aspect-ratio-041.html.
  • grid-aspect-ratio-042.html is adapted from grid-aspect-ratio-039.html.
  • fieldset-element-002.html is adapted from fieldset-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

Don't miss a new wpt release

NewReleases is sending notifications on new releases.