[whatwg] an odd example of the meter element

Futomi Hatano info at html5.jp
Thu Oct 29 02:48:17 PDT 2009


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



More information about the whatwg mailing list