mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-12 04:45:45 +00:00
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:
parent
374118e754
commit
759eebe6d2
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user