W3C home > Mailing lists > Public > public-multilingualweb-lt@w3.org > April 2012

Re: Practical question: elements or attributes?

From: Arle Lommel <arle.lommel@gmail.com>
Date: Tue, 17 Apr 2012 11:31:30 +0200
Cc: Multilingual Web LT Public List <public-multilingualweb-lt@w3.org>
Message-Id: <835CC501-41AD-4D4D-8E9A-C6A9ABAC1619@gmail.com>
To: Felix Sasaki <fsasaki@w3.org>
Thanks Felix,

That's basically what I meant by a "bundle of attributes", but you are right that it doesn't look nice.

I guess this question doesn't need to be resolved immediately, but for the sake of consistency, I will take the "ugly" approach in the examples I draft (unless they are already done the other way) and we can discuss in Dublin. I will also use the "its-" prefix as you show below.

Best,

Arle

Sic scripsit Felix Sasaki in Apr 17, 2012 ad 11:25 :

> Hi Arle all (still on vacation, just lurking),
> 
> it doesn't look nice, but you can mimic elements with attributes. E.g., instead of
> 
> <myElem someAttr="">...</myElem>
> have in HTML5
> <span its-myElem its-someAttr="">
> 
> Felix
Received on Tuesday, 17 April 2012 09:32:05 UTC

This archive was generated by hypermail 2.3.1 : Sunday, 9 June 2013 00:24:55 UTC