W3C home > Mailing lists > Public > public-html@w3.org > August 2009

Re: <progress> element and attributes vs. content

From: Lachlan Hunt <lachlan.hunt@lachy.id.au>
Date: Fri, 14 Aug 2009 22:25:37 +0200
Message-ID: <4A85C841.3010900@lachy.id.au>
To: Adrian Bateman <adrianba@microsoft.com>
Cc: "public-html@w3.org" <public-html@w3.org>
Adrian Bateman wrote:
> On Friday, August 14, 2009 10:46 AM, Tab Atkins Jr. wrote:
>> On Fri, Aug 14, 2009 at 12:29 PM, Adrian Bateman<adrianba@microsoft.com>
>> wrote:
>>> I'm also concerned about how fragile the content parsing rules may turn
>>> out to be in practice.
>> This is anecdotal, but to me it appears that they're rather robust, at
>> least for English.
> I think this is my specific concern - how well does this work internationally?

The parsing algorithm only supports using the full stop as the decimal 
separator.  People from regions that normally use the comma as the 
decimal separator, and who wish to use that notation for fallback, need 
to provide the value in the attributes.

So to represent the value 75,3%, they would have to use:

<progress value="0.753">75,3%</progress>

Lachlan Hunt - Opera Software
Received on Friday, 14 August 2009 20:26:18 UTC

This archive was generated by hypermail 2.4.0 : Saturday, 9 October 2021 18:44:53 UTC