Edit test to ensure opacity at 50% in keyframes (#14390)

pull/15681/merge
Manish Giri 2017-07-25 21:37:24 -04:00 committed by Heather K
parent b3e0d96b7c
commit 880f092a3f
1 changed files with 1 additions and 1 deletions

View File

@ -2195,7 +2195,7 @@
"<div id=\"ball\"></div>"
],
"tests": [
"assert(code.match(/opacity:\\s*?0?\\.1;/gi), 'message: The <code>keyframes</code> rule for fade should set the <code>opacity</code> property to 0.1 at 50%.');"
"assert(code.match(/@keyframes fade\\s*?{\\s*?50%\\s*?{\\s*?(?:left:\\s*?60%;\\s*?opacity:\\s*?0?\\.1;|opacity:\\s*?0?\\.1;\\s*?left:\\s*?60%;)/gi), 'message: The <code>keyframes</code> rule for fade should set the <code>opacity</code> property to 0.1 at 50%.');"
],
"solutions": [],
"hints": [],