3 ms·
Finally, somebody implemented border-radius without throwing a prefix in front of it. I get tired of all the -moz and -wekit prefixes.
by oneplusone 17y ago
Finally, somebody implemented border-radius without throwing a prefix in front of it. I get tired of all the -moz and -wekit prefixes.
- ugh 17y agoI think Opera beat them to it.
- rimantas 17y agoThey did. Opera has this since Presto 2.3 (Opera 10.50 comes with 2.5)
- armandososa 17y agoDoes this mean that webkit and mozilla are going to drop the prefix? What's the point of the prefixes to begin with?
- smackfu 17y agoBecause you get yelled at for doing a blink tag, but it's fine to do a moz-blink tag. The problem is when browser #2 wants to implement blink. They shouldn't use your prefix, so they now have webkit-blink. And the HTML writer now needs to sniff the browser. Progress?
- gjm11 17y agoThese are CSS properties, not HTML elements. There is no need to sniff; you just provide multiple properties. p.wibble { -moz-blink: slowly; -webkit-blink: 10%; -ie9-blink: "Microsoft.XML.Autocompositor(alpha=99,blinkrate=14692,emulate-old-ie-versions=false,true,true,false)#ie9" } or whatever. (In practice everyone who provides these properties does so in a very similar manner, so it's easier than the above pseudosnippet suggests.)
- youngian 17y agoThe point is that those things are/were still in "draft" specification and so it's asking for trouble to implement them in a way that will prevent changes to the final spec. I'm sure once the standards are finalized the prefixes will be dropped (or really, deprecated).
- thwarted 17y agoI suppose you hate namespaces in your code too? The vendor specific prefixes allow a playground for vendors to define and test things their own way without setting expectations for things that are not standardized, are being standardized, or have not even been conceived of yet. It's like the X- prefix on mail and HTTP headers.
- scotty79 17y agoms demo of border radius works in Chrome as well