W3C home > Mailing lists > Public > w3c-wai-hc@w3.org > October to December 1997

Multipe Inheritance

From: Daniel Dardailler <danield@w3.org>
Date: Thu, 16 Oct 1997 04:04:43 +0200
Message-Id: <199710160204.EAA11376@www47.inria.fr>
To: w3c-wai-hc@w3.org

One issue I'd like to raise - and maybe it shouldn't emane from the
WAI but as a direct input to the HTML-WG - is the issue of overloaded
HTML attributes, 'class' in particular. 

For instance, if one wants to declare a TABLE as being both of
class=record and class=cost, it's impossible, since SGML only allows
for one attribute setting (someone told me that someday, correct and
ignore this message if this isn't true).

As a result, CSS cannot specify different presentation properties for
both 'record' and 'cost' classes of table.

My suggestion would be to extend the class syntax to allow for a
comma-separated list of values: class="record, cost" and have the user
agent parse it accordingly. 

The wording in CSS would beed to be extended to understand this list
of values of course.

Comments.
Received on Wednesday, 15 October 1997 22:05:02 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 20:35:00 UTC