W3C home > Mailing lists > Public > www-dom@w3.org > October to December 2002

Re: Exposing the critical ACTUAL style values?

From: Shelby Moore <shelby@coolpage.com>
Date: Tue, 17 Dec 2002 22:13:45 -0600
Message-Id: <4.1.20021217220400.0182cc90(null)>
To: Ray Whitmer <rayw@netscape.com>
Cc: www-dom@w3.org


Regarding your assertion that the W3C DOM is pure markup and contains no
presentation state, I think there are many examples in existing W3C DOM
standards where this is violated.  For example, look at the HTMLSelectElement:


The selectedIndex, value, options, blur, and focus function both as read
properties of the current presentation state as well as the  markup.

I think that resoundly blows a hole in the abstract idea that the DOM can't
have presentation interfaces.  Thus is a precedent for 1:1 correlation
between markup and presentation.  I think it is logically consistent that
the DOM can represent both the markup state and thru extended interfaces
also return the current transformed state.

Again I do not think specialized interfaces for modifying the transformed
state are to be encouraged.  Where ever possible it is logically very
important that one try to use markup to set state.

-Shelby Moore
Received on Tuesday, 17 December 2002 23:13:52 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 20 October 2015 10:46:10 UTC