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

@ -2,4 +2,29 @@
font-family: Monaco, "Courier New", monospace;
font-size: 12px;
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"
}, {
token: "string",
regex: "@media.*?{",
regex: "@.*?{",
next: "media"
},{
token: "keyword",