[Webkit-unassigned] [Bug 236445] safe-area-inset values not working for websites added to home screen

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Aug 16 14:40:36 PDT 2024


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

--- Comment #8 from Boolat <800147 at gmail.com> ---
Have the same issue. I want to keep all the content inside the safe area but navigation line is not considered as "unsafe" and shows on top of the content when viewport-fit=contain is set. And env(safe-area-inset-bottom) is zero!

But when I open that exact page inside the browser, not as a web app, then navigation line is still covers the content, but env(safe-area-inset-bottom) is set to compensate that. And what is weird, the env(safe-area-inset-right) and env(safe-area-inset-left) are also set to compensate the side unsafe areas while those areas are already cut by viewport-fit=contain.

Here I added some screenshots to show the problem
https://bug-236445-attachments.webkit.org/attachment.cgi?id=472193
https://bug-236445-attachments.webkit.org/attachment.cgi?id=472194

And here is the place where you can test it: https://b-kamalov-diginavis.github.io/manifest/contain-standalone/

-- 
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/20240816/c665bf20/attachment.htm>


More information about the webkit-unassigned mailing list