fix for broken paren matching in @keyframes rules

This commit is contained in:
nightwing 2011-12-04 20:40:46 +04:00
commit ba334cae71
2 changed files with 26 additions and 1 deletions

View file

@ -3,3 +3,28 @@
font-size: 12px; font-size: 12px;
cursor: text; cursor: text;
} }
.blinker {
animation-duration: 1s;
animation-name: blink;
animation-iteration-count: infinite;
nimation-direction: alternate;
animation-timing-function: linear;
}
@keyframes blink {
0% {
opacity: 0;
}
40% {
opacity: 0;
}
40.5% {
opacity: 1
}
100% {
opacity: 1
}
}

View file

@ -266,7 +266,7 @@ var CssHighlightRules = function() {
next: "ruleset" next: "ruleset"
}, { }, {
token: "string", token: "string",
regex: "@media.*?{", regex: "@.*?{",
next: "media" next: "media"
},{ },{
token: "keyword", token: "keyword",