W3C home > Mailing lists > Public > public-html@w3.org > November 2008

Re: Ratios Do Not Return Errors (part of detailed review of common microsyntaxes)

From: Ian Hickson <ian@hixie.ch>
Date: Sun, 30 Nov 2008 07:14:17 +0000 (UTC)
To: Adam Barth <w3c@adambarth.com>
Cc: Geoffrey Sneddon <foolistbar@googlemail.com>, Smylers <Smylers@stripey.com>, public-html@w3.org
Message-ID: <Pine.LNX.4.62.0811300713380.17414@hixie.dreamhostps.com>
On Wed, 7 May 2008, Adam Barth wrote:
>
> Hi Ian,
> 
> I think there is a bug in the processing rules for the <meter>
> element.  The spec says:
> 
> "All of which should result in the following inequalities all being true:
> [...]
> minimum value  low boundary  high boundary  maximum value"
> 
> but it seems like <meter min=5 max=10 low=12 high=3 value=7> will result in
> 
> min=5
> max=10
> low=12
> high=3
> value=7
> 
> The issue is that the low boundary computation doesn't check against
> max and the high boundary computation doesn't check against min or
> low.

Fixed, I hope.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Sunday, 30 November 2008 07:14:57 UTC

This archive was generated by hypermail 2.3.1 : Monday, 29 September 2014 09:38:59 UTC