Skip to content

Commit 371174f

Browse files
committed
Don't add space for keyframe rule after '{' and before '}'
Match `StyleRule#cssText` behavior. Fixes NV#41
1 parent 2abba82 commit 371174f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/CSSKeyframeRule.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ CSSOM.CSSKeyframeRule.prototype.type = 9;
2626

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

3232

0 commit comments

Comments
 (0)