[wpt-sync] Sync PR 44114 - Fix css progress() function wpt test
Categories
(Testing :: web-platform-tests, task, P4)
Tracking
(firefox124 fixed)
Tracking | Status | |
---|---|---|
firefox124 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
(Blocks 1 open bug, )
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 44114 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/44114
Details from upstream follow.
Daniil Sakhapov <sakhapov@chromium.org> wrote:
Fix css progress() function wpt test
Due to the spec change the test should be changed.
Spec change from:
progress / (to - from)
to:
(progress - from) / (to - from)Bug: 1503730
Change-Id: I88dde3552cc461a20698fccf4ba06c1553ed94a7Reviewed-on: https://chromium-review.googlesource.com/5222562
WPT-Export-Revision: 2cc2090da375f516461209a51e98c3f0ffc07541
Assignee | ||
Updated•10 months ago
|
Assignee | ||
Updated•10 months ago
|
Assignee | ||
Comment 1•10 months ago
|
||
Assignee | ||
Comment 2•10 months ago
|
||
CI Results
Ran 9 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 1 tests and 19 subtests
Status Summary
Firefox
OK
: 1
FAIL
: 19
Chrome
OK
: 1
PASS
: 19
Safari
OK
: 1
FAIL
: 19
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
New Tests That Don't Pass
- /css/css-values/progress-computed.tentative.html [wpt.fyi]
- progress(1 from 0 to 1) should be used-value-equivalent to 1:
FAIL
(Chrome:PASS
, Safari:FAIL
) - progress(progress(1 from 0 to 1) from progress(0px from 0px to 1px) to progress(1deg from 0deg to 1deg)) should be used-value-equivalent to 1:
FAIL
(Chrome:PASS
, Safari:FAIL
) - progress(sign(-10px) * 10px from (10px - 10px) to 10px * progress(1deg from 0deg to 1deg)) should be used-value-equivalent to -1:
FAIL
(Chrome:PASS
, Safari:FAIL
) - calc(progress(100px from 0px to 50px) * 10px + 100px) should be used-value-equivalent to 120px:
FAIL
(Chrome:PASS
, Safari:FAIL
) - calc(progress(100 from 0 to sign(50px))) should be used-value-equivalent to 100:
FAIL
(Chrome:PASS
, Safari:FAIL
) - calc(progress(abs(5%) from hypot(3%, 4%) to 10%)) should be used-value-equivalent to 0:
FAIL
(Chrome:PASS
, Safari:FAIL
) - progress(1000em from 10em to 110em) should be used-value-equivalent to 9.9:
FAIL
(Chrome:PASS
, Safari:FAIL
) - scale(progress(1000em from 10rem to 110em)) should be used-value-equivalent to scale(9.9):
FAIL
(Chrome:PASS
, Safari:FAIL
) - scale(progress(0em from 0rem to 0em)) should be used-value-equivalent to scale(0):
FAIL
(Chrome:PASS
, Safari:FAIL
) - scale(progress(sign(1em - 1rem) * 1ex from 0rem to 0em)) should be used-value-equivalent to scale(0):
FAIL
(Chrome:PASS
, Safari:FAIL
) - calc(progress(1 from 0 to 1) * 10px) should be used-value-equivalent to 10px:
FAIL
(Chrome:PASS
, Safari:FAIL
) - calc(progress(1 from 0 to 1) * 1s) should be used-value-equivalent to 1s:
FAIL
(Chrome:PASS
, Safari:FAIL
) - calc(progress(1 from 0 to 1) * 1deg) should be used-value-equivalent to 1deg:
FAIL
(Chrome:PASS
, Safari:FAIL
) - calc(progress(sign(1001em - 10lh * progress(100px from 2rex to 10ex)) * 10em from 2rem to 12em) / 2) should be used-value-equivalent to 0.4:
FAIL
(Chrome:PASS
, Safari:FAIL
) - calc(progress(sign(1001em - 10lh * progress(100px from 2rex to 10ex)) * 20em from 2rem to 12em) * 10) should be used-value-equivalent to 18:
FAIL
(Chrome:PASS
, Safari:FAIL
) - calc(progress(sign(1001em - 10lh * progress(100px from 2rex to 10ex)) * 20em from 2rem to 12em) * 30) should be used-value-equivalent to 54:
FAIL
(Chrome:PASS
, Safari:FAIL
) - calc(progress(sign(1001em - 10lh * progress(100px from 2rex to 10ex)) * 20em from 2rem to 12em) / 4) should be used-value-equivalent to 0.45:
FAIL
(Chrome:PASS
, Safari:FAIL
) - calc(progress(sign(1001em - 10lh * progress(100px from 2rex to 10ex)) * 20em from 2rem to 12em) * 4) should be used-value-equivalent to 7:
FAIL
(Chrome:PASS
, Safari:FAIL
) - calc(progress(sign(1001em - 10lh * progress(100px from 2rex to 10ex)) * 20em from 2rem to 12em) * 2) should be used-value-equivalent to 3.6:
FAIL
(Chrome:PASS
, Safari:FAIL
)
- progress(1 from 0 to 1) should be used-value-equivalent to 1:
Comment 4•10 months ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/46f47e7e91ee
https://hg.mozilla.org/mozilla-central/rev/34bf12013b6a
Description
•