spec/Overview.html 1.1155 1963 experimentally try to allow <a> to conta

experimentally try to allow <a> to contain any flow content in certain
cases... (whatwg r1963)

a
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1155.html#a
q
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1155.html#q
omitted
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1155.html#omitted
4.5.2 The q element
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1155.html#the-q
relList
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1155.html#rellist0

http://people.w3.org/mike/diffs/html5/spec/Overview.diff.html
http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.1154&r2=1.1155&f=h
http://html5.org/tools/web-apps-tracker?from=1962&to=1963

===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.1154
retrieving revision 1.1155
diff -u -d -r1.1154 -r1.1155
--- Overview.html 30 Jul 2008 10:30:57 -0000 1.1154
+++ Overview.html 30 Jul 2008 21:56:09 -0000 1.1155
@@ -12569,7 +12569,7 @@
 
    <dt>Content model:
 
-   <dd><a href="#phrasing0">Phrasing content</a>, but there must be no <a
+   <dd><a href="#transparent0">Transparent</a>, but there must be no <a
     href="#interactive1">interactive content</a> descendant.
 
    <dt>Element-specific attributes:
@@ -12726,6 +12726,32 @@
    href="#reflect">reflect</a> the <code title=attr-hyperlink-rel><a
    href="#rel3">rel</a></code> content attribute.
 
+  <div class=example>
+   <p>The <code><a href="#a">a</a></code> element may be wrapped around
+    entire paragraphs, lists, tables, and so forth, even entire sections, so
+    long as there are no interactive elements within (e.g. buttons or other
+    links). This example shows how this can be used to make an entire
+    advertising block into a link:</p>
+
+   <pre>&lt;aside class="advertising">
+ &lt;h1>Advertising&lt;/h1>
+ &lt;a href="http://ad.example.com/?adid=1929&amp;amp;pubid=1422">
+  &lt;section>
+   &lt;h1>Mellblomatic 9000!&lt;/h1>
+   &lt;p>Turn all your widgets into mellbloms!&lt;/p>
+   &lt;p>Only $9.99 plus shipping and handling.&lt;/p>
+  &lt;/section>
+ &lt;/a>
+ &lt;a href="http://ad.example.com/?adid=375&amp;amp;pubid=1422">
+  &lt;section>
+   &lt;h1>The Mellblom Browser&lt;/h1>
+   &lt;p>Web browsing at the speed of light.&lt;/p>
+   &lt;p>No other browser goes faster!&lt;/p>
+  &lt;/section>
+ &lt;/a>
+&lt;/aside></pre>
+  </div>
+
   <h4 id=the-q><span class=secno>4.5.2 </span>The <dfn
    id=q><code>q</code></dfn> element</h4>
 
@@ -44317,7 +44343,8 @@
    <code><a href="#p">p</a></code>, <code><a href="#pre">pre</a></code>,
    <code><a href="#section">section</a></code>, <code><a
    href="#table">table</a></code>, or <code><a href="#ul">ul</a></code>,
-   element, or if there is no more content in the parent element.</p>
+   element, or if there is no more content in the parent element and the
+   parent element is not an <code><a href="#a">a</a></code> element.</p>
   <!-- </rt> -->
 
   <p>An <code><a href="#rt">rt</a></code> element's <span

Received on Wednesday, 30 July 2008 22:00:02 UTC