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

Ola P. Kleiven olak at opera.com
Fri Jan 21 09:11:09 PST 2011


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


More information about the whatwg mailing list