W3C home > Mailing lists > Public > public-html@w3.org > May 2007

'role' should be property

From: Dmitry Turin <html60@narod.ru>
Date: Tue, 22 May 2007 10:18:45 +0400
Message-ID: <1978702932.20070522101845@narod.ru>
To: public-html@w3.org

Good day, all.

I strongly disagree to make
"copyright, error, example, issue, note, search, warning"
values of any attributes: neither 'class', nor 'role'.
Because it's not comfortable to specify values of attribute
in _many_ tags in _one_ document ('copyright' maybe exception in this list).

I think, that "error, example, etc" should be values of property.
Name of property is deal of taste, for example name can be 'role'.

.a {            /*** for examples of html ***/
  role:  error;
  color: red;
}
.b {            /*** for examples of sending xml ***/
  role:  error;
  color: green;
}

Thus this should be standardized by CSS WG.


Dmitry Turin
http://html6.by.ru
http://sql4.by.ru
http://computer2.by.ru
Received on Tuesday, 22 May 2007 13:13:24 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 9 May 2012 00:15:58 GMT