[html5] r6323 - [e] (0) expand on <var>'s definition.

whatwg at whatwg.org whatwg at whatwg.org
Mon Jul 25 12:02:17 PDT 2011


Author: ianh
Date: 2011-07-25 12:02:15 -0700 (Mon, 25 Jul 2011)
New Revision: 6323

Modified:
   complete.html
   index
   source
Log:
[e] (0) expand on <var>'s definition.

Modified: complete.html
===================================================================
--- complete.html	2011-07-24 02:28:08 UTC (rev 6322)
+++ complete.html	2011-07-25 19:02:15 UTC (rev 6323)
@@ -239,7 +239,7 @@
 
   <header class=head id=head><p><a class=logo href=http://www.whatwg.org/><img alt=WHATWG height=101 src=/images/logo width=101></a></p>
    <hgroup><h1>Web Applications 1.0</h1>
-    <h2 class="no-num no-toc">Living Standard — Last Updated 24 July 2011</h2>
+    <h2 class="no-num no-toc">Living Standard — Last Updated 25 July 2011</h2>
    </hgroup><dl><dt>Multiple-page version:</dt>
     <dd><a href=http://www.whatwg.org/specs/web-apps/current-work/complete/>http://www.whatwg.org/specs/web-apps/current-work/complete/</a></dd>
     <dt>One-page version:</dt>
@@ -21175,10 +21175,11 @@
    <dd><a href=#global-attributes>Global attributes</a></dd>
    <dt>DOM interface:</dt>
    <dd>Uses <code><a href=#htmlelement>HTMLElement</a></code>.</dd>
-  </dl><p>The <code><a href=#the-var-element>var</a></code> element <a href=#represents>represents</a> a
-  variable. This could be an actual variable in a mathematical
-  expression or programming context, or it could just be a term used
-  as a placeholder in prose.</p>
+  </dl><p>The <code><a href=#the-var-element>var</a></code> element <a href=#represents>represents</a> a variable.
+  This could be an actual variable in a mathematical expression or
+  programming context, an identifier representing a constant, a
+  function parameter, or just be a term used as a placeholder in
+  prose.</p>
 
   <div class=example>
    <p>In the paragraph below, the letter "n" is being used as a
@@ -21218,7 +21219,19 @@
 
   </div>
 
+  <div class=example>
 
+   <p>Here, the equation describing mass-energy equivalence is used in
+   a sentence, and the <code><a href=#the-var-element>var</a></code> element is used to mark the
+   variables and constants in that equation:</p>
+
+   <pre><p>Then he turned to the blackboard and picked up the chalk. After a few moment's
+thought, he wrote <var>E</var> = <var>m</var> <var>c</var><sup>2</sup>. The teacher
+looked pleased.</p></pre>
+
+  </div>
+
+
   <h4 id=the-samp-element><span class=secno>4.6.13 </span>The <dfn><code>samp</code></dfn> element</h4>
 
   <dl class=element><dt>Categories</dt>

Modified: index
===================================================================
--- index	2011-07-24 02:28:08 UTC (rev 6322)
+++ index	2011-07-25 19:02:15 UTC (rev 6323)
@@ -243,7 +243,7 @@
 
   <header class=head id=head><p><a class=logo href=http://www.whatwg.org/><img alt=WHATWG height=101 src=/images/logo width=101></a></p>
    <hgroup><h1 class=allcaps>HTML</h1>
-    <h2 class="no-num no-toc">Living Standard — Last Updated 24 July 2011</h2>
+    <h2 class="no-num no-toc">Living Standard — Last Updated 25 July 2011</h2>
    </hgroup><dl><dt><strong>Web developer edition</strong></dt>
     <dd><strong><a href=http://developers.whatwg.org/>http://developers.whatwg.org/</a></strong></dd>
     <dt>Multiple-page version:</dt>
@@ -21044,10 +21044,11 @@
    <dd><a href=#global-attributes>Global attributes</a></dd>
    <dt>DOM interface:</dt>
    <dd>Uses <code><a href=#htmlelement>HTMLElement</a></code>.</dd>
-  </dl><p>The <code><a href=#the-var-element>var</a></code> element <a href=#represents>represents</a> a
-  variable. This could be an actual variable in a mathematical
-  expression or programming context, or it could just be a term used
-  as a placeholder in prose.</p>
+  </dl><p>The <code><a href=#the-var-element>var</a></code> element <a href=#represents>represents</a> a variable.
+  This could be an actual variable in a mathematical expression or
+  programming context, an identifier representing a constant, a
+  function parameter, or just be a term used as a placeholder in
+  prose.</p>
 
   <div class=example>
    <p>In the paragraph below, the letter "n" is being used as a
@@ -21087,7 +21088,19 @@
 
   </div>
 
+  <div class=example>
 
+   <p>Here, the equation describing mass-energy equivalence is used in
+   a sentence, and the <code><a href=#the-var-element>var</a></code> element is used to mark the
+   variables and constants in that equation:</p>
+
+   <pre><p>Then he turned to the blackboard and picked up the chalk. After a few moment's
+thought, he wrote <var>E</var> = <var>m</var> <var>c</var><sup>2</sup>. The teacher
+looked pleased.</p></pre>
+
+  </div>
+
+
   <h4 id=the-samp-element><span class=secno>4.6.13 </span>The <dfn><code>samp</code></dfn> element</h4>
 
   <dl class=element><dt>Categories</dt>

Modified: source
===================================================================
--- source	2011-07-24 02:28:08 UTC (rev 6322)
+++ source	2011-07-25 19:02:15 UTC (rev 6323)
@@ -22698,10 +22698,11 @@
    <dd>Uses <code>HTMLElement</code>.</dd>
   </dl>
 
-  <p>The <code>var</code> element <span>represents</span> a
-  variable. This could be an actual variable in a mathematical
-  expression or programming context, or it could just be a term used
-  as a placeholder in prose.</p>
+  <p>The <code>var</code> element <span>represents</span> a variable.
+  This could be an actual variable in a mathematical expression or
+  programming context, an identifier representing a constant, a
+  function parameter, or just be a term used as a placeholder in
+  prose.</p>
 
   <div class="example">
    <p>In the paragraph below, the letter "n" is being used as a
@@ -22741,7 +22742,19 @@
 
   </div>
 
+  <div class="example">
 
+   <p>Here, the equation describing mass-energy equivalence is used in
+   a sentence, and the <code>var</code> element is used to mark the
+   variables and constants in that equation:</p>
+
+   <pre><p>Then he turned to the blackboard and picked up the chalk. After a few moment's
+thought, he wrote <var>E</var> = <var>m</var> <var>c</var><sup>2</sup>. The teacher
+looked pleased.</p></pre>
+
+  </div>
+
+
   <h4>The <dfn><code>samp</code></dfn> element</h4>
 
   <dl class="element">




More information about the Commit-Watchers mailing list