- From: Jon Hanna <jon@spinsol.com>
- Date: Fri, 11 Jan 2002 17:04:44 -0000
- To: <w3c-wai-ig@w3.org>
-----BEGIN PGP SIGNED MESSAGE----- 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 states: 1. All SCRIPT elements are evaluated in order as the document is loaded. 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 DOM. 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. -----BEGIN PGP SIGNATURE----- Version: PGPfreeware 6.5.3 for non-commercial use <http://www.pgp.com> iQA/AwUBPD8bK4Fpv9f1Mr0YEQKoSACdGUjWKbh+VfzX65bmMrG18j2UKtIAn0A8 rLgkh4UFFW+x8YyOgKAOX9MH =KrTB -----END PGP SIGNATURE-----
Received on Friday, 11 January 2002 12:05:53 UTC