[Webkit-unassigned] [Bug 190771] Safe area inset environment values should be available at all times, not just when viewport-fit=cover.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Nov 27 07:59:11 PST 2019


https://bugs.webkit.org/show_bug.cgi?id=190771

private at dzoni.dev changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |private at dzoni.dev

--- Comment #2 from private at dzoni.dev ---
iOS 13 Safari does seem to have these variables available.

But that still hasn't solved Safari's bottom bar jumping out when clicking within that area, because bottom safe area of 16px is way lower than something around 44px which is what we need to get for the bottom bar.

I attempted to mitigate this with something like:
padding-bottom: calc(44 * (env(safe-area-inset-bottom) / env(safe-area-inset-bottom)))

But we can't do 16px / 16px division in calc function.

Are there any other env variables available in latest update?

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20191127/e9039518/attachment.htm>


More information about the webkit-unassigned mailing list