Bug 1040386: Fix hopefully-harmless CSS syntax error in isOMTAWorking(). r=birtles

I noticed this in the logs of a B2G emulator mochitest run.
This commit is contained in:
L. David Baron 2014-07-18 21:22:20 -07:00
parent fa91c12073
commit 435b23c776

View File

@ -117,7 +117,7 @@ function runOMTATest(aTestFunction, aOnSkip) {
// Create keyframes rule
const animationName = "a6ce3091ed85"; // Random name to avoid clashes
var ruleText = "@keyframes " + animationName +
" { from { opacity: 0.5 } to { opacity 0.5 } }";
" { from { opacity: 0.5 } to { opacity: 0.5 } }";
var style = document.createElement("style");
style.appendChild(document.createTextNode(ruleText));
document.head.appendChild(style);