html5/spec-author-view Overview.html,1.889,1.890 spec.html,1.897,1.898 text-level-semantics.html,1.587,1.588

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 := &lt;mark&gt;1.1&lt;/mark&gt;;
 end.&lt;/code&gt;&lt;/pre&gt;</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>&lt;p&gt;The highlighted part below is where the error lies:&lt;/p&gt;
+&lt;pre&gt;&lt;code&gt;&lt;span class=keyword&gt;var&lt;/span&gt; &lt;span class=ident&gt;i&lt;/span&gt;: &lt;span class=type&gt;Integer&lt;/span&gt;;
+&lt;span class=keyword&gt;begin&lt;/span&gt;
+   &lt;span class=ident&gt;i&lt;/span&gt; := &lt;span class=literal&gt;&lt;mark&gt;1.1&lt;/mark&gt;&lt;/span&gt;;
+&lt;span class=keyword&gt;end&lt;/span&gt;.&lt;/code&gt;&lt;/pre&gt;</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>
    &#169; 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 := &lt;mark&gt;1.1&lt;/mark&gt;;
 end.&lt;/code&gt;&lt;/pre&gt;</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>&lt;p&gt;The highlighted part below is where the error lies:&lt;/p&gt;
+&lt;pre&gt;&lt;code&gt;&lt;span class=keyword&gt;var&lt;/span&gt; &lt;span class=ident&gt;i&lt;/span&gt;: &lt;span class=type&gt;Integer&lt;/span&gt;;
+&lt;span class=keyword&gt;begin&lt;/span&gt;
+   &lt;span class=ident&gt;i&lt;/span&gt; := &lt;span class=literal&gt;&lt;mark&gt;1.1&lt;/mark&gt;&lt;/span&gt;;
+&lt;span class=keyword&gt;end&lt;/span&gt;.&lt;/code&gt;&lt;/pre&gt;</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