Skip to content

Commit d44f24c

Browse files
committed
css/rule: add vendor prefixed at-rules
This changes adds missing vendor at-rules vendor prefixes, which fixes the following parsing error: `failed to parse a source unit file: Unexpected } character: CHAR (line: x, column: t): "}"`
1 parent c0a5b8a commit d44f24c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

css/rule.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ const (
2020

2121
// At Rules than have Rules inside their block instead of Declarations
2222
var atRulesWithRulesBlock = []string{
23-
"@document", "@font-feature-values", "@keyframes", "@media", "@supports",
23+
"@document", "@font-feature-values", "@keyframes", "@media", "@supports", "@-webkit-keyframes", "@-moz-keyframes", "@-o-keyframes",
2424
}
2525

2626
// Selector represents a parsed CSS selector.

0 commit comments

Comments
 (0)