News for hackers. Stuff that matters.
Re:"X-" deprecated for HTTP headers by lloeki on Tuesday June 26, 2012 @03:06AM (#4160657)
Not.

How would you handle the case of pre-standard implementations?

Like:

    -webkit-gradient(<type>, <point> [, <radius>]?, <point> [, <radius>]? [, <stop>]*)
vs:

    -moz-linear-gradient([ [ [top | bottom] || [left | right] ],]? <color-stop>[, <color-stop>]+);
which eventually became:

    linear-gradient( [ [ <angle> | to <side-or-corner> ,]? <color-stop> [, <color-stop>]+ )
In CSS, the vendor prefixes are exactly what we need. They help bootstrapping, discussing, and proofing standards by having pre-standard implementations in the wild.

CSS is vastly more complex than HTTP headers which are most of the time, key-value(s).

Re:"X-" deprecated for HTTP headers by regularfry on Tuesday June 26, 2012 @04:09AM (#4160769)
You can have pre-standard implementations without vendor prefixes. Here's an argument against them:

    http://www.quirksmode.org/blog/archives/2010/03/css_vendor_pref.html
And here's some further discussion:

    http://www.quirksmode.org/blog/archives/2010/03/css_vendor_pref_1.html
Personally I think vendor prefixes are an awful hack. We've already got browser-conditional comments in HTML, why not use them? Hell, browser-specific stylesheets would be a better option from where I'm sitting.
Re:"X-" deprecated for HTTP headers by tszming on Tuesday June 26, 2012 @09:59AM (#4161778)
>> We've already got browser-conditional comments in HTML

You mean the `conditional statements` introduced and only used by IE?

http://en.wikipedia.org/wiki/Conditional_comment

Re:"X-" deprecated for HTTP headers by regularfry on Tuesday June 26, 2012 @12:07PM (#4162643)
Yep. It's a better plan than vendor prefixes.

Edited to clarify: I mean that browser-conditional comments should be implemented across browsers, not that we should rely on features already implemented.

Re:"X-" deprecated for HTTP headers by judofyr on Tuesday June 26, 2012 @05:18AM (#4160911)
vender prefixes are broken. What happens if the same vendor wants to implement another version of the same (still experimental) property?

What we need is draft prefixes. WebKit implements one type of gradient? Great, they define a prefix/property (which could be something as simple/silly as -webkit1-gradient), and anyone who implements the same API is free to use the same property name.

Re:"X-" deprecated for HTTP headers by bzbarsky on Tuesday June 26, 2012 @11:40AM (#4162458)
In this particular case, handling the pre-standard implementations would have been trivial because they all have different syntax. So you'd just write them all in there, and the ones that don't apply in the UA in question would just fail to parse and get dropped.