[html5] r8674 - [e] (0) Fix recent checkins, including the one with a translation example Fixing [...]

whatwg at whatwg.org whatwg at whatwg.org
Thu Jun 12 09:37:40 PDT 2014


Author: ianh
Date: 2014-06-12 09:37:38 -0700 (Thu, 12 Jun 2014)
New Revision: 8674

Modified:
   complete.html
   index
   source
Log:
[e] (0) Fix recent checkins, including the one with a translation example
Fixing https://www.w3.org/Bugs/Public/show_bug.cgi?id=26069
Affected topics: HTML, Video and Audio

Modified: complete.html
===================================================================
--- complete.html	2014-06-11 22:25:33 UTC (rev 8673)
+++ complete.html	2014-06-12 16:37:38 UTC (rev 8674)
@@ -290,7 +290,7 @@
   </script><body onload=init()>
   <header class="head with-buttons" id=head><p><a href=//www.whatwg.org/ class=logo><img width=101 src=/images/logo alt=WHATWG height=101></a></p>
    <hgroup><h1 class=allcaps>HTML</h1>
-    <h2 class="no-num no-toc">Living Standard — Last Updated 11 June 2014</h2>
+    <h2 class="no-num no-toc">Living Standard — Last Updated 12 June 2014</h2>
    </hgroup><div>
     <div>
      <a href=//whatwg.org/html><span><strong>Multipage Version</strong> <code>whatwg.org/html</code></span></a>
@@ -11187,11 +11187,13 @@
    that they are intending to use:</p>
 
    <pre><p>The third <span data-mytrans-de="Anspruch">claim</span> covers the case of <span
-data-mytrans-all="HTML">HTML</span> markup.</p></pre>
+translate="no">HTML</span> markup.</p></pre>
 
-   <p>(In this example, the "<code title="">data-mytrans-de</code>" attribute gives specific text
-   for the MyTrans product to use when translating the phrase "claim" to German, and the "<code title="">data-mytrans-all</code>" attribute gives tells it that in all languages, "HTML" is to
-   remain unchanged.)</p>
+   <p>In this example, the "<code title="">data-mytrans-de</code>" attribute gives specific text
+   for the MyTrans product to use when translating the phrase "claim" to German. However, the
+   standard <code title=attr-translate><a href=#attr-translate>translate</a></code> attribute is used to tell it that in all
+   languages, "HTML" is to remain unchanged. When a standard attribute is available, there is no
+   need for a <a href=#custom-data-attribute>custom data attribute</a> to be used.</p>
 
   </div>
 
@@ -25585,7 +25587,7 @@
   <a href=#media-element>media element</a>, the video data of the <a href=#media-resource>media resource</a> is only that of the
   currently selected track (if any) as given by the element's <code title=dom-media-videoTracks><a href=#dom-media-videotracks>videoTracks</a></code> attribute when the <a href=#event-loop>event loop</a> last reached step 1, and the audio data of the <a href=#media-resource>media
   resource</a> is the result of mixing all the currently enabled tracks (if any) given by the
-  element's <code title=dom-media-audioTracks><a href=#dom-media-audiotracks>audioTracks</a></code> attribute when the the <a href=#event-loop>event loop</a> last reached step 1.</p>
+  element's <code title=dom-media-audioTracks><a href=#dom-media-audiotracks>audioTracks</a></code> attribute when the <a href=#event-loop>event loop</a> last reached step 1.</p>
 
   <p class=note>Both <code><a href=#the-audio-element>audio</a></code> and <code><a href=#the-video-element>video</a></code> elements can be used for both audio
   and video. The main difference between the two is simply that the <code><a href=#the-audio-element>audio</a></code> element has

Modified: index
===================================================================
--- index	2014-06-11 22:25:33 UTC (rev 8673)
+++ index	2014-06-12 16:37:38 UTC (rev 8674)
@@ -290,7 +290,7 @@
   </script><body onload=init()>
   <header class="head with-buttons" id=head><p><a href=//www.whatwg.org/ class=logo><img width=101 src=/images/logo alt=WHATWG height=101></a></p>
    <hgroup><h1 class=allcaps>HTML</h1>
-    <h2 class="no-num no-toc">Living Standard — Last Updated 11 June 2014</h2>
+    <h2 class="no-num no-toc">Living Standard — Last Updated 12 June 2014</h2>
    </hgroup><div>
     <div>
      <a href=//whatwg.org/html><span><strong>Multipage Version</strong> <code>whatwg.org/html</code></span></a>
@@ -11187,11 +11187,13 @@
    that they are intending to use:</p>
 
    <pre><p>The third <span data-mytrans-de="Anspruch">claim</span> covers the case of <span
-data-mytrans-all="HTML">HTML</span> markup.</p></pre>
+translate="no">HTML</span> markup.</p></pre>
 
-   <p>(In this example, the "<code title="">data-mytrans-de</code>" attribute gives specific text
-   for the MyTrans product to use when translating the phrase "claim" to German, and the "<code title="">data-mytrans-all</code>" attribute gives tells it that in all languages, "HTML" is to
-   remain unchanged.)</p>
+   <p>In this example, the "<code title="">data-mytrans-de</code>" attribute gives specific text
+   for the MyTrans product to use when translating the phrase "claim" to German. However, the
+   standard <code title=attr-translate><a href=#attr-translate>translate</a></code> attribute is used to tell it that in all
+   languages, "HTML" is to remain unchanged. When a standard attribute is available, there is no
+   need for a <a href=#custom-data-attribute>custom data attribute</a> to be used.</p>
 
   </div>
 
@@ -25585,7 +25587,7 @@
   <a href=#media-element>media element</a>, the video data of the <a href=#media-resource>media resource</a> is only that of the
   currently selected track (if any) as given by the element's <code title=dom-media-videoTracks><a href=#dom-media-videotracks>videoTracks</a></code> attribute when the <a href=#event-loop>event loop</a> last reached step 1, and the audio data of the <a href=#media-resource>media
   resource</a> is the result of mixing all the currently enabled tracks (if any) given by the
-  element's <code title=dom-media-audioTracks><a href=#dom-media-audiotracks>audioTracks</a></code> attribute when the the <a href=#event-loop>event loop</a> last reached step 1.</p>
+  element's <code title=dom-media-audioTracks><a href=#dom-media-audiotracks>audioTracks</a></code> attribute when the <a href=#event-loop>event loop</a> last reached step 1.</p>
 
   <p class=note>Both <code><a href=#the-audio-element>audio</a></code> and <code><a href=#the-video-element>video</a></code> elements can be used for both audio
   and video. The main difference between the two is simply that the <code><a href=#the-audio-element>audio</a></code> element has

Modified: source
===================================================================
--- source	2014-06-11 22:25:33 UTC (rev 8673)
+++ source	2014-06-12 16:37:38 UTC (rev 8674)
@@ -11172,12 +11172,13 @@
    that they are intending to use:</p>
 
    <pre><p>The third <span data-mytrans-de="Anspruch">claim</span> covers the case of <span
-data-mytrans-all="HTML">HTML</span> markup.</p></pre>
+translate="no">HTML</span> markup.</p></pre>
 
-   <p>(In this example, the "<code data-x="">data-mytrans-de</code>" attribute gives specific text
-   for the MyTrans product to use when translating the phrase "claim" to German, and the "<code
-   data-x="">data-mytrans-all</code>" attribute gives tells it that in all languages, "HTML" is to
-   remain unchanged.)</p>
+   <p>In this example, the "<code data-x="">data-mytrans-de</code>" attribute gives specific text
+   for the MyTrans product to use when translating the phrase "claim" to German. However, the
+   standard <code data-x="attr-translate">translate</code> attribute is used to tell it that in all
+   languages, "HTML" is to remain unchanged. When a standard attribute is available, there is no
+   need for a <span>custom data attribute</span> to be used.</p>
 
   </div>
 
@@ -25852,7 +25853,7 @@
   currently selected track (if any) as given by the element's <code
   data-x="dom-media-videoTracks">videoTracks</code> attribute when the <span>event loop</span> last reached step 1, and the audio data of the <span>media
   resource</span> is the result of mixing all the currently enabled tracks (if any) given by the
-  element's <code data-x="dom-media-audioTracks">audioTracks</code> attribute when the the <span>event loop</span> last reached step 1.</p>
+  element's <code data-x="dom-media-audioTracks">audioTracks</code> attribute when the <span>event loop</span> last reached step 1.</p>
 
   <p class="note">Both <code>audio</code> and <code>video</code> elements can be used for both audio
   and video. The main difference between the two is simply that the <code>audio</code> element has



More information about the Commit-Watchers mailing list