log

February 25, 2009

Safari 4

Some lovin’ and hatin’ for the Safari 4 beta today. This is just a cursory inspection from consumer and developer angles:

I was surprised to see CSS Animations and CSS Effects mentioned on the Features page — these are Apple CSS specs that (as far as I know) are still exposed in Webkit with the -webkit- prefix. The CSS Working Group site lists these modules as an upcoming working draft (unlinked but available on the w3c dev server). Are they mature enough for use outside of an closed, internal ecosystem? I must admit that I empathise with anyone who tries to get specs through the W3C process.

Speaking of specs in progress, I was delighted to see the Safari site’s written in HTML5 (yes I’m a hypocrit for advocating unfinished specs here and questioning them above, but HTML5 is much more mature). IE demands sacrifice, so the page includes

<script type="text/javascript" charset="utf-8">
	document.createElement("article");
	document.createElement("nav");
	document.createElement("section");
	document.createElement("header");
	document.createElement("aside");
	document.createElement("footer");
</script>

to make non-existent tags be treated as both non-void and styleable. The Safari startup page actually uses the <video> and <audio> tags too, and it sure was freaky to see video without Flash installed.

[Update: eek, the page isn’t valid HTML5. <section>, <header>, <footer> and <nav> are misused. For the <footer> links they’d be better off using a parent UL instead of <h3>s. Not sure what’s triggering the <script> error though.]

posted by Andrew

Leave a Comment

To customize the avatar that appears by your comment, visit Gravatar.com. The trackback URL for this post is here.