WPT failures in css/css-values/sin-cos-tan-serialize.html
Categories
(Core :: CSS Parsing and Computation, defect)
Tracking
()
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))'.
Reporter | ||
Updated•1 year ago
|
Comment 1•1 year ago
|
||
Link to live test/results:
http://wpt.live/css/css-values/sin-cos-tan-serialize.html
https://wpt.fyi/results/css/css-values/sin-cos-tan-serialize.html
Assignee | ||
Comment 2•11 months ago
|
||
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.
Updated•11 months ago
|
Assignee | ||
Comment 3•11 months ago
|
||
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
Comment 6•11 months ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/b6361485eb22
https://hg.mozilla.org/mozilla-central/rev/6a7f5cf83216
Updated•11 months ago
|
Updated•10 months ago
|
Description
•