Skip to content

tan() - New CSS functional notation - #19145

Merged
bsmth merged 9 commits into
mdn:mainfrom
ramiy:patch-4
Sep 6, 2022
Merged

bsmth merged 9 commits into
mdn:mainfrom
ramiy:patch-4

Conversation

@ramiy

@ramiy ramiy commented Aug 4, 2022

Copy link
Copy Markdown
Contributor

Summary

Document the CSS tan() functional notation.

Motivation

Safari/webkit already supports this CSS function. Chromium will follow soon.

Supporting details

https://drafts.csswg.org/css-values/#trig-funcs

Related issues

Metadata

  • Adds a new document
  • Rewrites (or significantly expands) a document
  • Fixes a typo, bug, or other error

@ramiy
ramiy requested review from a team and estelle and removed request for a team August 4, 2022 10:09
@github-actions github-actions Bot added the Content:CSS Cascading Style Sheets docs label Aug 4, 2022
@github-actions

github-actions Bot commented Aug 4, 2022 •

Copy link
Copy Markdown
Contributor

Preview URLs

Flaws

URL: /en-US/docs/Web/CSS/tan
Title: tan()
on GitHub
Flaw count: 4

  • macros:
    • /en-US/docs/Web/CSS/asin does not exist
    • /en-US/docs/Web/CSS/acos does not exist
    • /en-US/docs/Web/CSS/atan does not exist
    • /en-US/docs/Web/CSS/atan2 does not exist

External URLs

URL: /en-US/docs/Web/CSS/tan
Title: tan()
on GitHub

No new external URLs

(this comment was updated 2022-09-06 07:49:14.698436)

@ramiy

ramiy commented Aug 4, 2022

Copy link
Copy Markdown
Contributor Author

@estelle Do you have a suggestion for tan() example?

@teoli2003

Copy link
Copy Markdown
Contributor

There is a parallelogram example using tan() there: w3c/csswg-drafts#2331 (comment)

It may be the basis for an example here.

@ramiy

ramiy commented Aug 8, 2022

Copy link
Copy Markdown
Contributor Author

@teoli2003 please review or send feedback.

Comment thread files/en-us/web/css/tan/index.md Resolved
@Josh-Cena
Josh-Cena requested a review from teoli2003 August 12, 2022 06:28
Comment thread files/en-us/web/css/tan/index.md Resolved
Comment thread files/en-us/web/css/tan/index.md Resolved

@teoli2003 teoli2003 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, can we make the example a live example? This would be nice!

@ramiy
ramiy requested review from teoli2003 and removed request for estelle August 18, 2022 15:31
@ramiy

ramiy commented Aug 25, 2022

Copy link
Copy Markdown
Contributor Author

@teoli2003 live example added.

@bsmth bsmth self-assigned this Sep 6, 2022
@teoli2003
teoli2003 requested review from bsmth and removed request for teoli2003 September 6, 2022 07:48

@bsmth bsmth left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hi @ramiy, thanks a lot for the additions 🙌🏻

@bsmth
bsmth merged commit bcb2245 into mdn:main Sep 6, 2022
@ramiy
ramiy deleted the patch-4 branch September 6, 2022 09:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Content:CSS Cascading Style Sheets docs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants