We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0dc20e7 commit 2d6e23bCopy full SHA for 2d6e23b
lib/CSSStyleDeclaration.js
@@ -123,7 +123,7 @@ CSSOM.CSSStyleDeclaration.prototype = {
123
return properties.join(" ");
124
},
125
126
- set cssText(cssText){
+ set cssText(text){
127
var i, name;
128
for (i = this.length; i--;) {
129
name = this[i];
@@ -132,7 +132,7 @@ CSSOM.CSSStyleDeclaration.prototype = {
132
Array.prototype.splice.call(this, 0, this.length);
133
this._importants = {};
134
135
- var dummyRule = CSSOM.parse('#bogus{' + cssText + '}').cssRules[0].style;
+ var dummyRule = CSSOM.parse('#bogus{' + text + '}').cssRules[0].style;
136
var length = dummyRule.length;
137
for (i = 0; i < length; ++i) {
138
name = dummyRule[i];
0 commit comments