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

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

From: Joel N. Weber II <nemo@koa.iolani.honolulu.hi.us>
Date: Mon, 3 Feb 1997 07:24:30 -1000 (HST)
To: Chris Lilley <Chris.Lilley@sophia.inria.fr>
cc: connolly@w3.org, Chris Josephs <cpj1@visi.com>, www-style@w3.org, Taylor <taylor@hotwired.com>, Todd Fahrner <fahrner@pobox.com>
Message-ID: <Pine.SOL.3.91.970203072026.10258X-100000@koa.iolani.honolulu.hi.us>
On Mon, 3 Feb 1997, Chris Lilley wrote:

> On Feb 2,  9:07am, Chris Josephs wrote:
> 
> > 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?

Personally, I think the best way to proceed is have a small group come up 
with a proposal, and then have lots of people offer feedback.

I think that the scripting API ought to allow HTML text, the tags and 
attributes to be changed.  It should probably also be possible to change 
the style sheet somehow; but whether it's better to allow the style of an 
elemement to be changed in place, or whether we should allow the style 
sheet for the document to be changed on the fly, I don't know.  Probably 
the latter.

It isn't clear to me though how you would tell the API which text you 
want to change.  It's easy enough to have a call that looks like

	setattr(someplace, "HREF", "http://www.gnu.ai.mit.edu");

(assuming psuedo-C here)


nemo
                                                 http://www.cyclic.com/~nemo
<nemo@koa.iolani.honolulu.hi.us>                    <devnull@gnu.ai.mit.edu>
----------------------------------------------------------------------------
"...For I have not come to call the righteous, but sinners." -- Matthew 9:13
Received on Monday, 3 February 1997 12:28:46 GMT

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