Overview > Operations > Conversion is impossible example giving different results
Nobody has claimed this yet.
- Dominant language
- Less
- Stars
- 680
- Forks
- 442
- PR merge metrics
- No merged PRs in 30d
Description
@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.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at the “Overview > Operations > Conversion” documentation section and reproduce the 2 + 5px - 3cm example shown in the issue. Compare the documented 4px result with the observed output, then update the documentation or clarify the example so the stated behavior matches the verified result.
Written by the indexing model from the issue text.
Assessment
- Domain
- documentation
- Issue type
- Documentation
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100