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

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