- From: poot <cvsmail@w3.org>
- Date: Wed, 17 Dec 2008 12:09:11 +0900 (JST)
- To: public-html-diffs@w3.org
Add another example for <var>. (whatwg r2540) textBaseline http://people.w3.org/mike/diffs/html5/spec/Overview.1.1711.html#dom-context-2d-textbaseline 4.6.14 The var element http://people.w3.org/mike/diffs/html5/spec/Overview.1.1711.html#the-var-element 4.6.15 The samp element http://people.w3.org/mike/diffs/html5/spec/Overview.1.1711.html#the-samp-element Index http://people.w3.org/mike/diffs/html5/spec/Overview.1.1711.html#index http://people.w3.org/mike/diffs/html5/spec/Overview.diff.html http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.1710&r2=1.1711&f=h http://html5.org/tools/web-apps-tracker?from=2539&to=2540 =================================================================== RCS file: /sources/public/html5/spec/Overview.html,v retrieving revision 1.1710 retrieving revision 1.1711 diff -u -d -r1.1710 -r1.1711 --- Overview.html 17 Dec 2008 00:30:50 -0000 1.1710 +++ Overview.html 17 Dec 2008 03:06:23 -0000 1.1711 @@ -11046,6 +11046,30 @@ <pre><p>If there are <var>n</var> pipes leading to the ice cream factory then I expect at <em>least</em> <var>n</var> flavours of ice cream to be available for purchase!</p></pre> + </div><p>For mathematics, in particular for anything beyond the simplest + of expressions, MathML is more appropriate. However, the + <code><a href=#the-var-element>var</a></code> element can still be used to refer to specific + variables that are then mentioned in MathML expressions.<div class=example> + + <p>In this example, Pythagoras' theorem is solved for the variable + <var title="">a</var>. The expression itself is marked up with + MathML, but the variable is mentioned in the figure's legend using + <code><a href=#the-var-element>var</a></code>.</p> + + <pre><figure> + <math> + <mi>a</mi> + <mo>=</mo> + <msqrt> + <msup><mi>b</mi><mn>2</mn></msup> + <mi>+</mi> + <msup><mi>c</mi><mn>2</mn></msup> + </msqrt> + </math> + <legend> Pythagoras' theorem solved for <var>a</var> </legend> +</figure></pre> + + </div><h4 id=the-samp-element><span class=secno>4.6.15 </span>The <dfn><code>samp</code></dfn> element</h4><dl class=element><dt>Categories</dt> <dd><a href=#phrasing-content-0>Phrasing content</a>.</dd> <dt>Contexts in which this element may be used:</dt> @@ -16385,7 +16409,7 @@ roughly at the top of the glyphs in a font, the hanging baseline is where some glyphs like आ are anchored, the middle is half-way between the top of the em square and the bottom of the em square, - the alphabetic baseline is where characters like Á, ÿ, + the alphabetic baseline is where characters like &#x00C1;, ÿ, f, and Ω are anchored, the ideographic baseline is where glyphs like 私 and 達 are anchored, and the bottom of the em square is roughly at the bottom of the glyphs in a @@ -44751,13 +44775,13 @@ van der Blonk, Mihai Şucan<!-- from ROBO Design -->, Mike Brown, Mike Dierken<!-- S. Mike Dierken -->, Mike Dixon, Mike Schinkel, Mike Shaver, Mikko Rantalainen, Neil Deakin, Neil Soiffer, - Olaf Hoffmann, Olav Junker Kjær, Oliver Hunt, Peter Karlsson, - Peter Kasting, Philip Jägenstedt, Philip Taylor, Philip - TAYLOR<!-- a different one -->, Rachid Finge, Rajas Moonka, Ralf - Stoltze, Ralph Giles, Raphael Champeimont, Rene Saarsoo, Richard - Ishida, Rimantas Liubertas, Robert Blaut, Robert O'Callahan, Robert - Sayre, Roman Ivanov, Ryan King, S. Mike Dierken, Sam Kuper, Sam - Ruby, Sam Weinig, Scott Hess, Sean Knapp, Shaun Inman, Silvia + Olaf Hoffmann, Olav Junker Kjær, Oliver Hunt, Ozob, Peter + Karlsson, Peter Kasting, Philip Jägenstedt, Philip Taylor, + Philip TAYLOR<!-- a different one -->, Rachid Finge, Rajas Moonka, + Ralf Stoltze, Ralph Giles, Raphael Champeimont, Rene Saarsoo, + Richard Ishida, Rimantas Liubertas, Robert Blaut, Robert O'Callahan, + Robert Sayre, Roman Ivanov, Ryan King, S. Mike Dierken, Sam Kuper, + Sam Ruby, Sam Weinig, Scott Hess, Sean Knapp, Shaun Inman, Silvia Pfeiffer, Simon Pieters, Stefan Haustein, Steffen Meschkat, Stephen Ma, Steve Faulkner, Steve Runyon, Steven Garrity, Stewart Brodie, Stuart Parmenter, Sunava Dutta, Tantek Çelik, Terrence Wood,
Received on Wednesday, 17 December 2008 03:09:47 UTC