iPhone X : : Error : safe-area-inset property is not supported for this property?

iPhone X : : Error : safe-area-inset property is not supported for this property?

为了在 iPhoneX 上对齐 html 页面,apple 提供了常量,如 constant(safe-area-inset-left) 等。 这工作正常,最后我检查了 iOS 11.0.x。更新到 iOS 11.2 后,它已停止工作。我在 css "The value constant(safe-area-inset-left) is not supported by this property."

中得到这个 error/warning
padding-left: constant(safe-area-inset-left) !important;

视口也不工作。

<meta name="viewport" content="width=device-width, initial-scale=1.0, viewport-fit=cover">

在 iOS 11.2 constant(safe-area-inset-dir) 被 env(safe-area-inset-dir) 替换