- From: Robin Berjon <robin.berjon@expway.fr>
- Date: Tue, 22 Apr 2003 18:12:34 +0200
- To: Ian Hickson <ian@hixie.ch>
- Cc: www-dom@w3.org
Ian Hickson wrote: > I was wondering if the DOM Working Group would consider splitting the DOM > HTML features document.referrer, document.cookie, and document.domain out > of the HTML-specific interface, and into a general "browser" interface > that applies to all XML documents as well. (I understand that not all DOM > implementations would want to support these features, which is why I am > not suggesting they be made part of the DOM core.) > > There isn't really anything HTML-specific about these three attributes, > and I think authors would benefit from being able to use them from other > contexts, such as SVG, without having to cast their document object to an > HTML object despite there being no HTML on the page. :-) Yes, that would indeed be great, especially as none of the alternative are any good (casting, proprietary, reinventing the wheel). The splitting out would seem to require minimal work and could be readily reused by other specs. -- Robin Berjon <robin.berjon@expway.fr> Research Engineer, Expway http://expway.fr/ 7FC0 6F5F D864 EFB8 08CE 8E74 58E6 D5DB 4889 2488
Received on Tuesday, 22 April 2003 12:12:45 UTC