Open Bug 1881133 Opened 7 months ago Updated 5 months ago

New wpt failures in /css/css-images/animation/image-slice-interpolation-math-functions-tentative.html

Categories

(Core :: CSS Parsing and Computation, defect)

defect

Tracking

()

People

(Reporter: wpt-sync, Unassigned)

References

(Blocks 2 open bugs)

Details

(Whiteboard: [wpt])

Syncing wpt PR 44559 found new untriaged test failures in CI

Tests Affected

Firefox-only failures

  • /css/css-images/animation/image-slice-interpolation-math-functions-tentative.html [wpt.fyi]
    • CSS Transitions: property <border-image-slice> from [100] to [calc(sign(20rem - 20px) * 180)] at (0) should be [100]: FAIL
    • CSS Transitions with transition: all: property <border-image-slice> from [100] to [calc(sign(20rem - 20px) * 180)] at (0) should be [100]: FAIL
    • CSS Animations: property <border-image-slice> from [100] to [calc(sign(20rem - 20px) * 180)] at (0) should be [100]: FAIL
    • Web Animations: property <border-image-slice> from [100] to [calc(sign(20rem - 20px) * 180)] at (0) should be [100]: FAIL
    • CSS Transitions: property <border-image-slice> from [100%] to [calc(sign(20rem - 20px) * 180%)] at (0) should be [100%]: FAIL
    • CSS Transitions with transition: all: property <border-image-slice> from [100%] to [calc(sign(20rem - 20px) * 180%)] at (0) should be [100%]: FAIL
    • CSS Animations: property <border-image-slice> from [100%] to [calc(sign(20rem - 20px) * 180%)] at (0) should be [100%]: FAIL
    • Web Animations: property <border-image-slice> from [100%] to [calc(sign(20rem - 20px) * 180%)] at (0) should be [100%]: FAIL

CI Results

Gecko CI (Treeherder)
GitHub PR Head

Notes

These updates will be on mozilla-central once bug 1880076 lands.

Note: this bug is for tracking fixing the issues and is not
owned by the wpt sync bot.

This bug is linked to the relevant tests by an annotation in
https://github.com/web-platform-tests/wpt-metadata. These annotations
can be edited using the wpt interop dashboard
https://jgraham.github.io/wptdash/

If this bug is split into multiple bugs, please also update the
annotations, otherwise we are unable to track which wpt issues are
already triaged. Resolving as duplicate or closing this issue should
be cause the bot to automatically update or remove the annotation.

Safari and Chrome both pass this.

Blocks: 1887054
Component: Layout: Images, Video, and HTML Frames → CSS Transitions and Animations

It looks like we're failing (rejecting at parse-time) the cases where the subtraction has different units, e.g. calc(sign(20rem - 20px) * 180)

Reduced testcase (check in devtools to see if it parses or not; it doesn't right now, in Firefox, but it parses fine if you change the units to match):

data:text/html,<div style="border-image:calc(sign(20rem - 20px) * 180)">
Blocks: css-values-4
Severity: -- → S3
Depends on: 1814588
Component: CSS Transitions and Animations → CSS Parsing and Computation
You need to log in before you can comment on or make changes to this bug.