Skip to content
This repository was archived by the owner on Mar 22, 2019. It is now read-only.

Don’t remove unit of 0 from custom property value#86

Merged
hail2u merged 1 commit intomasterfrom
issue85
Aug 21, 2017
Merged

Don’t remove unit of 0 from custom property value#86
hail2u merged 1 commit intomasterfrom
issue85

Conversation

@hail2u
Copy link
Copy Markdown
Owner

@hail2u hail2u commented Aug 21, 2017

A custom property may be used in calc(). And, if 0 appears in
calc() in add or sub, calc() always returns 0. So, a custom
property value must have a unit.

This fixes #85.

A custom property may be used in `calc()`. And, if `0` appears in
`calc()` in add or sub, `calc()` always returns `0`. So, a custom
property value must have a unit.

This fixes #85.
@hail2u hail2u merged commit c2a91a1 into master Aug 21, 2017
@hail2u hail2u deleted the issue85 branch August 21, 2017 04:21
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

CSS custom properties value set as 0 (instead of 0px)

1 participant