Live data from Hacker News

"X-" deprecated for HTTP headers

tools.ietf.org

31–39 of 39 posts

Re: "X-" deprecated for HTTP headers

#31
post #12

Earlier quoted context omitted.

Not. How would you handle the case of pre-standard implementations? Like: -webkit-gradient( , [, ]?, [, ]? [, ]*) vs: -moz-linear-gradient([ [ [top | bottom] || [left | right] ],]? [, ]+); which eventually became: linear-gradient( [ [ | to ,]? [, ]+ ) 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. CS…

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-sp…

>> 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

#34
post #12
post #6

Next stop: CSS vendor prefixes.

Not. How would you handle the case of pre-standard implementations? Like: -webkit-gradient( , [, ]?, [, ]? [, ]*) vs: -moz-linear-gradient([ [ [top | bottom] || [left | right] ],]? [, ]+); which eventually became: linear-gradient( [ [ | to ,]? [, ]+ ) 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. CS…

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.

Re: "X-" deprecated for HTTP headers

#35
post #31

Earlier quoted context omitted.

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-sp…

>> 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

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.

Post reply on HN