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

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:23 UTC