Skip to content

Commit

Permalink
[a] (0) Remove the association of <cite> and <blockquote>/<q>. (credi…
Browse files Browse the repository at this point in the history
…t: sk)

git-svn-id: http://svn.whatwg.org/webapps@2487 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Nov 30, 2008
1 parent 1ce5300 commit ac503c7
Show file tree
Hide file tree
Showing 2 changed files with 48 additions and 86 deletions.
67 changes: 24 additions & 43 deletions index
Expand Up @@ -6086,7 +6086,7 @@ http://software.hixie.ch/utilities/js/live-dom-viewer/?%3C%21DOCTYPE%20html%3E..
<p>For example, the following document is non-conforming, despite
being syntactically correct:</p>

<pre>&lt;!DOCTYPE html&gt;
<pre class=bad>&lt;!DOCTYPE html&gt;
&lt;html lang="en-GB"&gt;
&lt;head&gt; &lt;title&gt; Demonstration &lt;/title&gt; &lt;/head&gt;
&lt;body&gt;
Expand Down Expand Up @@ -11103,22 +11103,26 @@ a friend lost to the
is present, it must be a <a href=#valid-url>valid URL</a>. User agents should
allow users to follow such citation links.</p>

<p>If a <code><a href=#the-blockquote-element>blockquote</a></code> element is <a href=#preceded-or-followed>preceded or
followed</a> by a single <a href=#paragraph>paragraph</a> that contains a
single <code><a href=#the-cite-element>cite</a></code> element and that is itself not
<a href=#preceded-or-followed>preceded or followed</a> by another <code><a href=#the-blockquote-element>blockquote</a></code>
element and does not itself have a <code><a href=#the-q-element>q</a></code> element
descendant, then, the title of the work given by that
<code><a href=#the-cite-element>cite</a></code> element gives the source of the quotation
contained in the <code><a href=#the-blockquote-element>blockquote</a></code> element.</p>

<p>The <dfn id=dom-quote-cite title=dom-quote-cite><code>cite</code></dfn> DOM
attribute must <a href=#reflect>reflect</a> the element's <code title="">cite</code> content attribute.

<p class=note>The best way to represent a conversation is not with
the <code><a href=#the-cite-element>cite</a></code> and <code><a href=#the-blockquote-element>blockquote</a></code> elements, but with
the <code><a href=#the-dialog-element>dialog</a></code> element.</p>

<div class=example>

<p>This next example shows the use of <code><a href=#the-cite-element>cite</a></code> alongside
<code><a href=#the-blockquote-element>blockquote</a></code>:</p>

<pre>&lt;p&gt;His next piece was the aptly named &lt;cite&gt;Sonnet 130&lt;/cite&gt;:&lt;/p&gt;
&lt;blockquote cite="http://quotes.example.org/s/sonnet130.html"&gt;
&lt;p&gt;My mistress' eyes are nothing like the sun,&lt;br&gt;
Coral is far more red, than her lips red,&lt;br&gt;
...</pre>

</div>



<h4 id=the-ol-element><span class=secno>4.5.7 </span>The <dfn><code>ol</code></dfn> element</h4>
Expand Down Expand Up @@ -11791,13 +11795,6 @@ first matching case):&lt;/p&gt;
entirely optional; using explicit quotation punctuation without
<code><a href=#the-q-element>q</a></code> elements is just as correct.</p>

<p>If a <code><a href=#the-q-element>q</a></code> element is contained (directly or indirectly)
in a <a href=#paragraph>paragraph</a> that contains a single <code><a href=#the-cite-element>cite</a></code>
element and has no other <code><a href=#the-q-element>q</a></code> element descendants, then,
the title of the work given by that <code><a href=#the-cite-element>cite</a></code> element gives
the source of the quotation contained in the <code><a href=#the-q-element>q</a></code>
element.</p>

<div class=example>

<p>Here is a simple example of the use of the <code><a href=#the-q-element>q</a></code>
Expand Down Expand Up @@ -11973,23 +11970,6 @@ gossip column, maybe!&lt;/q&gt;.&lt;/p&gt;</pre>

</div>

<p class=note>The <code><a href=#the-cite-element>cite</a></code> element can apply to
<code><a href=#the-blockquote-element>blockquote</a></code> and <code><a href=#the-q-element>q</a></code> elements in certain cases
described in the definitions of those elements.</p>

<div class=example>

<p>This next example shows the use of <code><a href=#the-cite-element>cite</a></code> alongside
<code><a href=#the-blockquote-element>blockquote</a></code>:</p>

<pre>&lt;p&gt;His next piece was the aptly named &lt;cite&gt;Sonnet 130&lt;/cite&gt;:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;My mistress' eyes are nothing like the sun,&lt;br&gt;
Coral is far more red, than her lips red,
...</pre>

</div>


<h4 id=the-em-element><span class=secno>4.6.4 </span>The <dfn><code>em</code></dfn> element</h4>

Expand Down Expand Up @@ -53980,15 +53960,16 @@ interface <dfn id=timeouthandler>TimeoutHandler</dfn> {
Moonka, Ralf Stoltze, Ralph Giles, Raphael Champeimont, Rene
Saarsoo, Richard Ishida, Rimantas Liubertas, Robert Blaut, Robert
O'Callahan, Robert Sayre, Roman Ivanov, Ryan King, S. Mike Dierken,
Sam Ruby, Sam Weinig, Scott Hess, Sean Knapp, Shaun Inman, Silvia
Pfeiffer, Simon Pieters, Stefan Haustein, Steffen Meschkat, Stephen
Ma, Steve Faulkner, Steve Runyon, Steven Garrity, Stewart Brodie,
Stuart Parmenter, Sunava Dutta, Tantek &Ccedil;elik, Terrence Wood,
Thomas Broyer, Thomas O'Connor, Tim Altman, Tim Johansson, Travis
Leithead, Tyler Close, Vladimir Vuki&#263;evi&#263;, Wakaba,
Wayne Pollock, Wellington Fernando de Macedo, William Swanson,
Wolfram Kriesing, Yi-An Huang, and &Oslash;istein E. Andersen, for
their useful and substantial comments.</p>
Sam Kuper, Sam Ruby, Sam Weinig, Scott Hess, Sean Knapp, Shaun
Inman, Silvia Pfeiffer, Simon Pieters, Stefan Haustein, Steffen
Meschkat, Stephen Ma, Steve Faulkner, Steve Runyon, Steven Garrity,
Stewart Brodie, Stuart Parmenter, Sunava Dutta, Tantek &Ccedil;elik,
Terrence Wood, Thomas Broyer, Thomas O'Connor, Tim Altman, Tim
Johansson, Travis Leithead, Tyler Close, Vladimir
Vuki&#263;evi&#263;, Wakaba, Wayne Pollock, Wellington Fernando
de Macedo, William Swanson, Wolfram Kriesing, Yi-An Huang, and
&Oslash;istein E. Andersen, for their useful and substantial
comments.</p>

<p>Thanks also to everyone who has ever posted about HTML5 to their
blogs, public mailing lists, or forums, including the <a href=http://lists.w3.org/Archives/Public/public-html/>W3C
Expand Down
67 changes: 24 additions & 43 deletions source
Expand Up @@ -6138,7 +6138,7 @@ http://software.hixie.ch/utilities/js/live-dom-viewer/?%3C%21DOCTYPE%20html%3E..
<p>For example, the following document is non-conforming, despite
being syntactically correct:</p>

<pre>&lt;!DOCTYPE html&gt;
<pre class="bad">&lt;!DOCTYPE html&gt;
&lt;html lang="en-GB"&gt;
&lt;head&gt; &lt;title&gt; Demonstration &lt;/title&gt; &lt;/head&gt;
&lt;body&gt;
Expand Down Expand Up @@ -11811,15 +11811,6 @@ a friend lost to the
is present, it must be a <span>valid URL</span>. User agents should
allow users to follow such citation links.</p>

<p>If a <code>blockquote</code> element is <span>preceded or
followed</span> by a single <span>paragraph</span> that contains a
single <code>cite</code> element and that is itself not
<span>preceded or followed</span> by another <code>blockquote</code>
element and does not itself have a <code>q</code> element
descendant, then, the title of the work given by that
<code>cite</code> element gives the source of the quotation
contained in the <code>blockquote</code> element.</p>

<p>The <dfn title="dom-quote-cite"><code>cite</code></dfn> DOM
attribute must <span>reflect</span> the element's <code
title="">cite</code> content attribute.
Expand All @@ -11828,6 +11819,19 @@ a friend lost to the
the <code>cite</code> and <code>blockquote</code> elements, but with
the <code>dialog</code> element.</p>

<div class="example">

<p>This next example shows the use of <code>cite</code> alongside
<code>blockquote</code>:</p>

<pre>&lt;p>His next piece was the aptly named &lt;cite>Sonnet 130&lt;/cite>:&lt;/p>
&lt;blockquote cite="http://quotes.example.org/s/sonnet130.html">
&lt;p>My mistress' eyes are nothing like the sun,&lt;br>
Coral is far more red, than her lips red,&lt;br>
...</pre>

</div>



<h4>The <dfn><code>ol</code></dfn> element</h4>
Expand Down Expand Up @@ -12570,13 +12574,6 @@ first matching case):&lt;/p&gt;
entirely optional; using explicit quotation punctuation without
<code>q</code> elements is just as correct.</p>

<p>If a <code>q</code> element is contained (directly or indirectly)
in a <span>paragraph</span> that contains a single <code>cite</code>
element and has no other <code>q</code> element descendants, then,
the title of the work given by that <code>cite</code> element gives
the source of the quotation contained in the <code>q</code>
element.</p>

<div class="example">

<p>Here is a simple example of the use of the <code>q</code>
Expand Down Expand Up @@ -12755,23 +12752,6 @@ gossip column, maybe!&lt;/q>.&lt;/p></pre>

</div>

<p class="note">The <code>cite</code> element can apply to
<code>blockquote</code> and <code>q</code> elements in certain cases
described in the definitions of those elements.</p>

<div class="example">

<p>This next example shows the use of <code>cite</code> alongside
<code>blockquote</code>:</p>

<pre>&lt;p>His next piece was the aptly named &lt;cite>Sonnet 130&lt;/cite>:&lt;/p>
&lt;blockquote>
&lt;p>My mistress' eyes are nothing like the sun,&lt;br>
Coral is far more red, than her lips red,
...</pre>

</div>


<h4>The <dfn><code>em</code></dfn> element</h4>

Expand Down Expand Up @@ -58941,15 +58921,16 @@ interface <dfn>TimeoutHandler</dfn> {
Moonka, Ralf Stoltze, Ralph Giles, Raphael Champeimont, Rene
Saarsoo, Richard Ishida, Rimantas Liubertas, Robert Blaut, Robert
O'Callahan, Robert Sayre, Roman Ivanov, Ryan King, S. Mike Dierken,
Sam Ruby, Sam Weinig, Scott Hess, Sean Knapp, Shaun Inman, Silvia
Pfeiffer, Simon Pieters, Stefan Haustein, Steffen Meschkat, Stephen
Ma, Steve Faulkner, Steve Runyon, Steven Garrity, Stewart Brodie,
Stuart Parmenter, Sunava Dutta, Tantek &Ccedil;elik, Terrence Wood,
Thomas Broyer, Thomas O'Connor, Tim Altman, Tim Johansson, Travis
Leithead, Tyler Close, Vladimir Vuki&#x0107;evi&#x0107;, Wakaba,
Wayne Pollock, Wellington Fernando de Macedo, William Swanson,
Wolfram Kriesing, Yi-An Huang, and &Oslash;istein E. Andersen, for
their useful and substantial comments.</p>
Sam Kuper, Sam Ruby, Sam Weinig, Scott Hess, Sean Knapp, Shaun
Inman, Silvia Pfeiffer, Simon Pieters, Stefan Haustein, Steffen
Meschkat, Stephen Ma, Steve Faulkner, Steve Runyon, Steven Garrity,
Stewart Brodie, Stuart Parmenter, Sunava Dutta, Tantek &Ccedil;elik,
Terrence Wood, Thomas Broyer, Thomas O'Connor, Tim Altman, Tim
Johansson, Travis Leithead, Tyler Close, Vladimir
Vuki&#x0107;evi&#x0107;, Wakaba, Wayne Pollock, Wellington Fernando
de Macedo, William Swanson, Wolfram Kriesing, Yi-An Huang, and
&Oslash;istein E. Andersen, for their useful and substantial
comments.</p>

<p>Thanks also to everyone who has ever posted about HTML5 to their
blogs, public mailing lists, or forums, including the <a
Expand Down

0 comments on commit ac503c7

Please sign in to comment.