Closed Bug 1977488 Opened 26 days ago Closed 23 days ago

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

Categories

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

task

Tracking

()

RESOLVED FIXED
142 Branch
Tracking Status
firefox142 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Tim Nguyen <ntim@apple.com> wrote:

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

WebKit export from bug: [Calc] Clamp the result of progress() between 0 and 1

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

CI Results

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

Total 1 tests and 22 subtests

Status Summary

Firefox

OK : 1
FAIL: 22

Chrome

OK : 1
PASS: 22

Links

GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

  • /css/css-values/progress-computed.html [wpt.fyi]
    • progress(1, 0, 1) should be used-value-equivalent to 1: FAIL (Chrome: PASS)
    • progress(progress(1, 0, 1), progress(0px, 0px, 1px), progress(1deg, 0deg, 1deg)) should be used-value-equivalent to 1: FAIL (Chrome: PASS)
    • progress(sign(-10px) * 10px, (10px - 10px), 10px * progress(1deg, 0deg, 1deg)) should be used-value-equivalent to 0: FAIL (Chrome: PASS)
    • calc(progress(100px, 0px, 50px) * 10px + 100px) should be used-value-equivalent to 110px: FAIL (Chrome: PASS)
    • calc(progress(100, 0, sign(50px))) should be used-value-equivalent to 1: FAIL (Chrome: PASS)
    • calc(progress(abs(5%), hypot(3%, 4%), 10%)) should be used-value-equivalent to 0: FAIL (Chrome: PASS)
    • progress(50em, 10em, 110em) should be used-value-equivalent to 0.4: FAIL (Chrome: PASS)
    • progress(1000em, 10em, 110em) should be used-value-equivalent to 1: FAIL (Chrome: PASS)
    • scale(progress(50em, 10rem, 110em)) should be used-value-equivalent to scale(1): FAIL (Chrome: PASS)
    • scale(progress(1000em, 10rem, 110em)) should be used-value-equivalent to scale(1): FAIL (Chrome: PASS)
    • scale(progress(0em, 0rem, 0em)) should be used-value-equivalent to scale(0): FAIL (Chrome: PASS)
    • scale(progress(sign(1em - 1rem) * 1ex, 0rem, 0em)) should be used-value-equivalent to scale(0): FAIL (Chrome: PASS)
    • calc(progress(1, 0, 1) * 10px) should be used-value-equivalent to 10px: FAIL (Chrome: PASS)
    • calc(progress(1, 0, 1) * 1s) should be used-value-equivalent to 1s: FAIL (Chrome: PASS)
    • calc(progress(1, 0, 1) * 1deg) should be used-value-equivalent to 1deg: FAIL (Chrome: PASS)
    • calc(progress(sign(1001em - 10lh * progress(100px, 2rex, 10ex)) * 10em, 2rem, 12em) / 2) should be used-value-equivalent to 0.4: FAIL (Chrome: PASS)
    • calc(progress(sign(1001em - 10lh * progress(100px, 2rex, 10ex)) * 20em, 2rem, 12em) * 10) should be used-value-equivalent to 10: FAIL (Chrome: PASS)
    • calc(progress(sign(1001em - 10lh * progress(100px, 2rex, 10ex)) * 20em, 2rem, 12em) * 30) should be used-value-equivalent to 30: FAIL (Chrome: PASS)
    • calc(progress(sign(1001em - 10lh * progress(100px, 2rex, 10ex)) * 20em, 2rem, 12em) / 4) should be used-value-equivalent to 0.25: FAIL (Chrome: PASS)
    • calc(progress(sign(1001em - 10lh * progress(100px, 2rex, 10ex)) * 20em, 2rem, 12em) * 4) should be used-value-equivalent to 4: FAIL (Chrome: PASS)
    • calc(progress(sign(1001em - 10lh * progress(100px, 2rex, 10ex)) * 20em, 2rem, 12em) * 2) should be used-value-equivalent to 2: FAIL (Chrome: PASS)
    • rotate3d(progress(21em, 1rem, 11em), progress(21em, 1rem, 11em), progress(21em, 1rem, 11em), calc(progress(11em, 1rem, 11em) * 2deg)) should be used-value-equivalent to rotate3d(2, 2, 2, 2deg): FAIL (Chrome: PASS)
Status: NEW → RESOLVED
Closed: 23 days ago
Resolution: --- → FIXED
Target Milestone: --- → 142 Branch
You need to log in before you can comment on or make changes to this bug.