new property 'role'

Good day.

There was hot battle in public-html@w3.org about predefined class names: should
'copyright, error, example, issue, note, search, warning'
be values of attribute 'class', or of attribute 'role'.

I strongly disagree to make 'error, example, etc'
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
HTML6     (6.1.0)  http://html60.chat.ru
SQL4      (4.0.5)  http://sql40.chat.ru
Computer2 (2.0.2)  http://computer20.chat.ru

Received on Friday, 15 June 2007 05:56:26 UTC