Sha256: 9e4a56b8160768cf2a8eef9e33c461f181ff2e0a7d3fa30770caeae15f3b56cc

Contents?: true

Size: 1017 Bytes

Versions: 22

Compression:

Stored size: 1017 Bytes

Contents

//.CommonJS
var CSSOM = {
	CSSRule: require("./CSSRule").CSSRule,
	CSSStyleDeclaration: require('./CSSStyleDeclaration').CSSStyleDeclaration
};
///CommonJS


/**
 * @constructor
 * @see http://www.w3.org/TR/css3-animations/#DOM-CSSKeyframeRule
 */
CSSOM.CSSKeyframeRule = function CSSKeyframeRule() {
	this.keyText = '';
	this.style = new CSSOM.CSSStyleDeclaration;
};

CSSOM.CSSKeyframeRule.prototype = new CSSOM.CSSRule;
CSSOM.CSSKeyframeRule.prototype.constructor = CSSOM.CSSKeyframeRule;
CSSOM.CSSKeyframeRule.prototype.type = 9;
//FIXME
//CSSOM.CSSKeyframeRule.prototype.insertRule = CSSStyleSheet.prototype.insertRule;
//CSSOM.CSSKeyframeRule.prototype.deleteRule = CSSStyleSheet.prototype.deleteRule;

// http://www.opensource.apple.com/source/WebCore/WebCore-955.66.1/css/WebKitCSSKeyframeRule.cpp
CSSOM.CSSKeyframeRule.prototype.__defineGetter__("cssText", function() {
	return this.keyText + " { " + this.style.cssText + " } ";
});


//.CommonJS
exports.CSSKeyframeRule = CSSOM.CSSKeyframeRule;
///CommonJS

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
stylus-source-0.23.0 vendor/node_modules/cssom/lib/CSSKeyframeRule.js
stylus-source-0.22.6 vendor/node_modules/cssom/lib/CSSKeyframeRule.js
stylus-source-0.22.5 vendor/node_modules/cssom/lib/CSSKeyframeRule.js
stylus-source-0.22.4 vendor/node_modules/cssom/lib/CSSKeyframeRule.js
stylus-source-0.22.3 vendor/node_modules/cssom/lib/CSSKeyframeRule.js
stylus-source-0.22.2 vendor/node_modules/cssom/lib/CSSKeyframeRule.js
stylus-source-0.22.1 vendor/node_modules/cssom/lib/CSSKeyframeRule.js
stylus-source-0.22.0 vendor/node_modules/cssom/lib/CSSKeyframeRule.js
stylus-source-0.21.2 vendor/node_modules/cssom/lib/CSSKeyframeRule.js
stylus-source-0.21.1 vendor/node_modules/cssom/lib/CSSKeyframeRule.js
stylus-source-0.21.0 vendor/node_modules/cssom/lib/CSSKeyframeRule.js
stylus-source-0.20.1 vendor/node_modules/cssom/lib/CSSKeyframeRule.js
stylus-source-0.20.0 vendor/node_modules/cssom/lib/CSSKeyframeRule.js
stylus-source-0.19.8 vendor/node_modules/cssom/lib/CSSKeyframeRule.js
stylus-source-0.19.7 vendor/node_modules/cssom/lib/CSSKeyframeRule.js
stylus-source-0.19.6 vendor/node_modules/cssom/lib/CSSKeyframeRule.js
stylus-source-0.19.5 vendor/node_modules/cssom/lib/CSSKeyframeRule.js
stylus-source-0.19.4 vendor/node_modules/cssom/lib/CSSKeyframeRule.js
stylus-source-0.19.3 vendor/node_modules/cssom/lib/CSSKeyframeRule.js
stylus-source-0.19.2 vendor/node_modules/cssom/lib/CSSKeyframeRule.js