Bug 48613

Summary: <meter min=0 max=100 value=100> should be optimum.
Product: WebKit Reporter: Kent Tamura <tkent>
Component: FormsAssignee: Nobody <webkit-unassigned>
Severity: Normal CC: morrita, yael
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
URL: data:text/html,<meter min=0 max=100 value=100>
Description Flags
Patch tkent: review+

Description Kent Tamura 2010-10-28 20:33:42 PDT
<meter min=0 max=100 value=100>

With this element,  the current WebKit shows even-less-good gauge (red).  But the gauge should be "optimum" (green).

> If the optimum point is equal to the low boundary or the high boundary, or anywhere in between them, then
> the region between the low and high boundaries of the gauge must be treated as the optimum region, and
> the low and high parts, if any, must be treated as suboptimal. 

In this case, low=min=0, max=high=100, optimum is 50.  "between the low and hight boundaries" might be ambiguous about inclusive or exclusive.  But it should be inclusive because the value on the low value should be optimum if optimum==low.  Anyway, this sentence define we doesn't show even-less-good gauge in this case.
Comment 1 Hajime Morrita 2010-10-28 23:47:15 PDT
Created attachment 72296 [details]
Comment 2 Kent Tamura 2010-10-29 00:26:05 PDT
Comment on attachment 72296 [details]

Comment 3 Hajime Morrita 2010-10-29 02:47:23 PDT
Committed r70856: <http://trac.webkit.org/changeset/70856>
Comment 4 Yael 2010-10-29 05:44:44 PDT
(In reply to comment #3)
> Committed r70856: <http://trac.webkit.org/changeset/70856>

Thanks for taking care of this:-)