Safari Developer Library

Developer

Safari DOM Additions Reference

Safari DOM Additions Reference

Classes   Other Reference  

This covers miscellaneous DOM extensions used by Safari on OS X and iOS. These extensions include DOM touch events for processing gestures for devices that have a touch screen and visual effects that support 2D and 3D transforms, animation, and transitions. Most of the classes described in this reference are Apple extensions that may also be proposed W3C standards.

If you want to read the WebKit W3C proposals then go to: http://www.webkit.org/specs.

Classes

CSSRule Additions

Defines additions to the CSSRule class for animation.

DeviceMotionEvent

Encapsulates a device's rotation rate, and acceleration.

DeviceOrientationEvent

Encapsulates a device's angles of rotation.

Document Additions

Describes the Document class.

DOMApplicationCache

Used to store resources locally.

DOMWindow Additions

Describes the additions to DOMWindow.

Element Additions

Describes additions to the Element class.

GestureEvent

Encapsulates information about a multi-touch gesture.

HTMLAudioElement

Represents the HTML audio element that plays a sound or audio stream in a webpage.

HTMLMediaElement

Describes an abstract superclass for media classes that display audio or video in webpages.

HTMLVideoElement

Represents the HTML video element that plays a video or movie in a webpage.

StyleMedia

Provides a way to evaluate CSS media queries from JavaScript.

Touch

Represents a single touch on the surface.

TouchEvent

Encapsulates information about a touch event.

TouchList

Used to represent a collection of Touch objects.

WebKitAnimationEvent

Encapsulate information about running animations in webpages.

WebKitCSSKeyframeRule

Represents the style rule for a single keyframe in the a -webkit-keyframes CSS rule.

WebKitCSSKeyframesRule

Represents the keyframes for a single animation, that is, the contents of an -webkit-keyframes CSS rule.

WebKitCSSMatrix

Represents a 4x4 homogeneous matrix for 3D transforms or a vector for 2D transforms.

WebKitCSSTransformValue

Represent one transform function in a CSS transform property.

WebKitPoint

Represent a point in two-dimensional space used by transitions.

WebKitTransitionEvent

Provides information about CSS transitions.

Other Reference

Safari Web Content Guide

Safari CSS Visual Effects Guide

Safari Client-Side Storage and Offline Applications Programming Guide

WebKit DOM Programming Topics