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

Ray,

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:

http://www.w3.org/TR/2002/PR-DOM-Level-2-HTML-20021108/html.html#ID-94282980

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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 22 June 2012 06:13:56 GMT