W3C home > Mailing lists > Public > whatwg@whatwg.org > December 2006

[whatwg] finding a number...

From: Michel Fortin <michel.fortin@michelf.com>
Date: Wed, 13 Dec 2006 07:24:16 -0500
Message-ID: <33EFE517-D5D4-402B-9435-85B36F6EC4DA@michelf.com>
Le 13 d?c. 2006 ? 6:14, Thomas Broyer a ?crit :

> Note that the <meter> description reads (as an "Authoring  
> requirements" !!!):
> "The recommended way of giving the value is to include it as contents
> of the element, either as two numbers (the higher number represents
> the maximum, the other number the current value), or as a percentage
> or similar (using one of the characters such as "%"), or as a
> fraction."
> And the <progress> description reads:
> "Instead of using the attributes, authors are recommended to simply
> include the current value and the maximum value inline as text inside
> the element."

I find this recommendation misguided too. In fact, it should say the  
contrary: it should say that it is recommended to also put the  
numbers in attributes for non-english documents because the parser is  
only capable to handle the english format. That may sound a little  
dumb, but that's because it is, and I fully support making the  
attributes mandatory.

At the very least, I think find-a-number should be limited to integer  
numbers. But even then it'll be limited to languages using our  
western digits and possibly not suitable for full internationalization.


Michel Fortin
michel.fortin at michelf.com
http://www.michelf.com/
Received on Wednesday, 13 December 2006 04:24:16 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:08:31 UTC