Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs(CSS): Clarify use of calc() function with percentages #22896

Merged
merged 3 commits into from
Dec 13, 2022

Conversation

bsmth
Copy link
Member

@bsmth bsmth commented Dec 12, 2022

Clarify use of CSS calc() function in the following cases:

/* invalid */
calc(100 / 4)%
/* valid */
calc(100% / 4)

Fixes #22805

@bsmth bsmth requested a review from a team as a code owner December 12, 2022 11:18
@bsmth bsmth requested review from estelle and removed request for a team December 12, 2022 11:18
@github-actions github-actions bot added the Content:CSS Cascading Style Sheets docs label Dec 12, 2022
@github-actions
Copy link
Contributor

github-actions bot commented Dec 12, 2022

Preview URLs

(comment last updated: 2022-12-13 09:09:12)

@sideshowbarker sideshowbarker merged commit 110f679 into mdn:main Dec 13, 2022
@bsmth bsmth deleted the 22805-fix-anywhere-calc-wording branch December 13, 2022 09:21
@bsmth
Copy link
Member Author

bsmth commented Dec 13, 2022

Thank you 👍🏻

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.

Misleading text in calc() doc
2 participants