[Webkit-unassigned] [Bug 191363] New: env(safe-area-inset-top) not updated on device rotation

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Nov 7 07:59:10 PST 2018


            Bug ID: 191363
           Summary: env(safe-area-inset-top) not updated on device
           Product: WebKit
           Version: Safari 12
          Hardware: iPhone / iPad
                OS: iOS 12
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: CSS
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: d.pierangeli at instantdeveloper.com

Created attachment 354093

  --> https://bugs.webkit.org/attachment.cgi?id=354093&action=review

test page

Bug for IphoneX, XR, XS, XSMax

If the linked page is opened in a webview or full screen safari uses viewport-fit=cover and the main DIV is positioned in top: env(safe-area-inset-top); (eg: 30px - notch)

When the device rotates the media query has the same value, but the div is not at 0px but at the notch position.

I was expecting that the variable changed value at rotation.

(the linked page uses iphoneX-XS media queries)

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/20181107/189d0bfd/attachment.html>

More information about the webkit-unassigned mailing list