Closed Bug 1768571 Opened 2 years ago Closed 2 years ago

[wpt-sync] Sync PR 34014 - [aspect-ratio] Only transfer min/max block-sizes if inline-size is auto.

Categories

(Core :: Layout, task, P4)

task

Tracking

()

RESOLVED FIXED
102 Branch
Tracking Status
firefox102 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 34014 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/34014
Details from upstream follow.

Ian Kilpatrick <ikilpatrick@chromium.org> wrote:

[aspect-ratio] Only transfer min/max block-sizes if inline-size is auto.

Previously we'd universally transfer min/max block-sizes. This was
incorrect when we have an explicit main inline-size specified.

The spec says:
"This transferred minimum is capped by any definite preferred or maximum
size in the destination axis".

This patch has the same effect, by just not transferring if we have a
definite main inline-size.

Bug: 1320043
Change-Id: I570df533ec1b247b5890c0cd432cdf310db6a60c

Reviewed-on: https://chromium-review.googlesource.com/3636115
WPT-Export-Revision: 8876b02485bb417f6e45540ef3ee600535f8cd0a

Component: web-platform-tests → Layout
Product: Testing → Core
Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/c451c6423dd5
[wpt PR 34014] - [aspect-ratio] Only transfer min/max block-sizes if inline-size is auto., a=testonly
Test result changes from PR not available.
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 102 Branch
You need to log in before you can comment on or make changes to this bug.