W3C home > Mailing lists > Public > public-webapps@w3.org > July to September 2012

Re: Proposal for "Cascading Attribute Sheets" - like CSS, but for attributes!

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Wed, 22 Aug 2012 00:09:35 -0700
Message-ID: <CAAWBYDBTyNcX4Y4gE0NW_b97ddrwKqCZTX5s36KdSCXbGGbo8A@mail.gmail.com>
To: Dimitri Glazkov <dglazkov@google.com>
Cc: Glenn Maynard <glenn@zewt.org>, Brian Kardell <bkardell@gmail.com>, public-webapps <public-webapps@w3.org>, Ojan Vafai <ojan@chromium.org>
On Tue, Aug 21, 2012 at 5:48 PM, Dimitri Glazkov <dglazkov@google.com> wrote:
> Can we extend this to custom DOM element registration somehow?
>
> ul.news>li {
>      identity: x-news-item;
> }
>
> or maybe even:
>
> ul.news>li {
>     identity: url(//example.com/test/news.html#news-item);
> }

If that's an attribute on the element, sure!

ul.news > li { is: x-news-item; }

^_^

~TJ
Received on Wednesday, 22 August 2012 07:10:23 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 18:49:54 GMT