Safari and custom CSS07/03/07Safari and custom CSSLink: http://dev.lipidity.com/apple/iphone-webkit-css-3 Bad, bad, Apple. The above linked blog gives some examples about how Apple's Safari browser achieves it's 'OS X-ish' look in Windows. It does this by way of some Safari specific CSS attributes. These custom attributes allow Safari to do some custom 'rounded OS X-ish' button styles on standard web pages - at least ones that are running in Safari. I really hate when browser developers like Apple or Microsoft do custom stuff like this! Web site developers have a hard enough time making web sites that work in all browsers. When there are tons of custom features that are specific to certain browsers, it just makes things all that more difficult. Get with the program, Apple. Why can't you simply use standard CSS for this stuff rather than yet another non-standard addition! Sheesh. 2 comments
Comment from: oliver [Visitor]
You should possibly have at least googled these properties before deciding Safari was another IE. the -enginename- prefix on properties is the *correct* way to indicate unfinalised properties. Googling "border-image", "border-radius", etc would have taken you directly to the css3 spec. "-webkit-border-image", etc would take you directly to css3.info (as would "-moz-border-radius" -- firefox doesn't appear to support border-image yet :( ) If anything this shows that Safari has a commitment to standards...
07/03/07 @ 17:00
Comment from: oliver [Visitor]
OTOH *all* browsers (including firefox) have a ream of non-standard features, especially in JS (JS being where all the pain happens as there are lots of useful things in all the browsers, even IE -- *shudder* -- but the standardisation process has failed to specify). A great example of a really useful feature in firefox is console.log -- unfortunately it is not specified in any standard, should they remove it because it isn't specified? no -- but remember that means attempting to use it will break a script in *all* other browsers. That great and marvellous canvas tag was originally introduced by Apple in Safari (2?) and is now going to be part of html5 and is already supported by Firefox and Opera. So occasionally non-standard features lead to good standardised features (eg. canvas) or at least should be (why doesn't safari have console.log? :( ). Nowadays CSS has the -engine- prefix to further help designers distinguish standardised features from non-standardised ones
07/03/07 @ 17:18
|