[wpt-sync] Sync PR 63219 - WebKit export of https://bugs.webkit.org/show_bug.cgi?id=324398
Categories
(Core :: CSS Parsing and Computation, task, P4)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox160 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Attachments
(1 file)
|
478.43 KB,
text/plain
|
Details |
Sync web-platform-tests PR 63219 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/63219
Details from upstream follow.
Alan Baradlay <zalan@apple.com> wrote:
WebKit export of https://bugs.webkit.org/show_bug.cgi?id=324398
WebKit export from bug: [css-values-5 calc-size()] Resolve intrinsic keyword bases at layout time
<pre>
[css-values-5 calc-size()] Resolve intrinsic keyword bases at layout time<div style="display: inline-block"> <div style="width: calc-size(max-content, size * 2)"> <div style="width: 60px"></div> </div> </div>The middle box's max-content width is 60px, so
sizeis 60px and the box resolves to 120px.
The inline-block sizes to what that box contributes, so it is 120px too.Layout works out what the basis keyword resolves to and substitutes it for
size.
This is the inline axis only.WebKit-Bug: <a href="https://bugs.webkit.org/show_bug.cgi?id=324398">https://bugs.webkit.org/show_bug.cgi?id=324398</a>
WebKit-Canonical-Link: <a href="https://commits.webkit.org/322423@main">https://commits.webkit.org/322423@main</a>
</pre>
| Assignee | ||
Updated•1 month ago
|
| Assignee | ||
Comment 1•1 month ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/jobs?repo=try&landoInstance=lando-prod-2025&landoCommitID=99794
| Assignee | ||
Comment 2•1 month ago
|
||
CI Results
Ran 11 Firefox configurations based on mozilla-central, and Safari on GitHub CI
Total 54 tests
Status Summary
Firefox
OK : 31
PASS: 1[Gecko-linux2204-64-wayland-debug, Gecko-linux2204-64-wayland-opt] 975[Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt] 978[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt] 979[Gecko-linux2404-64-debug, Gecko-linux2404-64-opt]
FAIL: 3225[Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt] 3243[Gecko-linux2404-64-debug, Gecko-linux2404-64-opt] 3244[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
Safari
OK : 3
PASS: 10
FAIL: 23
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
(See attachment for full changes)
https://hg.mozilla.org/mozilla-central/rev/3996f85b8e9b
https://hg.mozilla.org/mozilla-central/rev/db9660ce8fbb
Description
•