W3C home > Mailing lists > Public > www-style@w3.org > August 2010

Re: [css-style-attr] SVG WG comments on CSS Styling Attributes Level 1

From: Christoph Päper <christoph.paeper@crissov.de>
Date: Fri, 27 Aug 2010 18:55:19 +0200
Message-Id: <B00C0D64-19D6-4CE2-8D17-0D15953ABB47@crissov.de>
To: "www-style@w3.org list" <www-style@w3.org>
Alex Danilo:
> 
> 	printf("h1 { font-size: %gem }", f);

Don’t use ‘%g’ then, use ‘%f’. Better yet, use (and perhaps first write) some function that guarantees output that is syntactically correct CSS, instead of trying to “fix” the latter.
Received on Friday, 27 August 2010 16:55:56 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 11 February 2015 12:34:40 UTC