Övrigt

Uppdaterad Safari 5.2 till utvecklare

safari_acid

Tillsammans med Montain Lion Developer Preview 3 och Xcode 4.4 Developer Preview 3 skickades Safari 5.2 Update 3 till utvecklare. Den nya versionen av Safari innehåller en hel den nyheter för bland annat till CSS filters, Web Audio API och HTML5.

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 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.
KÄLLA: APPLEINSIDER
Läs mer

Populärt i bubblan idag

Inga inlägg!