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

Re: <meter> and <progress> (was RE: Implementor feedback on new elements in HTML5)

From: Thomas Broyer <t.broyer@ltgt.net>
Date: Wed, 2 Sep 2009 10:50:15 +0200
Message-ID: <a9699fd20909020150n1c9094e1m76fc99f54c3c7a7c@mail.gmail.com>
To: HTML WG <public-html@w3.org>
On Wed, Sep 2, 2009 at 10:21 AM, Leif Halvard Silli wrote:
> Does it has to "look like a meter"? I am little uncertain whether <meter>
> represent a "super simple graphs" or what ...

No (my own opinion); meter marks up a value within a range of accepted
values, however it is rendered. Though those "super simple graphs" are
good candidates to use <meter> instead of a series a <div>s and
<spans> and sometime <img>s, whereas authors probably won't update
their "text only" (not marked-up) numbers to use a <meter> as they
won't feel the need (particularly if some UAs start replacing their
text with a "super simple graph"!)

>>> A fine point is that if one uses it to say e.g. <meter>50 degrees
>>> Celsius</meter>, without indicating a temperature range, then it
>>> represent
>>> wrong use - many will get that wrong, probably.
>>> A potential good effect is that many values might get easier to grasp if
>>> they are delivered as a meter. For instance, the phrase "50 degrees
>>> Celsius"
>>> could get a red color, to indicate that it is hot.
>> Ooh, temperature is an interesting use.
> So, if you accept that usecase description, then I think we can conclude
> that the words in a tag cloud represent meters - typically the font-size of
> each word represents the relative "hotness" of each tag.

No, because the tag itself isn't "the relative hotness". If the tag
were preceeded/followed by some "hotness" indication (other than how
it is rendered re. font-size and/or fore-color "brightness"), then
<meter> would be suitable to represent this information.

(as said by Jonas, the temperature use case doesn't comply with
<meter>'s requirements, unless in a particular context the author
defines a lower and upper bound; for example, when listing current
temperatures of several cities, <meter> could be used with the lower,
resp. higher, bound being the lowest, resp. highest, current measured
temperature; to make it easier to compare city temperatures and for
example immediately if where you live will be hotter than where your
parents live)

Thomas Broyer
Received on Wednesday, 2 September 2009 08:51:00 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 16:25:36 UTC