[css-values] Sync the trig/pow functions with JS more #4158
Labels
Closed Accepted as Obvious Bugfix
Commenter Satisfied
Commenter has indicated satisfaction with the resolution / edits.
css-values-4
Current Work
The new trig/pow functions were written based on my own observations of the JS functions. The JS test suite is woefully inadequate, testing virtually no behavior details, so I didn't think I could do any better.
It turns out that the JS spec actually does specify these functions in precise detail, so I should go ahead and match it exactly. https://tc39.es/ecma262/#sec-math.pow
The text was updated successfully, but these errors were encountered: