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

[whatwg] <progress> draft

From: Ian Hickson <ian@hixie.ch>
Date: Thu, 23 Mar 2006 23:25:59 +0000 (UTC)
Message-ID: <Pine.LNX.4.62.0603232323100.315@dhalsim.dreamhost.com>

I've added <progress> to the draft too.

At the moment I support a range of "%" characters in the body of the 
element:

   <progress>5%</progress>
   <meter>50&x2030;</meter>

...etc. This seems to be a good thing to me. However, I currently also say 
that these work in the "value" attribute. I'm thinking that we should make 
"value" be purely a floating point number. This would dramatically 
simplify the processing model and would also let the DOM attributes simply 
reflect the content attributes -- right now I'm not sure how to do the DOM 
attribute of "value" because of this.

What do people think? Is it valuable to be able to do:

   <progress value="5%"/>

...instead of either of these:

   <progress value="0.05"/>
   <progress>5%</progress>

...?

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Thursday, 23 March 2006 15:25:59 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:58:45 UTC