Re: [csswg-drafts] [css-variables] User Agent properties and variables

Why the constant can't be used in calc? This does not meet expectations.

![](https://img.alicdn.com/tfs/TB15wBGbjihSKJjy0FfXXbGzFXa-283-68.png)

![](https://img.alicdn.com/tfs/TB1U4xIbaagSKJjy0FhXXcrbFXa-333-77.png)

Yes, we can use `height: 44px; padding-top: constant(safe-area-inset-top)`, but `height: calc(constant(safe-area-inset-top) + 44px)` is conciser, and sometimes we have no choice.

-- 
GitHub Notification of comment by zhouqicf
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/1693#issuecomment-330788503 using your GitHub account

Received on Wednesday, 20 September 2017 08:52:11 UTC