[webkit-help] In webkit browsers window.open() does not respect dimensions specified

Ryosuke Niwa rniwa at webkit.org
Sun Apr 15 22:00:09 PDT 2012


On Sun, Apr 15, 2012 at 9:50 PM, John Lips <lips.john at gmail.com> wrote:

> The following html code block will open a small window of the specified
> dimensions in chromium & seamonkey...
>

Chromium IS a WebKit browser.

However, in webkit browsers the results vary. In jumanji and dwb the page
> is opened in a new tab. In Epiphany and surf the page is opened in a
> separate window, but the window does not respect the specified dims,
> instead it is opened maximized.
>

That sounds like a bug in Epiphany.

<html>
> <head>
> <script type="text/javascript">
> function open_win()
> {
> newwindow=window.open("http://www.w3schools.com
> ",'name','height=250,width=216');
> }
> </script>
> </head>
>
> <body>
> <form>
> <input type="button" value="Open Window" onclick="open_win()">
> </form>
> </body>
>
> </html>
>

The above example works as expected on both Chrome and Safari.

- Ryosuke
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-help/attachments/20120415/d392c1b9/attachment.html>


More information about the webkit-help mailing list