W3C home > Mailing lists > Public > public-html-diffs@w3.org > July 2011

hixie: expand on <var>'s definition. (whatwg r6323)

From: poot <cvsmail@w3.org>
Date: Mon, 25 Jul 2011 15:02:38 -0400
To: public-html-diffs@w3.org
Message-Id: <E1QlQQI-0002DG-FE@jay.w3.org>
hixie: expand on <var>'s definition. (whatwg r6323)

http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.5053&r2=1.5054&f=h
http://html5.org/tools/web-apps-tracker?from=6322&to=6323

===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.5053
retrieving revision 1.5054
diff -u -d -r1.5053 -r1.5054
--- Overview.html	24 Jul 2011 02:28:17 -0000	1.5053
+++ Overview.html	25 Jul 2011 19:02:22 -0000	1.5054
@@ -318,7 +318,7 @@
 
    <h1>HTML5</h1>
    <h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2>
-   <h2 class="no-num no-toc" id="editor-s-draft-24-july-2011">Editor's Draft 24 July 2011</h2>
+   <h2 class="no-num no-toc" id="editor-s-draft-25-july-2011">Editor's Draft 25 July 2011</h2>
    <dl><dt>Latest Published Version:</dt>
     <dd><a href="http://www.w3.org/TR/html5/">http://www.w3.org/TR/html5/</a></dd>
     <dt>Latest Editor's Draft:</dt>
@@ -464,7 +464,7 @@
   Group</a> is the W3C working group responsible for this
   specification's progress along the W3C Recommendation
   track.
-  This specification is the 24 July 2011 Editor's Draft.
+  This specification is the 25 July 2011 Editor's Draft.
   </p><!-- UNDER NO CIRCUMSTANCES IS THE PRECEDING PARAGRAPH TO BE REMOVED OR EDITED WITHOUT TALKING TO IAN FIRST --><p>Work on this specification is also done at the <a href="http://www.whatwg.org/">WHATWG</a>. The W3C HTML working group
   actively pursues convergence with the WHATWG, as required by the <a href="http://www.w3.org/2007/03/HTML-WG-charter">W3C HTML working
   group charter</a>.</p><!-- UNDER NO CIRCUMSTANCES IS THE FOLLOWING PARAGRAPH TO BE REMOVED OR EDITED WITHOUT TALKING TO IAN FIRST --><p>This document was produced by a group operating under the <a href="http://www.w3.org/Consortium/Patent-Policy-20040205/">5
@@ -17610,10 +17610,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.<div class="example">
+  </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.<div class="example">
    <p>In the paragraph below, the letter "n" is being used as a
    variable in prose:</p>
    <pre>&lt;p&gt;If there are &lt;var&gt;n&lt;/var&gt; pipes leading to the ice
@@ -17645,6 +17646,16 @@
  &lt;/figcaption&gt;
 &lt;/figure&gt;</pre>
 
+  </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>&lt;p&gt;Then he turned to the blackboard and picked up the chalk. After a few moment's
+thought, he wrote &lt;var&gt;E&lt;/var&gt; = &lt;var&gt;m&lt;/var&gt; &lt;var&gt;c&lt;/var&gt;&lt;sup&gt;2&lt;/sup&gt;. The teacher
+looked pleased.&lt;/p&gt;</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>
    <dd><a href="#flow-content">Flow content</a>.</dd>
    <dd><a href="#phrasing-content">Phrasing content</a>.</dd>
Received on Monday, 25 July 2011 19:02:43 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 25 July 2011 19:02:44 GMT