WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
144913
WKWebView does not re-layout fixed positioned element after orientation change
https://bugs.webkit.org/show_bug.cgi?id=144913
Summary
WKWebView does not re-layout fixed positioned element after orientation change
Stefan Arentz
Reported
2015-05-12 07:57:20 PDT
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
Attachments
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2015-06-11 17:00:19 PDT
<
rdar://problem/21350212
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug