[Webkit-unassigned] [Bug 146798] New: Incorrect value reported for window.innerWidth when page is not visible during load
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Jul 9 12:45:11 PDT 2015
https://bugs.webkit.org/show_bug.cgi?id=146798
Bug ID: 146798
Summary: Incorrect value reported for window.innerWidth when
page is not visible during load
Classification: Unclassified
Product: WebKit
Version: 528+ (Nightly build)
Hardware: PC
OS: Linux
Status: NEW
Severity: Normal
Priority: P2
Component: WebCore Misc.
Assignee: webkit-unassigned at lists.webkit.org
Reporter: mcatanzaro at igalia.com
Test case: http://whatsmy.browsersize.com/
Load that page in the current tab. You should see reasonable values for browser window width and browser window height. Now middle-click the title to load the same page in a new tab. In Epiphany, the reported width is now displayed as 0.
I think this is responsible for breakage on popular web sites:
* Video pages on youtube.com display in a mobile layout when loaded in a new tab, but switch to the correct layout as soon as the browser window is resized.
* Images on vox.com are sent in extremely small sizes and then blown up to be super pixellated, because they adjust the resolution of the images they send to the window size of the browser to save bandwidth and make pages load faster.
I wonder if this is also responsible for why anchor links do not work when opened in new tabs.
--
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/20150709/3b1ffccc/attachment.html>
More information about the webkit-unassigned
mailing list