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

Fix Web CSS mod example #36997

Merged
merged 2 commits into from
Dec 2, 2024
Merged

Fix Web CSS mod example #36997

merged 2 commits into from
Dec 2, 2024

Conversation

k35o
Copy link
Contributor

@k35o k35o commented Nov 27, 2024

Description

An example of mod calculation, mod(21, -4), was set to 1 even though the result was -3, which has been corrected.

Calculations were made with reference to Example37 in Specifications

Motivation

Explain the correct calculation results of mod.

Additional details

Sample of actual calculations.
https://codepen.io/kokisakano/pen/KwPKXva

Related issues and pull requests

@k35o k35o requested a review from a team as a code owner November 27, 2024 08:28
@k35o k35o requested review from estelle and removed request for a team November 27, 2024 08:28
@github-actions github-actions bot added Content:CSS Cascading Style Sheets docs size/xs [PR only] 0-5 LoC changed labels Nov 27, 2024
Copy link
Contributor

github-actions bot commented Nov 27, 2024

Preview URLs

(comment last updated: 2024-12-02 12:36:24)

Co-authored-by: Estelle Weyl <[email protected]>
@k35o k35o requested a review from estelle November 28, 2024 02:10
Copy link
Member

@estelle estelle left a comment

Choose a reason for hiding this comment

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

Thank you. Also, congratulations on your first merged MDN content PR. Welcome to the team!

@estelle estelle merged commit 759107c into mdn:main Dec 2, 2024
8 checks passed
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 size/xs [PR only] 0-5 LoC changed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants