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-*?


and also HTML WG mailing list


> - 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 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.4.0 : Friday, 17 January 2020 16:31:43 UTC