[Webkit-unassigned] [Bug 144913] New: WKWebView does not re-layout fixed positioned element after orientation change

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue May 12 07:57:20 PDT 2015


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

            Bug ID: 144913
           Summary: WKWebView does not re-layout fixed positioned element
                    after orientation change
    Classification: Unclassified
           Product: WebKit
           Version: 528+ (Nightly build)
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebKit2
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: stefan at arentz.ca

Confirmed on iOS 8.0 and up. Test page at http://bradfrost.com/demo/fixed/index.html

STR:

1) Create a WKWebView, set its frame full screen and set its resizing mask to flexible width/height
2) Load http://bradfrost.com/demo/fixed/index.html
3) See the header and footer correctly positioned and have the width of the screen
4) Change device to landscape
5) See the header and footer still have the original width.

Forcing a re-layout by scrolling a bit makes the header and footer widths update correctly.

In Firefox for iOS we have a workaround for this issue where we nudge the scrollView a bit to force a layout.

See https://github.com/mozilla/firefox-ios/commit/c93880e27c930d3f41cd8f44b1bcbd642ed6c81d#diff-6d1fb0cf203fcd3c299d4ba3f07f21deR130

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20150512/781545d7/attachment.html>


More information about the webkit-unassigned mailing list