Rami Yushuvaev

Results 93 comments of Rami Yushuvaev

Gecko implemented trigonometry functions in **Firefox 103** behind `layout.css.trig.enabled` flag ([source](https://bugzilla.mozilla.org/show_bug.cgi?id=1774589#c1)).

Hi @Schweinepriester , I already started creating [MDN content](https://github.com/mdn/content/tree/main/files/en-us/web/css) for all the CSS math and trig functions (not all my PRs are merged, yet). I also updated [MDN browser compatibility...

> Should we include a like to the definitions of pi, infinity, e, and NaN, either in the content or in the see also? In other math functions we linked...

@bsmth I added your changes to this PR and then added few more stuff. You ran over them...

@bsmth Please use [GitHub suggestions](https://egghead.io/lessons/github-add-suggestions-in-a-github-pr-review). Let's discuss them here before merging to the PR.

Moving those sections to the intro / syntax mixes different aspects. I think it will be better to leave all the content in "Description", removing all the H3 headings -...

Ok, looks good. Let's merge.

**mdn/content:** - CSS data types - https://github.com/mdn/content/pull/21360 - `` - https://github.com/mdn/content/pull/21935 - `` - - `` - - `` - https://github.com/mdn/content/pull/20856 **mdn/browser-compat-data:** - `` - - `` - - ``...

`calc()` function is well supported across all major browsers for a long time. So are the standard operator (`+`, `-`, `/` , `*`). My only concern was with the constants....

As for Safari, they support all the CSS math functions. Many of the math tests include `e` and `pi` constants, and they all pass. For example, see those trig tests:...