On 10/28/22 18:14, Tom Ritter wrote:
Do these functions use fdlibm or the underlying platform math
libraries? We've been working to cut all content-exposed uses of the
functions over to fdlibm to eliminate fingerprinting. (AudioContext
fingerprinting relies on the platform math libraries for example.)
These use the Rust standard library functions (f32::cos, etc). Not sure
which of the two they use, but they are used in other web-exposed places
already (via transforms etc).
If they're not doing what you want, my guess is that we'd want to hook
those generically, rather than playing whack-a-mole.
-- Emilio
On Fri, Oct 28, 2022 at 11:07 AM Emilio Cobos Álvarez
<[email protected]> wrote:
Hi,
In bug 1787070 I plan to turn calc() trigonometric functions / constants
on everywhere. These are a nice extension to calc(), specially for
graphical effects and so on.
Bug: <https://bugzil.la/1787070>
Specification: <https://w3c.github.io/csswg-drafts/css-values/#math>
Standards Body: W3C (CSS Working Group)
Platform coverage: All
Preference: layout.css.trig.enabled
DevTools bug: N/A (I don't think DevTools supports anything too fancy in
calc(), and everything else already works).
Other Browsers:
* Safari: Shipped (since a while ago, not sure exactly)
* Chromium: Not yet implemented
web-platform-tests: There's a variety of tests in [1] testing this
feature (search for cos/tan/sin/pi/e/etc)
Let me know if there's any concern or what not.
Cheers,
-- Emilio
[1]: https://wpt.fyi/results/css/css-values
--
You received this message because you are subscribed to the Google Groups
"[email protected]" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/a/mozilla.org/d/msgid/dev-platform/bbeeee40-b2fa-fea1-97e1-e45604cff82c%40mozilla.com.
--
You received this message because you are subscribed to the Google Groups
"[email protected]" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/a/mozilla.org/d/msgid/dev-platform/4ecdbc22-6c57-1fac-4309-bf9d1d1501ae%40mozilla.com.