Closed Bug 2089429 Opened 13 days ago Closed 4 days ago

[wpt-sync] Sync PR 64456 - WebKit export of https://bugs.webkit.org/show_bug.cgi?id=325275

Categories

(Core :: Layout, task, P4)

task

Tracking

()

RESOLVED FIXED
162 Branch
Tracking Status
firefox162 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Alan Baradlay <zalan@apple.com> wrote:

WebKit export of https://bugs.webkit.org/show_bug.cgi?id=325275

WebKit export from bug: elements with aspect-<!---->ratio don’t shrink inside display flex

<pre>
REGRESSION(<a href="https://commits.webkit.org/309544@main">309544@main</a>): Elements with aspect-ratio don't shrink inside display flex

<a href="https://commits.webkit.org/309544@main">309544@main</a> made the flex container invalidate and recompute its items' intrinsic widths while measuring them.
In a column flex container the item still has the main-axis (height) overriding size from the previous layout,
and with aspect-ratio that stale height turns into the old width, so the container (and the grid track it sits in) never shrinks.

WebKit-Bug: <a href="https://bugs.webkit.org/show_bug.cgi?id=325275">https://bugs.webkit.org/show_bug.cgi?id=325275</a>
WebKit-Canonical-Link: <a href="https://commits.webkit.org/321951@main">https://commits.webkit.org/321951@main</a>
</pre>

Whiteboard: [wptsync downstream] → [wptsync downstream error]
Component: web-platform-tests → Layout
Product: Testing → Core
Whiteboard: [wptsync downstream error] → [wptsync downstream]
Whiteboard: [wptsync downstream] → [wptsync downstream error]
Whiteboard: [wptsync downstream error] → [wptsync downstream]

CI Results

Ran 0 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI

Total 1 tests

Status Summary

Firefox

PASS: 1

Chrome

PASS: 1

Safari

PASS: 1

Links

GitHub PR Head
GitHub PR Base

Status: NEW → RESOLVED
Closed: 4 days ago
Resolution: --- → FIXED
Target Milestone: --- → 162 Branch
You need to log in before you can comment on or make changes to this bug.