[wpt-sync] Sync PR 53285 - Add WPT tests for typed arithmetic
Categories
(Core :: CSS Parsing and Computation, task, P4)
Tracking
()
People
(Reporter: wpt-sync, Unassigned)
References
(Depends on 1 open bug, Blocks 1 open bug, )
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 53285 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/53285
Details from upstream follow.
Daniil Sakhapov <sakhapov@chromium.org> wrote:
Add WPT tests for typed arithmetic
Bug: 40768696
Change-Id: I55a3efe91f163b7781d49e75acf41f6ff1b2f4e2
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6656958
Commit-Queue: Daniil Sakhapov \<sakhapov@chromium.org>
Reviewed-by: Rune Lillesveen \<futhark@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1476485}
Assignee | ||
Updated•5 days ago
|
Assignee | ||
Comment 1•5 days ago
|
||
Assignee | ||
Comment 2•5 days ago
|
||
CI Results
Ran 9 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 1 tests and 25 subtests
Status Summary
Firefox
OK
: 1
FAIL
: 25
Chrome
CRASH
: 1
Safari
OK
: 1
PASS
: 25
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
New Tests That Don't Pass
- /css/css-values/typed_arithmetic.html [wpt.fyi]
- min(1em, 110px / 10px * 1px) should be used-value-equivalent to 10px:
FAIL
(Safari:PASS
) - max(10px, 110px / 10px * 1px) should be used-value-equivalent to 11px:
FAIL
(Safari:PASS
) - max(1em + 2px, 110px / 10px * 1px) should be used-value-equivalent to 12px:
FAIL
(Safari:PASS
) - max(1em + 2%, 110px / 10px * 1px) should be used-value-equivalent to 12px:
FAIL
(Safari:PASS
) - clamp(110px / 10px * 1px, 1em + 200%, 200% * 1% / 1em) should be used-value-equivalent to 20px:
FAIL
(Safari:PASS
) - calc(3 + sign(10px / 1rem - sign(1em + 1px))) should be used-value-equivalent to 3:
FAIL
(Safari:PASS
) - calc(10em / 1em) should be used-value-equivalent to 10:
FAIL
(Safari:PASS
) - calc(10em / 1rem) should be used-value-equivalent to 10:
FAIL
(Safari:PASS
) - calc(10em / 1px) should be used-value-equivalent to 100:
FAIL
(Safari:PASS
) - calc(1px / 10em * NaN) should be used-value-equivalent to 0:
FAIL
(Safari:PASS
) - Property width value 'calc(1px * 10em / 0em)':
FAIL
(Safari:PASS
) - Property width value 'calc(1px / 1px * 10em * infinity)':
FAIL
(Safari:PASS
) - Property margin-left value 'calc(1px * 10em / -0em)':
FAIL
(Safari:PASS
) - Property z-index value 'calc(10em / 0em)':
FAIL
(Safari:PASS
) - sign(-0em / 1px) should be used-value-equivalent to 0:
FAIL
(Safari:PASS
) - clamp(-1, 1 / sign(-0em / 1px), 1) should be used-value-equivalent to -1:
FAIL
(Safari:PASS
) - sign( 0cqi / 1px) should be used-value-equivalent to 0:
FAIL
(Safari:PASS
) - clamp(-1, 1 / sign( 0cqi / 1px), 1) should be used-value-equivalent to 1:
FAIL
(Safari:PASS
) - sign(atan2(-0cap / 1px, 0em / 1px)) should be used-value-equivalent to 0:
FAIL
(Safari:PASS
) - clamp(-1, 1 / sign(atan2(-0cap / 1px, 0em / 1px)), 1) should be used-value-equivalent to -1:
FAIL
(Safari:PASS
) - sign(exp(-1vh / 0px)) should be used-value-equivalent to 0:
FAIL
(Safari:PASS
) - clamp(-1, 1 / sign(exp(-1vh / 0px)), 1) should be used-value-equivalent to 1:
FAIL
(Safari:PASS
) - calc(20cqw / 1rem) should be used-value-equivalent to 2:
FAIL
(Safari:PASS
) - Property animation-duration value 'calc(2s / (10s - 10s) * 1s)':
FAIL
(Safari:PASS
) - subtraction of angle unit: deg minus turn:
FAIL
(Safari:PASS
)
- min(1em, 110px / 10px * 1px) should be used-value-equivalent to 10px:
Description
•