W3C home > Mailing lists > Public > public-webapps@w3.org > October to December 2008

Re: [widgets] Trimming attribute values, a bad idea?

From: Marcos Caceres <marcosscaceres@gmail.com>
Date: Wed, 3 Dec 2008 11:42:14 +0000
Message-ID: <b21a10670812030342t2640ef6cic58333e6a96bb8a6@mail.gmail.com>
To: "Henri Sivonen" <hsivonen@iki.fi>
Cc: public-webapps <public-webapps@w3.org>

Hi Henri,
On Wed, Dec 3, 2008 at 8:14 AM, Henri Sivonen <hsivonen@iki.fi> wrote:
> On Dec 3, 2008, at 04:51, Marcos Caceres wrote:
>
>> So, for instance, <access network="     false    "> is ok.
>>
>> Does anyone see any problem with this? Should I revert back to being
>> strict and having UA do comparisons without trimming?
>
>
> Experience with HTML, SVG and MathML indicates that when trimming is
> specified, implementors don't always do it. My conclusion is that it's
> better to specify that keyword attribute values are compared without
> trimming. (Unless, of course, the attribute in question takes a
> whitespace-separated list of tokens.)
>

Ok. I've reverted back to no trimming.

Kind regards,
Marcos
-- 
Marcos Caceres
http://datadriven.com.au
Received on Wednesday, 3 December 2008 11:42:54 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 18:49:28 GMT