W3C home > Mailing lists > Public > public-html@w3.org > May 2008

respecification of document.write in an XML consistent manner yet still compatible with legacy content

From: Robert J Burns <rob@robburns.com>
Date: Wed, 28 May 2008 21:10:35 +0000
Message-Id: <E3BAE3B2-1B09-4755-A021-1D3174511316@robburns.com>
To: HTML Issue Tracking WG <public-html@w3.org>

Dear WG,

Here is another issue that needs to be introduced here for discussion,  
as it will be added to the issue-tracker in time. This issue was  
discussed surrounding the question of serialization differences and  
the desire to minimize those as much as possible. This proposal  
suggests adding an introspection mechanism to the DOM implementation  
to allow a handler to discover the source where the script is running  
from. Once that property is available, then the document.write method  
can be implemented in XML without interrupting parsing and by passing  
the call onto setInnerHTML(). In this way document.write becomes a  
convenience method making modern DOM calls.

Issue:
UA norm for DOM API to return the element containing the script and a  
re-implementation of document.write for both serializations (or at  
least XML) to use this newly respecified method.[1]


Take care,
Rob

[1]: <http://esw.w3.org/topic/HTML/NewDocument.WriteSpec>
Received on Wednesday, 28 May 2008 21:11:49 UTC

This archive was generated by hypermail 2.3.1 : Monday, 29 September 2014 09:38:55 UTC