[html5] r8276 - [t] (1) Mention that other specs may also list translatable attributes. Fixing h [...]

whatwg at whatwg.org whatwg at whatwg.org
Wed Nov 13 13:01:13 PST 2013


Author: ianh
Date: 2013-11-13 13:01:11 -0800 (Wed, 13 Nov 2013)
New Revision: 8276

Modified:
   complete.html
   index
   source
Log:
[t] (1) Mention that other specs may also list translatable attributes.
Fixing https://www.w3.org/Bugs/Public/show_bug.cgi?id=23337
Affected topics: HTML

Modified: complete.html
===================================================================
--- complete.html	2013-11-13 19:32:57 UTC (rev 8275)
+++ complete.html	2013-11-13 21:01:11 UTC (rev 8276)
@@ -10701,8 +10701,11 @@
    <li><code title=attr-style><a href=#the-style-attribute>style</a></code> on <a href=#html-elements>HTML elements</a> elements; must be parsed and recursively processed (e.g. for the values of 'content' properties)</li>
    <li><code title=attr-title><a href=#attr-title>title</a></code> on all <a href=#html-elements>HTML elements</a> elements</li>
    <!-- <input value> is excluded since we can't predict if it interferes with server-side processing -->
-  </ul><div class=impl>
+  </ul><p>Other specifications may define other attributes that are also <a href=#translatable-attributes>translatable
+  attributes</a>. For example, ARIA would define the <code title=attr-aria-label>aria-label</code> attribute as translatable.</p>
 
+  <div class=impl>
+
   <hr><p>The <dfn id=dom-translate title=dom-translate><code>translate</code></dfn> IDL attribute must, on getting,
   return true if the element's <a href=#translation-mode>translation mode</a> is <a href=#translate-enabled>translate-enabled</a>, and
   false otherwise. On setting, it must set the content attribute's value to "<code title="">yes</code>" if the new value is true, and set the content attribute's value to "<code title="">no</code>" otherwise.</p>

Modified: index
===================================================================
--- index	2013-11-13 19:32:57 UTC (rev 8275)
+++ index	2013-11-13 21:01:11 UTC (rev 8276)
@@ -10701,8 +10701,11 @@
    <li><code title=attr-style><a href=#the-style-attribute>style</a></code> on <a href=#html-elements>HTML elements</a> elements; must be parsed and recursively processed (e.g. for the values of 'content' properties)</li>
    <li><code title=attr-title><a href=#attr-title>title</a></code> on all <a href=#html-elements>HTML elements</a> elements</li>
    <!-- <input value> is excluded since we can't predict if it interferes with server-side processing -->
-  </ul><div class=impl>
+  </ul><p>Other specifications may define other attributes that are also <a href=#translatable-attributes>translatable
+  attributes</a>. For example, ARIA would define the <code title=attr-aria-label>aria-label</code> attribute as translatable.</p>
 
+  <div class=impl>
+
   <hr><p>The <dfn id=dom-translate title=dom-translate><code>translate</code></dfn> IDL attribute must, on getting,
   return true if the element's <a href=#translation-mode>translation mode</a> is <a href=#translate-enabled>translate-enabled</a>, and
   false otherwise. On setting, it must set the content attribute's value to "<code title="">yes</code>" if the new value is true, and set the content attribute's value to "<code title="">no</code>" otherwise.</p>

Modified: source
===================================================================
--- source	2013-11-13 19:32:57 UTC (rev 8275)
+++ source	2013-11-13 21:01:11 UTC (rev 8276)
@@ -10614,6 +10614,10 @@
    <!-- <input value> is excluded since we can't predict if it interferes with server-side processing -->
   </ul>
 
+  <p>Other specifications may define other attributes that are also <span>translatable
+  attributes</span>. For example, ARIA would define the <code
+  data-x="attr-aria-label">aria-label</code> attribute as translatable.</p>
+
   <div class="impl">
 
   <hr>




More information about the Commit-Watchers mailing list