зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
374118e754
Коммит
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);
|
||||
|
|
Загрузка…
Ссылка в новой задаче