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

Re: On why we should use data-its-* if we want to use prefixed attributes for HTML5

From: Jirka Kosek <jirka@kosek.cz>
Date: Thu, 26 Apr 2012 17:45:52 +0200
Message-ID: <4F996DB0.4040907@kosek.cz>
To: Maxime Lefran├žois <maxime.lefrancois@inria.fr>
CC: public-multilingualweb-lt@w3.org
On 26.4.2012 17:18, Maxime Lefran├žois wrote:
> Following the issue 2 and a rereading of the extensibility section 2.2.3 of the HTML5 specification, it is clearly stated that we must use prefix data-its- for HTML5. 

Hi Maxime,

have you read whole thread regarding its-*?

Especially
http://lists.w3.org/Archives/Public/public-multilingualweb-lt/2012Mar/0005.html

and also HTML WG mailing list

http://lists.w3.org/Archives/Public/public-html/2012Mar/0466.html

> - The prefix-* approach is not conform, not valid. We must not use its-* custom attributes, as we can't be ensured, for instance, that a specific vendor of HTML5 browsers won't delete these attributes in the DOM before rendering the page. 

We can use such attribute, it will not be valid HTML5 but we can create
applicable specification defining such attributes. Moreover we plan to
change conformance definition of HTML5 in this area.

> - It is explicitly stated in the same section that the data-* attribute should be ignored and untouched by vendors (browsers), but we may recommend the use of such attributes and remain fully compatible with the current HTML5 working draft. 

data-* are not meant for interchange, they are private to particular
application operating on page.

> For all the reasons stated above and in order to limit the possibilities of conflict, we must use data-its-* attributes. 

Well, I don't think so.

				Jirka

-- 
------------------------------------------------------------------
  Jirka Kosek      e-mail: jirka@kosek.cz      http://xmlguru.cz
------------------------------------------------------------------
       Professional XML consulting and training services
  DocBook customization, custom XSLT/XSL-FO document processing
------------------------------------------------------------------
 OASIS DocBook TC member, W3C Invited Expert, ISO JTC1/SC34 member
------------------------------------------------------------------


Received on Thursday, 26 April 2012 15:46:29 UTC

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