[html5] r3864 - [a] (0) Don't force people to use <b> for speakers in conversations.
whatwg at whatwg.org
whatwg at whatwg.org
Tue Sep 15 15:32:24 PDT 2009
Author: ianh
Date: 2009-09-15 15:32:23 -0700 (Tue, 15 Sep 2009)
New Revision: 3864
Modified:
index
source
Log:
[a] (0) Don't force people to use <b> for speakers in conversations.
Modified: index
===================================================================
--- index 2009-09-15 12:04:08 UTC (rev 3863)
+++ index 2009-09-15 22:32:23 UTC (rev 3864)
@@ -42887,24 +42887,24 @@
different players take turns in discourse.</p>
<p>Instead, authors are encouraged to mark up conversations using
- <code><a href=#the-p-element>p</a></code> elements, with the <code><a href=#the-b-element>b</a></code> element for marking
- up the speaker, optionally separated from their lines with
- punctuation. Paragraphs with their text wrapped in the
- <code><a href=#the-i-element>i</a></code> element can be used for marking up stage
- directions.</p>
+ <code><a href=#the-p-element>p</a></code> elements and punctuation. Authors who need to mark
+ the speaker for styling purposes are encouraged to use
+ <code><a href=#the-span-element>span</a></code> or <code><a href=#the-b-element>b</a></code>. Paragraphs with their text
+ wrapped in the <code><a href=#the-i-element>i</a></code> element can be used for marking up
+ stage directions.</p>
<div class=example>
<p>This example demonstrates this using an extract from Abbot and
Costello's famous sketch, <cite>Who's on first</cite>:</p>
-<pre><p> <b>Costello</b>: Look, you gotta first baseman?
-<p> <b>Abbott</b>: Certainly.
-<p> <b>Costello</b>: Who's playing first?
-<p> <b>Abbott</b>: That's right.
-<p> <i>Costello becomes exasperated.</i>
-<p> <b>Costello</b>: When you pay off the first baseman every month, who gets the money?
-<p> <b>Abbott</b>: Every dollar of it.</pre>
+<pre><p> Costello: Look, you gotta first baseman?
+<p> Abbott: Certainly.
+<p> Costello: Who's playing first?
+<p> Abbott: That's right.
+<p> Costello becomes exasperated.
+<p> Costello: When you pay off the first baseman every month, who gets the money?
+<p> Abbott: Every dollar of it.</pre>
</div>
@@ -42916,6 +42916,7 @@
<pre><p> <time>14:22</time> <b>egof</b> I'm not that nerdy, I've only seen 30% of the star trek episodes
<p> <time>14:23</time> <b>kaj</b> if you know what percentage of the star trek episodes you have seen, you are inarguably nerdy
<p> <time>14:23</time> <b>egof</b> it's unarguably
+<p> <time>14:23</time> <i>* kaj blinks</i>
<p> <time>14:24</time> <b>kaj</b> you are not helping your case</pre>
<!-- with thanks to http://bash.org/?854262 -->
@@ -42953,13 +42954,13 @@
dialogue, allowing the user to return to the location of the
footnote.</p>
- <pre><p> <b>Announcer</b>: Number 16: The <i>hand</i>.
-<p> <b>Interviewer</b>: Good evening. I have with me in the
-studio tonight Mr Norman St John Polevaulter, who for the past few
-years has been contradicting people. Mr Polevaulter, why
-<em>do</em> you contradict people?
-<p> <b>Norman</b>: I don't. <a href="#fn1" id="r1"><sup>[1]</sup></a>
-<p> <b>Interviewer</b>: You told me you did!
+ <pre><p> Announcer: Number 16: The <i>hand</i>.
+<p> Interviewer: Good evening. I have with me in the studio tonight
+Mr Norman St John Polevaulter, who for the past few years has been
+contradicting people. Mr Polevaulter, why <em>do</em> you
+contradict people?
+<p> Norman: I don't. <sup><a href="#fn1" id="r1">[1]</a></sup>
+<p> Interviewer: You told me you did!
<em>...</em>
<section>
<p id="fn1"><a href="#r1">[1]</a> This is, naturally, a lie,
@@ -42978,10 +42979,10 @@
<p>In this example, a sidebar is given after a dialogue, giving it
some context.</p>
- <pre><p> <b>Customer</b>: I will not buy this record, it is scratched.
-<p> <b>Shopkeeper</b>: I'm sorry?
-<p> <b>Customer</b>: I will not buy this record, it is scratched.
-<p> <b>Shopkeeper</b>: No no no, this's'a tobacconist's.
+ <pre><p> <span class="speaker">Customer</span>: I will not buy this record, it is scratched.
+<p> <span class="speaker">Shopkeeper</span>: I'm sorry?
+<p> <span class="speaker">Customer</span>: I will not buy this record, it is scratched.
+<p> <span class="speaker">Shopkeeper</span>: No no no, this's'a tobacconist's.
<aside>
<p>In 1970, the British Empire lay in ruins, and foreign
nationalists frequented the streets — many of them Hungarians
Modified: source
===================================================================
--- source 2009-09-15 12:04:08 UTC (rev 3863)
+++ source 2009-09-15 22:32:23 UTC (rev 3864)
@@ -47861,24 +47861,24 @@
different players take turns in discourse.</p>
<p>Instead, authors are encouraged to mark up conversations using
- <code>p</code> elements, with the <code>b</code> element for marking
- up the speaker, optionally separated from their lines with
- punctuation. Paragraphs with their text wrapped in the
- <code>i</code> element can be used for marking up stage
- directions.</p>
+ <code>p</code> elements and punctuation. Authors who need to mark
+ the speaker for styling purposes are encouraged to use
+ <code>span</code> or <code>b</code>. Paragraphs with their text
+ wrapped in the <code>i</code> element can be used for marking up
+ stage directions.</p>
<div class="example">
<p>This example demonstrates this using an extract from Abbot and
Costello's famous sketch, <cite>Who's on first</cite>:</p>
-<pre><p> <b>Costello</b>: Look, you gotta first baseman?
-<p> <b>Abbott</b>: Certainly.
-<p> <b>Costello</b>: Who's playing first?
-<p> <b>Abbott</b>: That's right.
-<p> <i>Costello becomes exasperated.</i>
-<p> <b>Costello</b>: When you pay off the first baseman every month, who gets the money?
-<p> <b>Abbott</b>: Every dollar of it.</pre>
+<pre><p> Costello: Look, you gotta first baseman?
+<p> Abbott: Certainly.
+<p> Costello: Who's playing first?
+<p> Abbott: That's right.
+<p> Costello becomes exasperated.
+<p> Costello: When you pay off the first baseman every month, who gets the money?
+<p> Abbott: Every dollar of it.</pre>
</div>
@@ -47890,6 +47890,7 @@
<pre><p> <time>14:22</time> <b>egof</b> I'm not that nerdy, I've only seen 30% of the star trek episodes
<p> <time>14:23</time> <b>kaj</b> if you know what percentage of the star trek episodes you have seen, you are inarguably nerdy
<p> <time>14:23</time> <b>egof</b> it's unarguably
+<p> <time>14:23</time> <i>* kaj blinks</i>
<p> <time>14:24</time> <b>kaj</b> you are not helping your case</pre>
<!-- with thanks to http://bash.org/?854262 -->
@@ -47932,13 +47933,13 @@
dialogue, allowing the user to return to the location of the
footnote.</p>
- <pre><p> <b>Announcer</b>: Number 16: The <i>hand</i>.
-<p> <b>Interviewer</b>: Good evening. I have with me in the
-studio tonight Mr Norman St John Polevaulter, who for the past few
-years has been contradicting people. Mr Polevaulter, why
-<em>do</em> you contradict people?
-<p> <b>Norman</b>: I don't. <a href="#fn1" id="r1"><sup>[1]</sup></a>
-<p> <b>Interviewer</b>: You told me you did!
+ <pre><p> Announcer: Number 16: The <i>hand</i>.
+<p> Interviewer: Good evening. I have with me in the studio tonight
+Mr Norman St John Polevaulter, who for the past few years has been
+contradicting people. Mr Polevaulter, why <em>do</em> you
+contradict people?
+<p> Norman: I don't. <sup><a href="#fn1" id="r1">[1]</a></sup>
+<p> Interviewer: You told me you did!
<em>...</em>
<section>
<p id="fn1"><a href="#r1">[1]</a> This is, naturally, a lie,
@@ -47959,10 +47960,10 @@
<p>In this example, a sidebar is given after a dialogue, giving it
some context.</p>
- <pre><p> <b>Customer</b>: I will not buy this record, it is scratched.
-<p> <b>Shopkeeper</b>: I'm sorry?
-<p> <b>Customer</b>: I will not buy this record, it is scratched.
-<p> <b>Shopkeeper</b>: No no no, this's'a tobacconist's.
+ <pre><p> <span class="speaker">Customer</span>: I will not buy this record, it is scratched.
+<p> <span class="speaker">Shopkeeper</span>: I'm sorry?
+<p> <span class="speaker">Customer</span>: I will not buy this record, it is scratched.
+<p> <span class="speaker">Shopkeeper</span>: No no no, this's'a tobacconist's.
<aside>
<p>In 1970, the British Empire lay in ruins, and foreign
nationalists frequented the streets — many of them Hungarians
More information about the Commit-Watchers
mailing list