html5/spec Overview.html,1.2956,1.2957

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

Modified Files:
	Overview.html 
Log Message:
<link> examples (whatwg r3787)

Index: Overview.html
===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.2956
retrieving revision 1.2957
diff -u -d -r1.2956 -r1.2957
--- Overview.html	10 Sep 2009 08:58:07 -0000	1.2956
+++ Overview.html	10 Sep 2009 09:05:47 -0000	1.2957
@@ -9461,7 +9461,36 @@
   always return false and does nothing on setting.</p><!-- that is
   normatively required in the definition of dom-linkstyle-disabled --><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="meta"><span class="secno">4.2.5 </span>The <dfn><code>meta</code></dfn> element</h4><p class="XXX annotation"><b>Status: </b><i>Working draft</i><dl class="element"><dt>Categories</dt>
+  how. <a href="#refsCSSOM">[CSSOM]</a><div class="example">
+
+   <p>Here, a set of <code><a href="#the-link-element">link</a></code> elements provide some style
+   sheets:</p>
+
+   <pre>&lt;!-- a persistent style sheet --&gt;
+&lt;link rel="stylesheet" href="default.css"&gt;
+
+&lt;!-- the preferred alternate style sheet --&gt;
+&lt;link rel="stylesheet" href="green.css" href="Green styles"&gt;
+
+&lt;!-- some alternate style sheets --&gt;
+&lt;link rel="alternate stylesheet" href="contrast.css" href="High contrast"&gt;
+&lt;link rel="alternate stylesheet" href="big.css" href="Big fonts"&gt;
+&lt;link rel="alternate stylesheet" href="wide.css" href="Wide screen"&gt;</pre>
+
+  </div><div class="example">
+
+   <p>The following example shows how you can specify versions of the
+   page that use alternative formats, are aimed at other languages,
+   and that are intended for other media:</p>
+
+   <pre>&lt;link rel=alternate href="/en/html" hreflang=en type=text/html title="English HTML"&gt;
+&lt;link rel=alternate href="/fr/html" hreflang=fr type=text/html title="French HTML"&gt;
+&lt;link rel=alternate href="/en/html" hreflang=en type=text/html media=print title="English HTML (for printing)"&gt;
+&lt;link rel=alternate href="/fr/html" hreflang=fr type=text/html media=print title="French HTML (for printing)"&gt;
+&lt;link rel=alternate href="/en/html" hreflang=en type=application/pdf title="English PDF"&gt;
+&lt;link rel=alternate href="/fr/html" hreflang=fr type=application/pdf title="French PDF"&gt;</pre>
+
+  </div><h4 id="meta"><span class="secno">4.2.5 </span>The <dfn><code>meta</code></dfn> element</h4><p class="XXX annotation"><b>Status: </b><i>Working draft</i><dl class="element"><dt>Categories</dt>
    <dd><a href="#metadata-content">Metadata content</a>.</dd>
    <dd>If the <code title="attr-itemprop"><a href="#names:-the-itemprop-attribute">itemprop</a></code> attribute is present: <a href="#flow-content">flow content</a>.</dd>
    <dd>If the <code title="attr-itemprop"><a href="#names:-the-itemprop-attribute">itemprop</a></code> attribute is present: <a href="#phrasing-content">phrasing content</a>.</dd>

Received on Thursday, 10 September 2009 09:06:02 UTC