3 ms·
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
by Permit 14y ago
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?
- TazeTSchnitzel 14y agoEh? 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.
- Permit 14y agoWait 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.
- TazeTSchnitzel 14y agoComments exist, you know. It's not like we don't have this issue already with different versions of the same engine changing syntax.
- Permit 14y agoCode 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.
- TazeTSchnitzel 14y agoOnly where necessary. Where browsers do not disagree, it saves developers time and effort.