- From: poot <cvsmail@w3.org>
- Date: Thu, 31 Jul 2008 06:59:24 +0900 (JST)
- To: public-html-diffs@w3.org
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><aside class="advertising"> + <h1>Advertising</h1> + <a href="http://ad.example.com/?adid=1929&amp;pubid=1422"> + <section> + <h1>Mellblomatic 9000!</h1> + <p>Turn all your widgets into mellbloms!</p> + <p>Only $9.99 plus shipping and handling.</p> + </section> + </a> + <a href="http://ad.example.com/?adid=375&amp;pubid=1422"> + <section> + <h1>The Mellblom Browser</h1> + <p>Web browsing at the speed of light.</p> + <p>No other browser goes faster!</p> + </section> + </a> +</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