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

[whatwg] <progress> draft

From: Martin Atkins <mart@degeneration.co.uk>
Date: Tue, 28 Mar 2006 18:27:51 +0100
Message-ID: <44297217.7050409@degeneration.co.uk>
Ric Hardacre wrote:
> 
> i think it best to un-link the content and value as we cant predict all
> possible use cases, this
> 
> <meter value="0.48">48%</meter>
> 
> is a simple use case, where the content and value are obviously linked
> but this is not:
> 
> <h4>Uploading File</h4>
> <meter value="0.25">400k / 16,000k</meter>
> 

I agree with this.

Having the content be purely fullback, disregarded by a supporting UA,
means that there is the possibility for including some non-percentage
that is more useful when the information is presented in textual form.

It also simplifies the model:
* Ignore content completely.
* Mirror the content of the value attribute into the value JS property
and vice-versa.

This seems like another situation where there needs to be only one,
obvious way to do it. Aside from anything else, it makes it much easier
to figure out how it works by reading examples if all of the examples do
the same thing.
Received on Tuesday, 28 March 2006 09:27:51 UTC

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