Skip to content

Conversation

@ludofischer
Copy link

I want to add some explanations about unit() as I found surprising that with numbers such as 10. the unit contains the dot. These tests made me believe it is intentional. Then I found out that according to the official CSS spec, omitting the 0 after the dot is forbidden, so I hope I explain the intention behind this behaviour correctly.

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

Successfully merging this pull request may close these issues.

1 participant