Closed Bug 2077693 Opened 1 month ago Closed 1 month ago

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

Categories

(Core :: CSS Parsing and Computation, task, P4)

task

Tracking

()

RESOLVED FIXED
160 Branch
Tracking Status
firefox160 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

(Blocks 1 open bug, )

Details

(Whiteboard: [wptsync downstream])

Attachments

(1 file)

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

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

Alan Baradlay <zalan@apple.com> wrote:

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

WebKit export from bug: [css-values-5 calc-size()] Add support for calc-size() on an out-of-flow positioned box in the inline axis

<pre>
[css-values-5 calc-size()] Add support for calc-size() on an out-of-flow positioned box in the inline axis

 &lt;div style=&quot;position: relative; width: 400px&quot;&gt;
   &lt;div style=&quot;position: absolute; width: calc-size(max-content, size + 20px)&quot;&gt;…&lt;/div&gt;
 &lt;/div&gt;

The max-content width is 100px, so the box is 120px wide rather than 100px. The block axis already
resolved a keyword basis, since it goes through computeContentAndScrollbarLogicalHeightUsing().

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

Component: web-platform-tests → CSS Parsing and Computation
Product: Testing → Core
Attached file Notable wpt changes —

CI Results

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

Total 52 tests

Status Summary

Firefox

OK : 1[GitHub] 29[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-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
PASS: 1[Gecko-linux2204-64-wayland-debug, Gecko-linux2204-64-wayland-opt] 4[GitHub] 970[Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt] 973[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-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
FAIL: 8[GitHub] 3209[Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt] 3228[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-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]

Chrome

OK : 1
PASS: 12

Safari

OK : 1
PASS: 4
FAIL: 8

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

(See attachment for full changes)

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

Attachment

General

Created:
Updated:
Size: