W3C home > Mailing lists > Public > public-webapps@w3.org > July to September 2010

Web DOM Core

From: Anne van Kesteren <annevk@opera.com>
Date: Mon, 06 Sep 2010 13:49:20 +0200
To: "WebApps WG" <public-webapps@w3.org>
Message-ID: <op.vil0gi2p64w2qv@anne-van-kesterens-macbook-pro.local>
A new version of DOM Core as an alternative to DOM Level 3 Core mostly for  
web browsers has been talked about a lot and even drafted to some extent.  
I would like to run it to completion.

This alternative would not throw HIERARCHY_REQUEST_ERR as much (maybe even  
not at all), can return null for getAttribute(), makes Node.prefix  
readonly, and drastically reduces the amount of interfaces and interface  
members. Having an alternative with editor would also allows to make  
further simplifications to the model. We could e.g. consider drastically  
simplifying Attr or maybe even removing it altogether if compatibility  
allows for it.

It also allows for defining the namespaceless methods more clearly and  
removing all the overrides HTML5 does to DOM Core in favor of having those  
in DOM Core instead (while not creating a dependency on HTML5), reducing  
the complexity of HTML5.

The draft and tests are hosted on bitbucket.org:  

I put an HTML snapshot of the source document here:  

The first 80% is more or less done. I would very much appreciate feedback  
and implementor interest in e.g. simplifying/removing Attr on the next 80%.

Many thanks to Simon Pieters, Geoffrey Sneddon, and ms2ger, for starting  
this effort.

Anne van Kesteren
Received on Monday, 6 September 2010 11:49:56 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 18:13:11 UTC