'role' should be property

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 UTC