Closed Bug 2086872 Opened 1 month ago Closed 18 days ago

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

Categories

(Core :: CSS Parsing and Computation, 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 64176 into mozilla-central (this bug is closed when the sync is complete).

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

Sam Weinig <sam@webkit.org> wrote:

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

WebKit export from bug: [<!---->EvaluationTimeZoom]<!----> px values in calc(<!---->)<!----> expressions that survive through computed style are being serialized incorrectly

<pre>
[EvaluationTimeZoom] px values in calc() expressions that survive through computed style are being serialized incorrectly

Removes incorrect zoom unscaling of px values in computed value calc() expressions
that was left over from build time zoom.

Now that no zoom unscaling is needed, the Style::ComputedStyle passed during conversion
from Style::UnevaluatedCalculation to CSS::UnevalutatedCalc can be removed. Also simplified
toCSS conversion for numeric types a bit by using unresolvedValue() for all numeric types
instead of specializing for Length<>.

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

Component: web-platform-tests → CSS Parsing and Computation
Product: Testing → Core

CI Results

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

Total 142 tests and 2 subtests

Status Summary

Firefox

OK : 1[GitHub] 25[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: 2[GitHub] 9[Gecko-linux2204-64-wayland-debug, Gecko-linux2204-64-wayland-opt] 437[Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt] 511[Gecko-linux2404-64-debug, Gecko-linux2404-64-opt] 514[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]
FAIL: 86[Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt] 117[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] 120[Gecko-linux2404-64-debug, Gecko-linux2404-64-opt]

Chrome

OK : 1
PASS: 2

Safari

OK : 1
PASS: 2

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

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