- From: Michael Smith via cvs-syncmail <cvsmail@w3.org>
- Date: Tue, 13 Apr 2010 23:07:21 +0000
- To: public-html-commits@w3.org
Update of /sources/public/html5/spec-author-view In directory hutz:/tmp/cvs-serv12488 Modified Files: Overview.html spec.html text-level-semantics.html Log Message: Clarify <mark> vs syntax highlighting. (whatwg r5041) [updated by splitter] Index: text-level-semantics.html =================================================================== RCS file: /sources/public/html5/spec-author-view/text-level-semantics.html,v retrieving revision 1.587 retrieving revision 1.588 diff -u -d -r1.587 -r1.588 --- text-level-semantics.html 13 Apr 2010 07:47:43 -0000 1.587 +++ text-level-semantics.html 13 Apr 2010 23:07:19 -0000 1.588 @@ -1411,6 +1411,16 @@ i := <mark>1.1</mark>; end.</code></pre></pre> + <p>This is separate from <em>syntax highlighting</em>, for which + <code><a href="#the-span-element">span</a></code> is more appropriate. Combining both, one would + get:</p> + + <pre><p>The highlighted part below is where the error lies:</p> +<pre><code><span class=keyword>var</span> <span class=ident>i</span>: <span class=type>Integer</span>; +<span class=keyword>begin</span> + <span class=ident>i</span> := <span class=literal><mark>1.1</mark></span>; +<span class=keyword>end</span>.</code></pre></pre> + </div><div class="example"> <p>This is another example showing the use of <code><a href="#the-mark-element">mark</a></code> to Index: Overview.html =================================================================== RCS file: /sources/public/html5/spec-author-view/Overview.html,v retrieving revision 1.889 retrieving revision 1.890 diff -u -d -r1.889 -r1.890 --- Overview.html 13 Apr 2010 22:57:40 -0000 1.889 +++ Overview.html 13 Apr 2010 23:07:18 -0000 1.890 @@ -305,7 +305,7 @@ </dl><p>This specification is available in the following formats: <a href="spec.html">single page HTML</a>, <a href="Overview.html">multipage HTML</a>. -This is revision 1.4055. +This is revision 1.4056. </p> <p class="copyright"><a href="http://www.w3.org/Consortium/Legal/ipr-notice#Copyright">Copyright</a> © 2010 <a href="http://www.w3.org/"><abbr title="World Wide Index: spec.html =================================================================== RCS file: /sources/public/html5/spec-author-view/spec.html,v retrieving revision 1.897 retrieving revision 1.898 diff -u -d -r1.897 -r1.898 --- spec.html 13 Apr 2010 22:57:40 -0000 1.897 +++ spec.html 13 Apr 2010 23:07:18 -0000 1.898 @@ -303,7 +303,7 @@ </dl><p>This specification is available in the following formats: <a href=spec.html>single page HTML</a>, <a href=Overview.html>multipage HTML</a>. -This is revision 1.4055. +This is revision 1.4056. </p> <p class=copyright><a href=http://www.w3.org/Consortium/Legal/ipr-notice#Copyright>Copyright</a> © 2010 <a href=http://www.w3.org/><abbr title="World Wide @@ -9070,6 +9070,16 @@ i := <mark>1.1</mark>; end.</code></pre></pre> + <p>This is separate from <em>syntax highlighting</em>, for which + <code><a href=#the-span-element>span</a></code> is more appropriate. Combining both, one would + get:</p> + + <pre><p>The highlighted part below is where the error lies:</p> +<pre><code><span class=keyword>var</span> <span class=ident>i</span>: <span class=type>Integer</span>; +<span class=keyword>begin</span> + <span class=ident>i</span> := <span class=literal><mark>1.1</mark></span>; +<span class=keyword>end</span>.</code></pre></pre> + </div><div class=example> <p>This is another example showing the use of <code><a href=#the-mark-element>mark</a></code> to
Received on Tuesday, 13 April 2010 23:07:23 UTC