Bug 39835 - [Chromium] Default popup window size should not depend on zoom level
Summary: [Chromium] Default popup window size should not depend on zoom level
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC All
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-27 07:06 PDT by Hans Wennborg
Modified: 2010-05-27 14:57 PDT (History)
3 users (show)

See Also:


Attachments
Test page (359 bytes, text/html)
2010-05-27 07:06 PDT, Hans Wennborg
no flags Details
Patch (2.44 KB, patch)
2010-05-27 07:26 PDT, Hans Wennborg
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Hans Wennborg 2010-05-27 07:06:07 PDT
Created attachment 57238 [details]
Test page

When doing a call to window.open() without passing arguments for the window size, the size gets influenced by the zoom level of the current window.

For example, see the attached test page: First, try clicking the "my popup" link without zooming. Then, close the popup, zoom in a couple of steps, and click the link again. Notice how the popup is much smaller this time.

(See also http://crbug.com/45167).
Comment 1 Hans Wennborg 2010-05-27 07:26:29 PDT
Created attachment 57241 [details]
Patch
Comment 2 Jeremy Orlow 2010-05-27 07:37:06 PDT
r=me
Comment 3 WebKit Commit Bot 2010-05-27 14:57:25 PDT
Comment on attachment 57241 [details]
Patch

Clearing flags on attachment: 57241

Committed r60324: <http://trac.webkit.org/changeset/60324>
Comment 4 WebKit Commit Bot 2010-05-27 14:57:31 PDT
All reviewed patches have been landed.  Closing bug.