I've just upgraded to Safari 3.1 and I'm trying to catalogue the list of available functionality.
I'm certain this upgrade is driven by the announcement of the SDK for the iPhone, because in the demos showing that web development has been upgraded, it shows how features can be exploited on an iPhone - but as developers on our Macs, Safari 3 didn't support most of these features...yet.
Book nowModern Universal React with Next.js
Stop worrying about configuration, and complex codebases: Next.js makes SSR with React easy. Book your masterclass today.
Here's a list of the main features I've found to be now working in Safari 3.1 and previously weren't available on Safari 3.0.
- Client side database storage
- CSS Transformations
- CSS Animations
- HTML5 Media support
- querySelector and querySelectorAll support†
- Native getElementsByClassName support
- Downloadable fonts
† I've asked John whether jQuery will sniff for this functionality in the find method - which would be a massive boost to the selectors...whether it's easy or not is another matter.
The inspector has also been upgraded to edit CSS styles (thanks Mark for the correction) - and it includes the fonts downloaded and the local database stored values.
Finally, though Safari 3.1 is not the latest version of WebKit (obviously), it's definitely moving closer towards 100% on the Acid 3 test. Here's the current stats:
- Safari 3.0 - 38/100
- Safari 3.1 - 74/100
- WebKit - 93/100