W3C home > Mailing lists > Public > public-multilingualweb-lt-comments@w3.org > January 2013

RE: Comment on ITS 2.0 WD-its20-20121206 - Inline global rules in XHTML

From: Yves Savourel <ysavourel@enlaso.com>
Date: Thu, 31 Jan 2013 10:13:11 -0700
To: <public-multilingualweb-lt-comments@w3.org>
Message-ID: <assp.07431e6855.assp.07438a2dc3.001c01cdffd6$3f9b77d0$bed26770$@com>
Here is an example of XHTML5:

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
 <head>
  <title>Example</title>
  <meta charset="UTF-8" />
 </head>
 <body>
  <svg xmlns="http://www.w3.org/2000/svg" version="1.1">
   <text x="0" y="15" fill="red" transform="rotate(30 20,40)">I love ITS 2.0</text>
  </svg>
 </body>
</html>

I assume with the current draft, to specify some storage size properties we would do this:

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"
 xmlns:its="http://www.w3.org/2005/11/its" its:version="2.0">
 <head>
  <title its-storage-size="10">Example</title>
  <meta charset="UTF-8" />
 </head>
 <body>
  <svg xmlns="http://www.w3.org/2000/svg" version="1.1">
   <text its:storageSize="15"
    x="0" y="15" fill="red" transform="rotate(30 20,40)">I love ITS 2.0</text>
  </svg>
 </body>
</html>

is that correct?
If so, then using its-* for the attributes may follow the "DOM consistency" but not help ITS implementers.

In any case, it looks like we need to provide more guidance on how to use ITS in XHTML.

cheers,
-yves
Received on Thursday, 31 January 2013 17:13:41 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:32:26 UTC