<html>
<head>
<base href="https://bugs.webkit.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - window.innerWidth seems to return something other than the viewport width"
href="https://bugs.webkit.org/show_bug.cgi?id=151384#c5">Comment # 5</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - window.innerWidth seems to return something other than the viewport width"
href="https://bugs.webkit.org/show_bug.cgi?id=151384">bug 151384</a>
from <span class="vcard"><a class="email" href="mailto:tobi@tobireif.com" title="Tobi Reif <tobi@tobireif.com>"> <span class="fn">Tobi Reif</span></a>
</span></b>
<pre>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";
// ...
}</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>