David Dorward wrote:
On Thu, Dec 07, 2006 at 12:41:57PM +0000, Chris Price wrote:
Is this any good?
http://choctaw.co.uk/tftw.php?counter=45
Javascript is used on the page so its xhtml compliant.
No, it isn't.
(1) Uses document.write. Most XHTML implementations don't support
document.write.
Actually, no real XHTML implementation supports document.write(). In
the current (X)HTML5 spec, document.write() must throw an error when
used in XHTML.
| In an XML context, the document.write(s) method must raise an
| INVALID_ACCESS_ERR exception.
http://www.whatwg.org/specs/web-apps/current-work/#document.write1
--
Lachlan Hunt
http://lachy.id.au/
*******************************************************************
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
*******************************************************************