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

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

From: Håkon Wium Lie <howcome@opera.com>
Date: Sun, 29 Aug 2010 18:13:39 +0200
Message-ID: <19578.34611.727951.908939@gargle.gargle.HOWL>
To: Jeff Schiller <codedread@gmail.com>
Cc: Håkon Wium Lie <howcome@opera.com>, Doug Schepers <schepers@w3.org>, www-style@w3.org, www-svg@w3.org
Also sprach Jeff Schiller:

 > > You're right, it's common in programming languages. But CSS was
 > > explicitly designed to *not* be a programming language. The last words
 > > in the CSS1 Recommendations are:
 >
 > http://www.w3.org/TR/css3-values/#calc

 > width: calc(100%/3 - 2*1em - 2*1px);
 > 
 > Certainly seems like a programming language to me.  Let me check who the
 > editors are on that spec...

:-)

Editor isn't the same as inventor or proponent. I have mixed feelings
about the calc() feature, but it provides useful functionality which
cannot be achieved in other ways.

 > I also buy Tab's argument re: values going between JS and CSS 

JavaScript can also handle other ways of writing numbers (e.g. 0XC56
and 032). Should we add these as well?

-h&kon
              Håkon Wium Lie                          CTO °þe®ª
howcome@opera.com                  http://people.opera.com/howcome
Received on Sunday, 29 August 2010 16:14:16 GMT

This archive was generated by hypermail 2.3.1 : Friday, 8 March 2013 15:54:45 GMT