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

Overview > Operations > Conversion is impossible example giving different results #555

Open
SukhbirChung opened this issue Aug 2, 2021 · 0 comments

Comments

@SukhbirChung
Copy link

@incompatible-units: 2 + 5px - 3cm; // result is 4px

The docs state that the result is 4 px ( 2 + 5 = 7px minus cm ignored gives (7px - 3cm = 4px)). However, the result is different. For example,
p {
margin-left: 2 + 5px - 3cm;
}

According to the docs, the left margin must be 4px that is the paragraph content must be moved 4px to the right. However, the observed behaviour is: Paragraph content is moved 7px to the right and then 3cm to the left.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant