W3C home > Mailing lists > Public > whatwg@whatwg.org > January 2011

[whatwg] Browsers delay window.print() action until page load finishes

From: Ola P. Kleiven <olak@opera.com>
Date: Fri, 21 Jan 2011 18:11:09 +0100
Message-ID: <op.vpn4ovq7nw228i@olak.getinternet.no>
On Fri, 21 Jan 2011 00:51:41 +0100, Alexey Proskuryakov <ap at webkit.org>  
wrote:

>
> There seems to be no provision in the spec for a behavior Firefox and IE  
> (and now WebKit-based browsers, too) have. If window.print() is called  
> during page load, then its action is delayed until loading is finished.

Opera is currently looking into a related issue. The issue we have is what  
to do with

w = window.open(url)
w.print()

Right now Opera ignores print() here, but Yahoo!Mail depends on this for  
their printing functionality.

> The WebKit bug that changed this most recently is  
> <https://bugs.webkit.org/show_bug.cgi?id=43658> - it has some  
> information about trickier aspects of the behavior. This looks like  
> something that needs to be formally specified.
>
> - WBR, Alexey Proskuryakov


-- 
Ola P. Kleiven
Core Compatibility PM
Opera Software
Received on Friday, 21 January 2011 09:11:09 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:29 UTC