Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Because of the prefixes, yes the browser knows which properties to skip. But you were advocating removing prefixes, so I'm wondering how browser are supposed to differentiate between properties?


Eh? Have you ever done, say...

  color: rgb(255, 255, 255);

  color: rgba(255, 255, 255, 0.5);
Browser which do not support rgba simply ignore it and use the rgb() value.


Wait so you want them all to use the same prefix? So you'd have five properties called "filter:" or "background-image:"?

If my gradient looked bad in Mozilla, how on earth would the I know which property to change? They'd seem identical unless I memorized every single browser specific implementation of every CSS property.


Comments exist, you know.

It's not like we don't have this issue already with different versions of the same engine changing syntax.


Code should be self-documeting. You're proposing we remove something that serves to differentiate between properties in favor of simply adding the exact same information in the form of a comment.


Only where necessary. Where browsers do not disagree, it saves developers time and effort.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: