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

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

From: Jim Jewett <jimjjewett@gmail.com>
Date: Wed, 2 Sep 2009 10:38:27 -0400
Message-ID: <fb6fbf560909020738i22991f9dg350f9e716f3fac38@mail.gmail.com>
To: public-html@w3.org
Cc: jonas@sicking.cc
Jonas Sicking wrote:

> What i was wondering was if you had examples of
> <meter>s other than the "X stars rating" example

I think meter should be an appropriate element for things like
"number of posts" or "member for X months".

Under the current definition, these wouldn't be appropriate,
as there is no *hard* maximum, but I think it would be reasonable
to change the element to accommodate them.

Er, well, unless it made styling an unsolvable problem.

Should meter have the ability to define multiple category breaks,
such as

    val < 0.5 ==> star0
    0.5 < val <1.5 ==> star1
    ...
   3.5 < val ==> star4

and to style based on the category?

-jJ
Received on Wednesday, 2 September 2009 14:39:28 GMT

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