[Webkit-unassigned] [Bug 151384] window.innerWidth seems to return something other than the viewport width

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jan 7 04:57:13 PST 2016


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

--- Comment #5 from Tobi Reif <tobi at tobireif.com> ---
In an old Dolphin (uses WebKit it seems) on Samsung Galaxy S3 the width still isn't correct.

I had to force a redraw using a hack:

body.style.display = "none";
setTimeout(actuallyAdjustLayout, 0);

function actuallyAdjustLayout() {
  body.style.display = "block";
  // ...
}

-- 
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/20160107/18d8d75c/attachment.html>


More information about the webkit-unassigned mailing list