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

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

From: Christian Biesinger <cbiesinger@web.de>
Date: Tue, 19 Jul 2005 13:01:16 +0200
Message-ID: <42DCDD7C.3040500@web.de>
Matthew Raymond wrote:
>    I know this isn't how you meant it, but this all seems a bit user
> hostile. The user sees something on the screen he/she wants to print,
> but an event is called at the last minute that changes the content to
> something else 

You can already do that with CSS...

@media print { html { display:none; } }

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 4792 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.whatwg.org/pipermail/whatwg-whatwg.org/attachments/20050719/96259911/attachment.bin>
Received on Tuesday, 19 July 2005 04:01:16 UTC

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