[Webkit-unassigned] [Bug 255708] Viewport units are sized wrong in SFSafariViewController

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jul 16 11:30:03 PDT 2024


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

--- Comment #9 from Bruno Stasse <augus.dupin at gmail.com> ---
I have tested in iOS 17.5.1. I am not able to test in later versions at the moment.

However, based on your screenshot @Abrar it looks like the bug is still present in iOS 18? We can see that when the browser UI is expanded `99svh` = `99vh` = `99lvh` = `739px`, which is incorrect.

`vh` and `lvh` should be relative to the large viewport, that is the viewport with the browser UI collapsed. `svh` should be relative to the small viewport, that is the viewport with the browser UI expanded (as visible on your screenshot).

As far as I can tell, on your screenshot `99svh` has the correct size, but `99vh` and `99lvh` should be bigger.

-- 
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/20240716/45b2d674/attachment.htm>


More information about the webkit-unassigned mailing list