[whatwg] A tag for measurements / quantity?
jonas at sicking.cc
Wed Sep 2 18:33:01 PDT 2009
On Wed, Sep 2, 2009 at 6:49 PM, Ian Hickson<ian at hixie.ch> wrote:
> On Fri, 28 Aug 2009, Jonas Sicking wrote:
>> On Thu, Aug 27, 2009 at 5:30 PM, Ian Hickson<ian at hixie.ch> wrote:
>> > I can't imagine really seeing enough sites using this to make it worth
>> > it, but maybe our experience with <time> will show this kind of thing
>> > is used a lot.
>> > On Wed, 19 Aug 2009, Jeremy Keith wrote:
>> >> The measurement microformat will enable unambiguous description of
>> >> physical quantities and thus provide a solid ground for data sharing
>> >> and automation in many areas."
>> > This is begging the question. Just because a pattern occurs a lot
>> > doesn't mean that it should be marked up.
>> Seems like these two arguments can be made against <meter> and <dialog>
> Neither <dialog> nor <meter> were added because they are expected to be
> used in great numbers. Both were added to prevent another element from
> being _mis_used. (Specifically, <dialog> takes away from the risk of
> people marking up dialogs as association lists, and <meter> takes away
> from the risk of people marking up gauges as progress bars.)
While I can see the argument for <meter>, I'm not sure I see it with
<dialog>. First of all, as others have pointed out, <dialog> is
generally not feature-full enough to mark up dialogs. Second, given
that association lists already exist, we should be able to check
existing pages to see if people are abusing lists to mark up dialogs.
I started by looking at some sites with the Romeo and Juliet play:
<p> and <br>
One <ul><li>...</li></ul> for each quote.
I also looked for transcripts of the frost/nixon interview:
Basically uses one <ul><li>...</li></ul> for each quote.
I also looked at transcripts for the "Silly Job Interview" play by Monty Python:
(this site does use a list, but not for the actual dialog)
Uses a table with a <tr> for each line in the dialog.
(This is actually another monty python skit, but it turned up in my
search and I figured it didn't really matter)
Uses <p> (and <o:p>)
Finally I simply did a google search for "interview transcript":
So in this data, I found only two pages that use lists at all, and
none that used association lists. And even the two pages that did use
lists, didn't put the whole dialog into a single list, but rather one
list for each line. In one of the cases
(https://pol.moveon.org/archive/breakingthelaw_sub1.html) I can only
guess that the page is using <ul><li> in order to get bullet points
displayed, i.e. for layout reasons. In the other
I really can't figure out the intent.
In any case, this data does not seem to indicate that dialogs
erroneously being marked up as association lists is a problem. Does
anyone have data indicating otherwise?
More information about the whatwg