W3C home > Mailing lists > Public > whatwg@whatwg.org > October 2009

[whatwg] an odd example of the meter element

From: Futomi Hatano <info@html5.jp>
Date: Thu, 29 Oct 2009 18:48:17 +0900
Message-ID: <20091029183408.E22D.C8DE7135@html5.jp>
Hi, all

I found an odd example in the meter element section of the spec.
http://www.whatwg.org/specs/web-apps/current-work/multipage/text-level-semantics.html#the-meter-element

<meter>max: 100; current: 75</meter>

According to "steps for finding one or two numbers of a ratio in a string", does it means that the actual value is 100 and the max value is 75?
http://www.whatwg.org/specs/web-apps/current-work/multipage/common-microsyntaxes.html#steps-for-finding-one-or-two-numbers-of-a-ratio-in-a-string
If so, the gauges would end up looking maxed out.
Should it be as below?

<meter>current: 75; max: 100;</meter>

Thank you.

--
Futomi Hatano
www.html5.jp
Received on Thursday, 29 October 2009 02:48:17 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:18 UTC