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

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

From: Jim Ley <jim.ley@gmail.com>
Date: Tue, 19 Jul 2005 19:47:29 +0100
Message-ID: <851c8d31050719114746a34ce0@mail.gmail.com>
On 7/19/05, Ian Hickson <ian at hixie.ch> wrote:
> On Tue, 19 Jul 2005, Dimitri Glazkov wrote:
> >
> > However, I think am starting to see what you're seeing. Basically, your
> > approach is to provide all content in the DOM tree and then flip
> > switches as needed to present it to various media types. Right?
> Right.

This is flawed though, as it requires all the content to be in the
page, including media-specific content. CSS cannot remove content, CSS
is optional, consider:

This page <span id="viewed">viewed</span><span
id="printed">printed</span> on ...

This is a contrived example of how people want web-applications to
have media specific content - printed media particularly, although it
would also apply to web applications deployed over interactive voice
systems, but it shows how relying on optional methods to change
content is simply flawed.

Received on Tuesday, 19 July 2005 11:47:29 UTC

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