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

[whatwg] Semantic styling languages in the guiseof HTML attributes.

From: Mike Schinkel <mikeschinkel@gmail.com>
Date: Fri, 22 Dec 2006 07:45:58 -0500
Message-ID: <005701c725c7$21fb85c0$2102fea9@Guides.local>
Matthew Raymond wrote:
> Benjamin Hawkes-Lewis wrote:
>> Leons Petrazickis wrote:
>>> I think what's wanted is a Cascading Semantics Language.
>> 
>> I'm baffled. Why do we want this? What would it allow us to do?
> 
>    There are people who posted ideas about semantic
> properties for CSS on the www-style mailing list. They would
> likely be ecstatic about turning CSS into a cascading
> semantics language. Personally, this would be a greater
> nightmare than the |role| attribute.
> 
>    However, global attributes like |role| aren't much better.
> Attributes should specify the details of semantics that
> elements already possess.

Why should attributes (only?) specify the details of semantics that elements
already possess?  Is there an axiom or W3C finding that we can reference for
this?

> Generally, though, this is just math. For every attribute
> or role you have that can apply to ALL elements, you have the
> semantics of all those  elements to interact with, plus you
> have interactions between an indefinite number of global
> attributes that may be defined on that element. 

Can you provide some concrete examples where that might cause a problem?

-- 
-Mike Schinkel
http://www.mikeschinkel.com/blogs/
http://www.welldesignedurls.org/
Received on Friday, 22 December 2006 04:45:58 UTC

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