Bug 203311

Summary: Implement the CSS trig functions: sin(), cos() etc.
Product: WebKit Reporter: Simon Fraser (smfr) <simon.fraser>
Component: CSSAssignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Normal CC: dino, emilio, kai.hollberg, mmaxfield, simon.fraser
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Description Simon Fraser (smfr) 2019-10-23 13:24:01 PDT
https://drafts.csswg.org/css-values-4/#trig-funcs
Comment 1 Kai 2022-06-21 16:16:13 PDT
Arriving here via the Intent to Prototype by Chromium 
https://groups.google.com/a/chromium.org/g/blink-dev/c/-c9p-Sq_gWg/m/C9eOR3oGAgAJ 
which mentions this bug as "No signal".

But weren't the functions implemented in https://bugs.webkit.org/show_bug.cgi?id=229507 and even shipped in Safari TP 133 and 15.4?
https://webkit.org/blog/11975/release-notes-for-safari-technology-preview-133/

> Added support for `sin()`, `cos()`, `tan()`, `e`, and `pi` in `calc()` ([r282162](https://trac.webkit.org/changeset/282162/webkit/))

https://webkit.org/blog/12445/new-webkit-features-in-safari-15-4/

> WebKit added support for [`calc()` math functions](https://www.w3.org/TR/css-values-4/#trig-funcs) including `sin`, `cos`, `tan`, `e`, `pi`, `exp`, `log`, `atan`, `acos`, `asin`, and `atan2`.

Or am I missing something?

Cross-reference: https://github.com/Fyrd/caniuse/issues/6207
Comment 2 Simon Fraser (smfr) 2022-06-21 18:05:14 PDT
Yes, just a failure to use the right bug for the commit.

*** This bug has been marked as a duplicate of bug 229507 ***