4 ms·
If you do that then if two browsers implement a new property incompatibly it becomes impossible to write a site that works in both (see gradients, where the "fu
by lmm 15y ago
If you do that then if two browsers implement a new property incompatibly it becomes impossible to write a site that works in both (see gradients, where the "function call" syntax is different in different browsers).
- Yaggo 15y agoThe browser can still ignore a property if its value cannot be fully parsed (e.g. invalid gradient syntax).
- lmm 15y agoYes, my point is at the moment I can set -moz-gradient and -webkit-gradient (or whatever the actual property name is) using the different syntax for each, and have my page work in both.
- Zarel 15y agoWhat about one common prefix in addition to vendor prefixes? Then you could write "-x-border-radius: 2px" in the majority of times where the property was compatible, but you'd still be able to write "-webkit-border-radius: 2px 4px; -moz-border-radius: 4px 2px" where it's implemented differently.