Skip to content

Commit c1718dc

Browse files
committed
Flush CSSStyleDeclaration#_importans on setting CSSStyleDeclaration#cssText
1 parent 39d0b06 commit c1718dc

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

lib/CSSStyleDeclaration.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,7 @@ CSSOM.CSSStyleDeclaration.prototype = {
130130
this[name] = "";
131131
}
132132
Array.prototype.splice.call(this, 0, this.length);
133+
this._importants = {};
133134

134135
var dummyRule = CSSOM.parse('#bogus{' + cssText + '}').cssRules[0].style;
135136
var length = dummyRule.length;

0 commit comments

Comments
 (0)