Affiliate Disclosure
If you buy through our links, we may get a commission. Read our ethics policy.

Apple seeds Safari 5.2 Update 3 to developers

Following the release of OS X Mountain Lion Developer Preview 3, Apple has seeded Safari 5.2 Update 3 that carries a few new features and bug fixes.

Among the usual bug fixes, Safari 5.2 Update 3 comes with a new scalable vector graphics filter, redesigned Web Inspector and HTML5 media controllers. Also included are CSS filters, Web Audio API and HTML5 timed tracks.

From the release notes:

SVG Filters

Using SVG Filters, you can combine several filter primitive elements and light source elements into a single sophisticated filter, which can then be applied to any SVG element.

HTML Assets

An HTML5 media controller can synchronize or otherwise coordinate the playback of multiple HTML5 media elements. For instance, you could use a media controller to overlay a sign language interpretation track over a video track, and keep the two in sync.

A media controller has the same methods and events as an HTML media element. This means that, for example, when you call the pause() method on a controller, any

media that is slaved to that controller will be paused. Or, when a controller receives a canplaythrough event, all media slaved to that controller can be played through to the end without buffering.

HTML5 timed text tracks enable captions, subtitles, descriptions, and chapters by letting you specify the timing of text that appears with an HTML5 video element.

CSS Filters

CSS filters let you apply pixel effects to any image or web page element with a single line of code. Available filter functions include sepia, hue-rotate, saturate, invert, opacity, brightness, contrast, blur, grayscale, and drop-shadow. Filters can be combined, and changes to the filter property can be animated with CSS transitions or animations.

Web Inspector

The Web Inspector has a streamlined new design that speeds up common development tasks. It features a new all new iconography, a navigation bar that lets you easily switch between different web page elements, a persistent JavaScript console, integrated timelines, and more. Additionally, JavaScript debugging is now enabled by default, and the page source view now opens in the Web Inspector automatically.

Web Inspector

Web Audio API

The Web Audio API is a high-level JavaScript API for processing and synthesizing audio in web applications. While the HTML5 audio element allows for basic streaming and audio playback, the Web Audio API is powerful enough for more complex audio applications that require mixing, processing, or filtering audio data, such as a modern game audio engine or an interactive audio production application.