W3C home > Mailing lists > Public > w3c-wai-ig@w3.org > January to March 2002

RE: Using Form Elements for Pages only Intended for Printing

From: Jon Hanna <jon@spinsol.com>
Date: Fri, 11 Jan 2002 17:04:44 -0000
To: <w3c-wai-ig@w3.org>
Hash: SHA1

> > Assuming that print in text/jim is bound to the write method of
> > the document object then it is the job of the script engine to
> > replace the script element with a p element.
> Can you point me to the standard which says do this,
I alread mentioned
http://www.w3.org/TR/html4/interact/scripts.html#h-18.2.4 which

1. All SCRIPT elements are evaluated in order as the document is
2. All script constructs within a given SCRIPT element that generate
SGML CDATA are evaluated. Their combined generated text is inserted
in the document in place of the SCRIPT element. 
3. The generated CDATA is re-evaluated.

 no current
> implementations do that, and it makes the DOM standard incompatible
> with the standard your supposing exists (as you'd have no point for
> a script element.)

Well the script element would still be of use, especially (but not
exclusively) in cases where the script element is created via the
IIRC Netscape at least used to do it this way, but I'm not sure.
I know IE doesn't do this, it places the created content after the
script element, which would seem to be a better way of doing things,
(as long as it doesn't cause problems when nodes are moved).

Anyway, I'm not defending this, I'm just saying it's what
http://www.w3.org/TR/html4/ says.

Version: PGPfreeware 6.5.3 for non-commercial use <http://www.pgp.com>

Received on Friday, 11 January 2002 12:05:53 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 20:36:06 UTC