W3C home > Mailing lists > Public > whatwg@whatwg.org > December 2006

[whatwg] Semantic styling languages in the guise of HTML attributes.

From: Leons Petrazickis <leons.petrazickis@gmail.com>
Date: Wed, 20 Dec 2006 10:35:02 -0500
Message-ID: <5b04ec2d0612200735v6778fee0wb88c4a59e29c08a8@mail.gmail.com>
On 12/20/06, James Graham <jg307 at cam.ac.uk> wrote:
> Matthew Raymond wrote:
> >    A "semantic styling language" would be a language to assign semantics
> > to elements in a manner similar to how CSS controls their presentations.
> FWIW, it seems that a better term for the concept you describe would be
> "semantic binding language", since presentation isn't actually involved
> anywhere. In the same vein CSS would be a "presentation binding language" and
> XBL roughly a "behavior binding language". Having said that, I'm not sure I
> follow the point that you are trying to make.

I think what's wanted is a Cascading Semantics Language. Its syntax
could be based on CSS. For example:
.masthead {

.division {
  strength: normal;

.flow {

.aside {

Behaviours, script bindings, etc could be mixed into this.

Leons Petrazickis
Received on Wednesday, 20 December 2006 07:35:02 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:08:31 UTC