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

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

From: Ian Hickson <ian@hixie.ch>
Date: Tue, 19 Jul 2005 12:52:32 +0000 (UTC)
Message-ID: <Pine.LNX.4.62.0507191251550.1857@dhalsim.dreamhost.com>
On Tue, 19 Jul 2005, Dimitri Glazkov wrote:
> No, I don't believe that is always the case. The user _sometimes_ wants 
> to print what he/she sees, but my experience tells me that most of the 
> time, the user wants to print what is considered main content of the 
> page. For example, I am using my online banking, and want to print an 
> invoice. Do I want to print the navigation and all contextual content 
> that surrounds my invoice on the Web page? Of course not.

@media {
   navigation { display: none; }

> Now, the second question is whether @media print is enough to provide 
> all functionality needed for getting this done. I tend to think "no". 
> Why? Because just CSS (in its current state) is not enough to provide 
> all functionality associated with rendering of the page. How is print 
> rendering different?

What functionality are you lacking? (Both in screen and print.)

Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Tuesday, 19 July 2005 05:52:32 UTC

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