html5/spec Overview.html,1.2959,1.2960

Update of /sources/public/html5/spec
In directory hutz:/tmp/cvs-serv6614

Modified Files:
	Overview.html 
Log Message:
<style> example. (whatwg r3790)

Index: Overview.html
===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.2959
retrieving revision 1.2960
diff -u -d -r1.2959 -r1.2960
--- Overview.html	10 Sep 2009 09:15:57 -0000	1.2959
+++ Overview.html	10 Sep 2009 09:35:07 -0000	1.2960
@@ -10265,7 +10265,30 @@
   behaves as defined <a href="#dom-linkstyle-disabled" title="dom-linkstyle-disabled">for the
   alternative style sheets DOM</a>.<p>The <code>LinkStyle</code> interface is also implemented by
   this element; the <a href="#styling">styling processing model</a> defines
-  how. <a href="#refsCSSOM">[CSSOM]</a><h4 id="styling"><span class="secno">4.2.7 </span><dfn title="styling processing model">Styling</dfn></h4><p class="XXX annotation"><b>Status: </b><i>Working draft</i><p>The <code><a href="#the-link-element">link</a></code> and <code><a href="#the-style-element">style</a></code> elements can provide
+  how. <a href="#refsCSSOM">[CSSOM]</a><div class="example">
+
+   <p>The following document has its emphasis styled as bright red
+   text rather than italics text, while leaving titles of works and
+   latin words in their default italics. It shows how using
+   appropriate elements enables easier restyling of documents.</p>
+
+   <pre>&lt;!DOCTYPE html&gt;
+&lt;html lang="en-US"&gt;
+ &lt;head&gt;
+  &lt;title&gt;My favorite book&lt;/title&gt;
+  &lt;style&gt;
+   body { color: black; background: white; }
+   em { font-style: normal; color: red; }
+  &lt;/style&gt;
+ &lt;/head&gt;
+ &lt;body&gt;
+  &lt;p&gt;My &lt;em&gt;favorite&lt;/em&gt; book of all time has &lt;em&gt;got&lt;/em&gt; to be
+  &lt;cite&gt;A Cat's Life&lt;/cite&gt;. It is a book by P. Rahmel that talks
+  about the &lt;i lang="la"&gt;Felis Catus&lt;/i&gt; in modern human society.&lt;/p&gt;
+ &lt;/body&gt;
+&lt;/html&gt;</pre>
+
+  </div><h4 id="styling"><span class="secno">4.2.7 </span><dfn title="styling processing model">Styling</dfn></h4><p class="XXX annotation"><b>Status: </b><i>Working draft</i><p>The <code><a href="#the-link-element">link</a></code> and <code><a href="#the-style-element">style</a></code> elements can provide
   styling information for the user agent to use when rendering the
   document. The DOM Styling specification specifies what styling
   information is to be used by the user agent and how it is to be

Received on Thursday, 10 September 2009 09:35:19 UTC