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

Ian Hickson ian at hixie.ch
Tue Jul 19 05:52:32 PDT 2005

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.   `._.-(,_..'--(,_..'`-.;.'

More information about the whatwg mailing list