Closed Bug 1856158 Opened 1 year ago Closed 11 months ago

WPT failures in css/css-values/sin-cos-tan-serialize.html

Categories

(Core :: CSS Parsing and Computation, defect)

defect

Tracking

()

RESOLVED FIXED
121 Branch
Tracking Status
firefox120 --- wontfix
firefox121 --- fixed

People

(Reporter: twisniewski, Assigned: emilio)

References

(Blocks 1 open bug)

Details

Attachments

(2 files)

The tests being failed all seem to be of the form:

'scale(sin(180deg))' as a specified value should serialize as 'scale(calc(0))'.
'scale(cos(-270deg))' as a specified value should serialize as 'scale(calc(0))'.

No longer blocks: calc-nan-inf
No longer depends on: 1834164, 1834361, 1841638
Depends on: 1860981

No behavior change, but this simplifies the code by using the individual
transform properties to test angles / numbers rather than the transform
property, and adds support for the approx argument to test_math_specified.

Assignee: nobody → emilio
Status: NEW → ASSIGNED

Extend the test to also cover computed and used serialization, and also
make the test support approximated values for some values where even JS
doesn't give exact answers. E.g., Math.sin(Math.PI) is not 0, it's
1.2246467991473532e-16 here.

Depends on D193832

Pushed by ealvarez@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/b6361485eb22 Simplify some numeric test code. r=dholbert https://hg.mozilla.org/integration/autoland/rev/6a7f5cf83216 Improve sin-cos-tan-serialize.html. r=dholbert
Failed to create upstream wpt PR due to merge conflicts. This requires fixup from a wpt sync admin.
Flags: needinfo?(james)
Flags: needinfo?(aborovova)
Status: ASSIGNED → RESOLVED
Closed: 11 months ago
Resolution: --- → FIXED
Target Milestone: --- → 121 Branch
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/43253 for changes under testing/web-platform/tests
Flags: needinfo?(james)
Flags: needinfo?(aborovova)
Upstream PR merged by moz-wptsync-bot
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: