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

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 UTC