CSSRule Additions Reference

Availability
Available in Safari 4.0 and later.
Available in iOS 2.0 and later.
Companion guide

Overview

These extensions to the CSSRule class are used to access animation keyframe and keyframes rules.

Constants

Constants
WEBKIT_KEYFRAMES_RULE

Keyframes rule type. Read WebKitCSSKeyframesRule for details.

const unsigned short WEBKIT_KEYFRAMES_RULE = 7;

Safari Note: In Safari 4.0 and later, the value is 8.

Available in Safari 4.0 and later.

Available in iOS 2.0 and later.

WEBKIT_KEYFRAME_RULE

Keyframe rule type. Read WebKitCSSKeyframeRule for details.

const unsigned short WEBKIT_KEYFRAME_RULE = 8;

Safari Note: In Safari 4.0 and later, the value is 9.

Available in Safari 4.0 and later.

Available in iOS 2.0 and later.