W3C home > Mailing lists > Public > whatwg@whatwg.org > July 2005

[whatwg] [html5] window.print() undefined

From: Dean Edwards <dean@edwards.name>
Date: Mon, 18 Jul 2005 21:15:31 +0100
Message-ID: <42DC0DE3.7040901@edwards.name>
Olav Junker Kj?r wrote:
> Dean Edwards wrote:
> 
>> IE has some nice onbeforeprint/onafterprint events. Can we add these too?
> 
> 
> Arent these event mostly used to transform the view before printing it? 
> I think this is better handled by a print-specific style-sheet today.
> 

If I set element.style.display = "block" how do I hide it using a style 
sheet when it is printed?

-dean
Received on Monday, 18 July 2005 13:15:31 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:58:41 UTC