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

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