W3C home > Mailing lists > Public > public-html@w3.org > September 2009

Re: [Bug 7508] <dialog> needs a way to add non-speech related information

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Wed, 9 Sep 2009 08:49:23 -0500
Message-ID: <dd0fbad0909090649w31acbe06r857b76c06cfa440@mail.gmail.com>
To: Stephen Stewart <carisenda@gmail.com>
Cc: bugzilla@wiggum.w3.org, public-html@w3.org
On Wed, Sep 9, 2009 at 7:49 AM, Stephen Stewart<carisenda@gmail.com> wrote:
> Some examples of chat on the web can be found at:
>
> http://projectcerbera.com/!dev/irc-logs/day
> http://krijnhoetmer.nl/irc-logs/whatwg/20090909
>
> And also http://campfirenow.com/, which I don't think I can link to but
> here's a sample of the chat HTML:
>
> <tr class="enter_message message user_451844" id="message_157661845"
> style=""> <td class="person">Stephen S.</td> <td class="body"><div>has
> entered the room</div></td> </tr> <tr class="timestamp_message message"
> id="message_157661956" style=""> <td class="date"><span
> style="display:none">Sep 9</span></td> <td class="time"><div> 1:30
> PM</div></td> </tr> <tr class="text_message message user_451844 you"
> id="message_157661957" style=""> <td class="person"><span>Stephen
> S.</span></td> <td class="body"><div>Testing, 1,2,3. Hello W3C.</div></td>
> </tr>  <tr class="kick_message message user_451844" id="message_157661989"
> style=""> <td class="person">Stephen S.</td> <td class="body"><div>has left
> the room </div></td> </tr>
> Mibbit.com similarly uses a <table> but I think one example with <table> is
> enough.

For further reference, this is the markup used for the internal
chatroom I built for use at my work:
<LI class="normal-message"><SPAN class="timestamp">[8:02AM]</SPAN>
<SPAN class="username">Juan</SPAN>: <SPAN class="message">@Ryanne: ok,
i need to reset her integrity so the message wont appear when
launching gf</SPAN></LI>

I had too much structure to feel right using a simple <dl> (or
<dialog>) as it stands.

~TJ
Received on Wednesday, 9 September 2009 13:50:25 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 9 May 2012 00:16:48 GMT