scale() does not serialize NaN/infinity numbers correctly
Categories
(Core :: CSS Parsing and Computation, defect)
Tracking
()
Tracking | Status | |
---|---|---|
firefox115 | --- | wontfix |
People
(Reporter: canadahonk, Unassigned)
References
(Blocks 2 open bugs)
Details
Attachments
(1 obsolete file)
scale(calc(...))
does not serialize NaN/infinity outcomes correctly. This breaks a few NaN/inf WPT subtests (not specific for scale(), just general tests). Needs more investigation.
WPT tests:
- See end of subtests here exclusively failing with us: https://wpt.fyi/results/css/css-values/sin-cos-tan-serialize.html, https://wpt.fyi/results/css/css-values/round-mod-rem-serialize.html
Comment 1•1 year ago
|
||
The severity field is not set for this bug.
:dholbert, could you have a look please?
For more information, please visit BugBot documentation.
Updated•1 year ago
|
Updated•1 year ago
|
Reporter | ||
Comment 2•1 year ago
|
||
Two separate serialisation issues here:
scale(calc(NaN), calc(NaN))
instead ofscale(calc(NaN))
- Infinity is limited to a large value instead of using the calc constant
Reporter | ||
Comment 3•1 year ago
|
||
Splitting bug into two tiny bugs (see above).
Comment 4•1 year ago
|
||
Now that inf and NaN values are supported, tan() with a right angle
value should return infinity.
tan(90) = infinity
tan(270) = -infinity
Also fixed a bug when serializing NaN values.
Updated•1 year ago
|
Updated•1 year ago
|
Updated•1 year ago
|
Updated•1 year ago
|
Updated•1 year ago
|
Updated•1 year ago
|
Updated•1 year ago
|
Comment 5•1 year ago
|
||
Comment on attachment 9345535 [details]
Bug 1834361 - Deal with tan() asymptote angles r=#layout-reviewers
Revision D184465 was moved to bug 1850555. Setting attachment 9345535 [details] to obsolete.
Reporter | ||
Updated•1 year ago
|
Reporter | ||
Comment 6•1 year ago
|
||
This seems to have been fixed with another patch at some point recently - we pass all mod rem round serialize WPTs now! :)
Updated•1 year ago
|
Description
•