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

Re: CSS vs. transitional markup [was: No Subject]

From: David Perrell <davidp@earthlink.net>
Date: Sat, 2 Aug 1997 11:48:58 -0700
Message-Id: <199708021856.LAA10414@italy.it.earthlink.net>
To: "Douglas Rand" <drand@sgi.com>
Cc: <www-style@w3.org>
Douglas Rand wrote:
> In fact it requires applying a mapping to the attributes,  and
> the creation of some kind of temporary stylesheet.  It can't even
> be hacked by putting some sort of internal id on the element and a
> permanent change to the per-document stylesheet since the specificity
> would be wrong, and consider that the map between attributes and
> properties is different for each element.

How are inline CSS STYLE declarations handled? Seems to me the only
difference between CSS and HTML inline declarations is that one has
maximum precedence and the other minimum. Both are valid only within
the specific element instance in which they're declared. Once effective
attributes are resolved, trumped ones are discarded. Couldn't this be
done in one parse of the document, once the effective stylesheet is
resolved?

If you're doing dynamic HTML, don't you need an attribute structure for
each instance of each element?

David Perrell
Received on Saturday, 2 August 1997 14:56:29 GMT

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