[css-d] Role of Pre-processors

2014-05-09 Thread Andrew C. Johnston
Eric:

Well, I am just thinking theoretically, but the standards refrain is, everyone 
should meet the standards. And so css says, the code 'corners: rounded' or 
'corners: spiked' is valid. But then the browsers fail to comply. They need it 
to be, 'mozilla-corners: rounded', and then there are 8 varieations.

And I wonder, why does the language not have the ability to internalize that, 
or can the language itself negotiate a successful result, given this imperfect 
reality.

Pre-processors may well have other value, but is this negotiation a function 
that should be done by them? We already have a lack of standardization, so I 
personally am not thrilled with this extra layer of complication on an already 
difficult process, but given the potential I would assume they are here to stay.

Rgrds,

Andrew


Andrew,

I'm not following what you mean by this -

Why can't there be a code for all browsers, to do something like transparency
or rounded corners.

Are you talking about something outside of CSS? Something else maybe?

Eric
__
css-discuss [css-d@lists.css-discuss.org]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/


Re: [css-d] Role of Pre-processors

2014-05-09 Thread Tim Climis
There is standardization.  

On Friday, May 09, 2014 09:15:46 AM Andrew C. Johnston wrote:
 Eric:
 
 Well, I am just thinking theoretically, but the standards refrain is,
 everyone should meet the standards. And so css says, the code 'corners:
 rounded' or 'corners: spiked' is valid. But then the browsers fail to
 comply. They need it to be, 'mozilla-corners: rounded', and then there are
 8 varieations.
 
 And I wonder, why does the language not have the ability to internalize
 that, or can the language itself negotiate a successful result, given this
 imperfect reality.

The language is interpreted by the browsers.  The language does only have a 
single 
method for rounded corners: border-radius.

The problem is that border-radius didn't come into existence until 2009 (It may 
have been 
earlier, but the draft spec lists changes since the December 17, 2009 candidate 
recommendation).  Browsers are older than 2009. IE8, for instance was released 
in March 
2009.  Because the browser predates border radius, it has no support for it.  
It couldn't.  
There was no such thing.

And since, in 2009, border-radius was part of a candidate recommendation, that 
means 
that its potential behaviors were being hashed out.  While a new feature is 
being figured 
out, browsers put a test implementation in with the - prefix (-ie-, -moz-, 
-webkit-, etc.).  
Later, once the community has all agreed on how the property should act, the 
browsers 
implement the feature without the prefix (as was the case in IE9).

The problem is not lack of standardization.  The problem is that developers 
want to use 
properties that technically aren't part of the standard yet.

---Tim

 
 Pre-processors may well have other value, but is this negotiation a function
 that should be done by them? We already have a lack of standardization, so
 I personally am not thrilled with this extra layer of complication on an
 already difficult process, but given the potential I would assume they are
 here to stay.
 
 Rgrds,
 
 Andrew
 
 
 Andrew,
 
 I'm not following what you mean by this -
 
 Why can't there be a code for all browsers, to do something like
 transparency or rounded corners.
 
 Are you talking about something outside of CSS? Something else maybe?
 
 Eric
 __
 css-discuss [css-d@lists.css-discuss.org]
 http://www.css-discuss.org/mailman/listinfo/css-d
 List wiki/FAQ -- http://css-discuss.incutio.com/
 List policies -- http://css-discuss.org/policies.html
 Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

__
css-discuss [css-d@lists.css-discuss.org]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/