W3C home > Mailing lists > Public > public-multilingualweb-lt-commits@w3.org > March 2013

CVS WWW/International/multilingualweb/lt/drafts/its20

From: CVS User fsasaki <cvsmail@w3.org>
Date: Thu, 21 Mar 2013 16:27:07 +0000
Message-Id: <E1UIiKZ-0005nT-9Q@gil.w3.org>
To: public-multilingualweb-lt-commits@w3.org
Update of /w3ccvs/WWW/International/multilingualweb/lt/drafts/its20
In directory gil:/tmp/cvs-serv22172

Modified Files:
	its20.html its20.odd 
Log Message:
Trying to implement http://lists.w3.org/Archives/Public/public-multilingualweb-lt/2013Mar/0166.html (part two, for html5)

--- /w3ccvs/WWW/International/multilingualweb/lt/drafts/its20/its20.html	2013/03/21 16:24:04	1.342
+++ /w3ccvs/WWW/International/multilingualweb/lt/drafts/its20/its20.html	2013/03/21 16:27:06	1.343
@@ -1345,7 +1345,7 @@
 <h3><a href="#contents" shape="rect"><img src="images/topOfPage.gif" align="right" height="26" width="26" title="Go to the table of contents." alt="Go to the table of contents."/></a><a name="html5-selection-precedence" id="html5-selection-precedence" shape="rect"/>6.4 Precedence between Selections</h3><p>The following precedence order is defined for selections of ITS information in various
             positions of HTML document (the first item in the list has the highest precedence):</p><ol class="depth1"><li><p>Implicit local selection in documents (<a href="#html5-local-attributes" shape="rect">ITS
                 local attributes</a> on a specific element)</p></li><li><p>Global selections in documents (using mechanism of <a href="#html5-external-global-rules" shape="rect">external global rules</a> or <a href="#html5-inline-global-rules" shape="rect">inline global rules</a>), to be processed in a document order, see <a class="section-ref" href="#selection-global" shape="rect">Section 5.2.1: Global, Rule-based Selection</a> for details.</p><div class="note"><p class="prefix"><b>Note:</b></p><p>ITS does not define precedence related to rules defined or linked based on
-                non-ITS mechanisms (such as processing instructions for linking rules). Selection via inheritance takes precedence over default values, see below item.</p></div></li><li><p>Selection via inherited values. This applies only to element nodes. The inheritance rules are laid out in a dedicated <a href="#datacategories-overview" shape="rect">datacategory overview table</a>, see column "<span class="quote">Inheritance for element nodes</span>". </p></li><li><p>Selections via defaults for data categories, see <a class="section-ref" href="#datacategories-defaults-etc" shape="rect">Section 8.1: Position, Defaults, Inheritance and Overriding of Data Categories</a></p></li></ol><p>In case of conflicts between global selections via multiple <a href="#selection-global" shape="rect">rules</a> elements, the last rule has higher
+                non-ITS mechanisms (such as processing instructions for linking rules). Selection via inheritance takes precedence over default values, see below item.</p></div></li><li><p>Selection via inherited values. This applies only to element nodes. The inheritance rules are laid out in a dedicated <a href="#datacategories-overview" shape="rect">datacategory overview table</a>, see column "<span class="quote">Inheritance for element nodes</span>". Selection via inheritance takes precedence over default values, see below item.</p></li><li><p>Selections via defaults for data categories, see <a class="section-ref" href="#datacategories-defaults-etc" shape="rect">Section 8.1: Position, Defaults, Inheritance and Overriding of Data Categories</a></p></li></ol><p>In case of conflicts between global selections via multiple <a href="#selection-global" shape="rect">rules</a> elements, the last rule has higher
             precedence.</p><p>The forehand mentioned <a href="#EX-translate-html5-global-1" shape="rect">Example 8</a> demonstrates the precedence: the <code>code</code> element with the <code class="its-attr-markup">translate</code> attribute set to yes has precedence over the global rule setting all <code>code</code> elements as untranslatable.</p></div></div><div class="div1">
 <h2><a href="#contents" shape="rect"><img src="images/topOfPage.gif" align="right" height="26" width="26" title="Go to the table of contents." alt="Go to the table of contents."/></a><a name="xhtml5-markup" id="xhtml5-markup" shape="rect"/>7 Using ITS Markup in XHTML</h2><p>XHTML documents aimed at public consumption by Web browsers <a href="#rfc2119" shape="rect">SHOULD</a> use the syntax described in <a class="section-ref" href="#html5-markup" shape="rect">Section 6: Using ITS Markup in HTML</a> in order to adhere to <a href="http://www.w3.org/TR/html-design-principles/#dom-consistency" shape="rect">DOM Consistency
             HTML Design Principle</a>.</p><div class="exampleOuter"><div class="exampleHeader"><a name="EX-xhtml-markup-1" id="EX-xhtml-markup-1" shape="rect"/>Example 29: Using ITS 2.0 markup in XHTML</div><p>This examples illustrates the use of ITS 2.0 local markup in XHTML.</p><div class="exampleInner"><pre xml:space="preserve"><strong class="hl-tag" style="color: blue">&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"&gt;</strong>
@@ -1538,7 +1538,8 @@
               the element, <em>including</em> child elements, but <em>excluding</em>
               attributes. The default is that elements are translatable and attributes are not.</p><p id="translate-global">GLOBAL: The <code class="its-elem-markup">translateRule</code> element contains the
               following:</p><ul><li><p>A required <code class="its-attr-markup">selector</code> attribute. It contains an <a href="#selectors" shape="rect">absolute selector</a> which selects the nodes to which this
-                rule applies.</p></li><li><p>A required <code class="its-attr-markup">translate</code> attribute with the value"yes" or "no".</p></li></ul><div class="exampleOuter"><div class="exampleHeader"><a name="EX-translate-selector-1" id="EX-translate-selector-1" shape="rect"/>Example 31: The <a href="#trans-datacat" shape="rect">Translate</a> data category expressed
+                rule applies.</p></li><li><p>A required <code class="its-attr-markup">translate</code> attribute with the value
+                  "yes" or "no".</p></li></ul><div class="exampleOuter"><div class="exampleHeader"><a name="EX-translate-selector-1" id="EX-translate-selector-1" shape="rect"/>Example 31: The <a href="#trans-datacat" shape="rect">Translate</a> data category expressed
                 globally</div><p>The <code class="its-elem-markup">translateRule</code> element specifies that the elements <code>code</code>
                 must not be translated.</p><div class="exampleInner"><pre xml:space="preserve"><strong class="hl-tag" style="color: #000096">&lt;its:rules</strong> <span class="hl-attribute" style="color: #F5844C">version</span>=<span class="hl-value" style="color: #993300">"2.0"</span> <span class="hl-attribute" style="color: #F5844C">xmlns:its</span>=<span class="hl-value" style="color: #993300">"http://www.w3.org/2005/11/its"</span><strong class="hl-tag" style="color: #000096">&gt;</strong>
   <strong class="hl-tag" style="color: #000096">&lt;its:translateRule</strong> <span class="hl-attribute" style="color: #F5844C">translate</span>=<span class="hl-value" style="color: #993300">"no"</span> <span class="hl-attribute" style="color: #F5844C">selector</span>=<span class="hl-value" style="color: #993300">"//code"</span><strong class="hl-tag" style="color: #000096">/&gt;</strong>
--- /w3ccvs/WWW/International/multilingualweb/lt/drafts/its20/its20.odd	2013/03/21 16:24:04	1.335
+++ /w3ccvs/WWW/International/multilingualweb/lt/drafts/its20/its20.odd	2013/03/21 16:27:07	1.336
@@ -1892,7 +1892,7 @@
               <note><p>ITS does not define precedence related to rules defined or linked based on
                 non-ITS mechanisms (such as processing instructions for linking rules). Selection via inheritance takes precedence over default values, see below item.</p></note>
             </item>
-            <item>Selection via inherited values. This applies only to element nodes. The inheritance rules are laid out in a dedicated <ref target="#datacategories-overview">datacategory overview table</ref>, see column <quote>Inheritance for element nodes</quote>. </item>
+            <item>Selection via inherited values. This applies only to element nodes. The inheritance rules are laid out in a dedicated <ref target="#datacategories-overview">datacategory overview table</ref>, see column <quote>Inheritance for element nodes</quote>. Selection via inheritance takes precedence over default values, see below item.</item>
             <item>Selections via defaults for data categories, see <ptr
                 target="#datacategories-defaults-etc" type="specref"/></item>
           </list>
Received on Thursday, 21 March 2013 16:27:08 UTC

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