W3C home > Mailing lists > Public > www-style@w3.org > February 1997

Object Model (was Re: Positioning HTML Elements with Cascading Style Sheets)

From: Chris Lilley <Chris.Lilley@sophia.inria.fr>
Date: Mon, 3 Feb 1997 18:07:38 +0100 (MET)
Message-Id: <9702031807.ZM28510@grommit.inria.fr>
To: connolly@www10.w3.org, "Joel N. Weber II" <nemo@koa.iolani.honolulu.hi.us>, Chris Josephs <cpj1@visi.com>, www-style@www10.w3.org
Cc: Taylor <taylor@hotwired.com>, Todd Fahrner <fahrner@pobox.com>
On Feb 2,  9:07am, Chris Josephs wrote:

> In the positioning draft we see the first example of mixing a scripting
> language (JS) and a stylesheet (CSS).  While I am not against the idea of
> the interaction, I do think a little more thought should be given to it.
>
> If such interaction is desired, perhaps a true method for CSS manipulation
> should be declared.  What about the idea of a specific proposal declaring
> a scripting interface to CSS?

I think this would be termed an object model.

> If this were to happen, this interface should do two things:
>
> 1.  Provide an independent interface, not necessarily tied to one
> scripting language.  Manipulation should be equally possible with
> JavaScript and Visual Basic, and possible future scripting languages.

Right. Language independent APIs

> 2.  Provide the ability to retrieve values and set values to various
> properties.

Yes. And retrieve and set the content of various tags and various
environmental variables, too, perhaps.

> If something like this isn't implemented, Several existing scripting
> languages out there already may devise cheap "hacks" that may not take
> full advantage of using CSS.  It's going to be a whole lot better in the
> long run if we were to get this specified now than to regret it later.

This is being worked on. Do you have any further thoughts about which
features are the most valuable?

-- 
Chris Lilley, W3C                          [ http://www.w3.org/ ]
Graphics and Fonts Guy            The World Wide Web Consortium
http://www.w3.org/people/chris/              INRIA,  Projet W3C
chris@w3.org                       2004 Rt des Lucioles / BP 93
+33 (0)4 93 65 79 87       06902 Sophia Antipolis Cedex, France
Received on Monday, 3 February 1997 12:07:49 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:53:49 GMT