Closed Bug 1737211 Opened 3 years ago Closed 3 years ago

WPT test translate-interpolation.html fails in Firefox

Categories

(Core :: CSS Transitions and Animations, defect, P3)

defect

Tracking

()

RESOLVED FIXED
96 Branch
Tracking Status
firefox96 --- fixed

People

(Reporter: dholbert, Assigned: emilio)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

Filing this bug for this WPT test-failure:

https://wpt.fyi/results/css/css-transforms/animation/translate-interpolation.html?label=master&label=experimental&aligned&q=firefox%3Afail

There are 3 failures, which are really all the same failure:

!EQ("480px 400px 320px ",
    "calc ( 0 % + 480px ) calc ( 0 % + 400px ) 320px ")

We're apparently serializing this intermediate value using calc(0% + ...) syntax, when the test is just expecting the pixel part of that value, without the unnecessary calc(0% + part.

This test happens to be part of the compat2021 testsuite; marking as blocking that metabug.

The severity field is not set for this bug.
:emilio, could you have a look please?

For more information, please visit auto_nag documentation.

Flags: needinfo?(emilio)

This is a bug in the test. 0% should never be stripped from calc().

Assignee: nobody → emilio
Severity: -- → S3
Flags: needinfo?(emilio)
Priority: -- → P3

Stripping the percentageness from calc() interpolation is not correct,
see https://github.com/w3c/csswg-drafts/issues/3482.

Pushed by ealvarez@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/a5efdda01c8f Fix translate-interpolation.html. r=layout-reviewers,boris
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/31527 for changes under testing/web-platform/tests
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 96 Branch
Upstream PR merged by moz-wptsync-bot
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: