W3C home > Mailing lists > Public > public-svg-wg@w3.org > October to December 2010

Re: case sensitivity of units in presentation attributes

From: Alex Danilo <alex@abbra.com>
Date: Mon, 01 Nov 2010 14:26:58 +1100
Message-Id: <Y8S6BL.UDK2KLOB58X2@abbra.com>
To: Cameron McCormack <cam@mcc.id.au>
Cc: public-svg-wg@w3.org
Hi Cam,


	I agree there's no point enforcing this, as we should
aim to be constent with CSS for this case (i.e. case insensitive).


--Original Message--:
>I am looking at types-basic-02-f.svg where one of the sub-tests checks
>that an attribute like stroke-width="20PX" has no effect, because the
>unit is in uppercase.  Compare this with style="stroke-width: 20PX",
>which would work.
>I am wondering if there really is any value in enforcing this.  It’s not
>like we will ever introduce units distinguished only by case.  It seems
>that for consistency with specifying CSS properties in style sheets that
>we should just allow these to be case insensitive.
>What do you all think?
>Cameron McCormack ≝ http://mcc.id.au/
Received on Monday, 1 November 2010 03:27:50 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:20:12 UTC